SMAER14000_심혈관센터기록관리.xrw 255 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <ordlist1>
  11. <mainordlist>
  12. <cnfmyn/>
  13. <physicn3/>
  14. <pid/>
  15. <patnm/>
  16. <sex/>
  17. <age/>
  18. <prcpgenrflag/>
  19. <rrgstno/>
  20. <rrgstno1/>
  21. <rrgstno2/>
  22. <chostm/>
  23. <outrmtm/>
  24. <wardcd/>
  25. <roomcd/>
  26. <dschdclrdt/>
  27. <dschdd/>
  28. <inptindd/>
  29. <inptcretno/>
  30. <orddeptcd/>
  31. <orddeptnm/>
  32. <orddd/>
  33. <orddrid/>
  34. <orddrnm/>
  35. <prcpdd/>
  36. <cretno/>
  37. <actorddd/>
  38. <actcretno/>
  39. <execprcpstatcd/>
  40. <excuroomcd/>
  41. <execrid/>
  42. <execprcpuniqno/>
  43. <rsrvdd/>
  44. <srchrsrvtm/>
  45. </mainordlist>
  46. <examhistorylist>
  47. <wrtedd/>
  48. <examkindnm/>
  49. <studynm/>
  50. <pid/>
  51. <prcpdd/>
  52. <execprcpuniqno/>
  53. <grupcd/>
  54. <seq/>
  55. <suppdeptcd/>
  56. <prcpgenrflag/>
  57. <wrtetm/>
  58. <orddd/>
  59. <cretno/>
  60. </examhistorylist>
  61. </ordlist1>
  62. <ordlist2>
  63. <procedurlist>
  64. <partgrupcd/>
  65. <partcd/>
  66. <partdetlcd/>
  67. <basecdflagdesc/>
  68. <basecdcnts/>
  69. <choi1/>
  70. <choi2/>
  71. <choi3/>
  72. <sortno/>
  73. </procedurlist>
  74. <stafflist>
  75. <partgrupcd/>
  76. <partcd/>
  77. <partdetlcd/>
  78. <basecdflagdesc/>
  79. <basecdcnts/>
  80. <choi1/>
  81. <choi2/>
  82. <choi3/>
  83. <sortno/>
  84. </stafflist>
  85. <sheathlist>
  86. <partgrupcd/>
  87. <partcd/>
  88. <partdetlcd/>
  89. <basecdflagdesc/>
  90. <basecdcnts/>
  91. <choi1/>
  92. <choi2/>
  93. <choi3/>
  94. <sortno/>
  95. </sheathlist>
  96. <medicationlist>
  97. <partgrupcd/>
  98. <partcd/>
  99. <partdetlcd/>
  100. <basecdflagdesc/>
  101. <basecdcnts/>
  102. <choi1/>
  103. <choi2/>
  104. <choi3/>
  105. <sortno/>
  106. </medicationlist>
  107. </ordlist2>
  108. <lvmdlcdlist>
  109. <list>
  110. <basecdflagdesc/>
  111. <basesuppdeptcd/>
  112. <basecd/>
  113. <basecdcnts/>
  114. <sortno/>
  115. </list>
  116. </lvmdlcdlist>
  117. <lvsmlcdlist>
  118. <partdetlcd>
  119. <basecdcnts/>
  120. <choi1/>
  121. <choi2/>
  122. <choi3/>
  123. <basecdflagdesc/>
  124. <suppdeptcd/>
  125. <partgrupcd/>
  126. <partcd/>
  127. <partdetlcd/>
  128. <sortno/>
  129. </partdetlcd>
  130. </lvsmlcdlist>
  131. <angioep>
  132. <pid/>
  133. <prcpdd/>
  134. <execprcpuniqno/>
  135. <orddd/>
  136. <cretno/>
  137. <grupcd>ANGIO</grupcd>
  138. <seq/>
  139. <suppdeptcd/>
  140. <prcpgenrflag/>
  141. <studycd/>
  142. <studynm/>
  143. <diagcd/>
  144. <diagnm/>
  145. <examkindcd/>
  146. <examkindnm/>
  147. <erinrmtm>0000</erinrmtm>
  148. <eroutrmtm>0000</eroutrmtm>
  149. <puncturetm>0000</puncturetm>
  150. <fstballoontm>0000</fstballoontm>
  151. <doortoballoontm>0000</doortoballoontm>
  152. <delyresn/>
  153. <wrtedd/>
  154. <wrtetm>0000</wrtetm>
  155. <goodclass/>
  156. <wrtecnts/>
  157. <cnfmyn/>
  158. <physicn1/>
  159. <physicn2/>
  160. <physicn3/>
  161. <fluorotm/>
  162. <contrst/>
  163. <ergtst/>
  164. <therapy/>
  165. <hemostsis/>
  166. <cmpnycd/>
  167. <chk1/>
  168. <chk2/>
  169. <chk3/>
  170. <chk4/>
  171. <chk5/>
  172. <chk6/>
  173. <chk7/>
  174. <chk8/>
  175. <chk9/>
  176. <chk10/>
  177. <chk11/>
  178. <chk12/>
  179. <chk13/>
  180. <chk14/>
  181. <chk15/>
  182. <chk16/>
  183. <chk17/>
  184. <chk18/>
  185. </angioep>
  186. <cath>
  187. <pid/>
  188. <prcpdd/>
  189. <execprcpuniqno/>
  190. <orddd/>
  191. <cretno/>
  192. <grupcd>CATH</grupcd>
  193. <seq/>
  194. <suppdeptcd/>
  195. <prcpgenrflag/>
  196. <studycd/>
  197. <studynm/>
  198. <diagcd/>
  199. <diagnm/>
  200. <examkindcd/>
  201. <examkindnm/>
  202. <erinrmtm>0000</erinrmtm>
  203. <eroutrmtm>0000</eroutrmtm>
  204. <puncturetm>0000</puncturetm>
  205. <fstballoontm>0000</fstballoontm>
  206. <doortoballoontm>0000</doortoballoontm>
  207. <delyresn/>
  208. <wrtedd/>
  209. <wrtetm>0000</wrtetm>
  210. <goodclass/>
  211. <wrtecnts/>
  212. <cnfmyn/>
  213. <physicn1/>
  214. <physicn2/>
  215. <physicn3/>
  216. <fluorotm/>
  217. <contrst/>
  218. <ergtst/>
  219. <therapy/>
  220. <hemostsis/>
  221. <cmpnycd/>
  222. <chk1/>
  223. <chk2/>
  224. <chk3/>
  225. <chk4/>
  226. <chk5/>
  227. <chk6/>
  228. <chk7/>
  229. <chk8/>
  230. <chk9/>
  231. <chk10/>
  232. <chk11/>
  233. <chk12/>
  234. <chk13/>
  235. <chk14/>
  236. <chk15/>
  237. <chk16/>
  238. <chk17/>
  239. <chk18/>
  240. </cath>
  241. <ep>
  242. <pid/>
  243. <prcpdd/>
  244. <execprcpuniqno/>
  245. <orddd/>
  246. <cretno/>
  247. <grupcd>EP</grupcd>
  248. <seq/>
  249. <suppdeptcd/>
  250. <prcpgenrflag/>
  251. <studycd/>
  252. <studynm/>
  253. <diagcd/>
  254. <diagnm/>
  255. <examkindcd/>
  256. <examkindnm/>
  257. <erinrmtm>0000</erinrmtm>
  258. <eroutrmtm>0000</eroutrmtm>
  259. <puncturetm>0000</puncturetm>
  260. <fstballoontm>0000</fstballoontm>
  261. <doortoballoontm>0000</doortoballoontm>
  262. <delyresn/>
  263. <wrtedd/>
  264. <wrtetm>0000</wrtetm>
  265. <goodclass/>
  266. <wrtecnts/>
  267. <cnfmyn/>
  268. <physicn1/>
  269. <physicn2/>
  270. <physicn3/>
  271. <fluorotm/>
  272. <contrst/>
  273. <ergtst/>
  274. <therapy/>
  275. <hemostsis/>
  276. <cmpnycd/>
  277. <chk1/>
  278. <chk2/>
  279. <chk3/>
  280. <chk4/>
  281. <chk5/>
  282. <chk6/>
  283. <chk7/>
  284. <chk8/>
  285. <chk9/>
  286. <chk10/>
  287. <chk11/>
  288. <chk12/>
  289. <chk13/>
  290. <chk14/>
  291. <chk15/>
  292. <chk16/>
  293. <chk17/>
  294. <chk18/>
  295. </ep>
  296. <pm>
  297. <pid/>
  298. <prcpdd/>
  299. <execprcpuniqno/>
  300. <orddd/>
  301. <cretno/>
  302. <grupcd>PM</grupcd>
  303. <seq/>
  304. <suppdeptcd/>
  305. <prcpgenrflag/>
  306. <studycd/>
  307. <studynm/>
  308. <diagcd/>
  309. <diagnm/>
  310. <examkindcd/>
  311. <examkindnm/>
  312. <erinrmtm>0000</erinrmtm>
  313. <eroutrmtm>0000</eroutrmtm>
  314. <puncturetm>0000</puncturetm>
  315. <fstballoontm>0000</fstballoontm>
  316. <doortoballoontm>0000</doortoballoontm>
  317. <delyresn/>
  318. <wrtedd/>
  319. <wrtetm>0000</wrtetm>
  320. <goodclass/>
  321. <wrtecnts/>
  322. <cnfmyn/>
  323. <physicn1/>
  324. <physicn2/>
  325. <physicn3/>
  326. <fluorotm/>
  327. <contrst/>
  328. <ergtst/>
  329. <therapy/>
  330. <hemostsis/>
  331. <cmpnycd/>
  332. <chk1/>
  333. <chk2/>
  334. <chk3/>
  335. <chk4/>
  336. <chk5/>
  337. <chk6/>
  338. <chk7/>
  339. <chk8/>
  340. <chk9/>
  341. <chk10/>
  342. <chk11/>
  343. <chk12/>
  344. <chk13/>
  345. <chk14/>
  346. <chk15/>
  347. <chk16/>
  348. <chk17/>
  349. <chk18/>
  350. </pm>
  351. <historylist>
  352. <angiohistory>
  353. <pid/>
  354. <prcpdd/>
  355. <execprcpuniqno/>
  356. <orddd/>
  357. <cretno/>
  358. <grupcd/>
  359. <seq/>
  360. <suppdeptcd/>
  361. <prcpgenrflag/>
  362. <studycd/>
  363. <studynm/>
  364. <diagcd/>
  365. <diagnm/>
  366. <examkindcd/>
  367. <examkindnm/>
  368. <erinrmtm/>
  369. <eroutrmtm/>
  370. <puncturetm/>
  371. <fstballoontm/>
  372. <minfstballoontm/>
  373. <doortoballoontm/>
  374. <delyresn/>
  375. <wrtedd/>
  376. <wrtetm/>
  377. <goodclass/>
  378. <wrtecnts/>
  379. <arrhythmiacd1/>
  380. <arrhythmiacd2/>
  381. <arrhythmiacd3/>
  382. <tcl/>
  383. <drugkindcd/>
  384. <drugmthdcd/>
  385. <drugqty/>
  386. <totdrugqty/>
  387. <stndunit/>
  388. <wrteyn/>
  389. <ablationcnt/>
  390. <ablationtm/>
  391. <ablationavg/>
  392. <signno/>
  393. <cnfmyn/>
  394. <physicn1/>
  395. <physicn2/>
  396. <physicn3/>
  397. <ergtst/>
  398. <therapy/>
  399. <hemostsis/>
  400. <cmpnycd/>
  401. <fluorotm/>
  402. <contrst/>
  403. <chk1/>
  404. <chk2/>
  405. <chk3/>
  406. <chk4/>
  407. <chk5/>
  408. <chk6/>
  409. <chk7/>
  410. <chk8/>
  411. <chk9/>
  412. <chk10/>
  413. <chk11/>
  414. <chk12/>
  415. <chk13/>
  416. <chk14/>
  417. <chk15/>
  418. <chk16/>
  419. <chk17/>
  420. <chk18/>
  421. </angiohistory>
  422. <cathhistory>
  423. <pid/>
  424. <prcpdd/>
  425. <execprcpuniqno/>
  426. <orddd/>
  427. <cretno/>
  428. <grupcd/>
  429. <seq/>
  430. <suppdeptcd/>
  431. <prcpgenrflag/>
  432. <studycd/>
  433. <studynm/>
  434. <diagcd/>
  435. <diagnm/>
  436. <examkindcd/>
  437. <examkindnm/>
  438. <erinrmtm/>
  439. <eroutrmtm/>
  440. <puncturetm/>
  441. <fstballoontm/>
  442. <minfstballoontm/>
  443. <doortoballoontm/>
  444. <delyresn/>
  445. <wrtedd/>
  446. <wrtetm/>
  447. <goodclass/>
  448. <wrtecnts/>
  449. <arrhythmiacd1/>
  450. <arrhythmiacd2/>
  451. <arrhythmiacd3/>
  452. <tcl/>
  453. <drugkindcd/>
  454. <drugmthdcd/>
  455. <drugqty/>
  456. <totdrugqty/>
  457. <stndunit/>
  458. <wrteyn/>
  459. <ablationcnt/>
  460. <ablationtm/>
  461. <ablationavg/>
  462. <signno/>
  463. <cnfmyn/>
  464. <physicn1/>
  465. <physicn2/>
  466. <physicn3/>
  467. <ergtst/>
  468. <therapy/>
  469. <hemostsis/>
  470. <cmpnycd/>
  471. <fluorotm/>
  472. <contrst/>
  473. <chk1/>
  474. <chk2/>
  475. <chk3/>
  476. <chk4/>
  477. <chk5/>
  478. <chk6/>
  479. <chk7/>
  480. <chk8/>
  481. <chk9/>
  482. <chk10/>
  483. <chk11/>
  484. <chk12/>
  485. <chk13/>
  486. <chk14/>
  487. <chk15/>
  488. <chk16/>
  489. <chk17/>
  490. <chk18/>
  491. </cathhistory>
  492. <ephistory>
  493. <pid/>
  494. <prcpdd/>
  495. <execprcpuniqno/>
  496. <orddd/>
  497. <cretno/>
  498. <grupcd/>
  499. <seq/>
  500. <suppdeptcd/>
  501. <prcpgenrflag/>
  502. <studycd/>
  503. <studynm/>
  504. <diagcd/>
  505. <diagnm/>
  506. <examkindcd/>
  507. <examkindnm/>
  508. <erinrmtm/>
  509. <eroutrmtm/>
  510. <puncturetm/>
  511. <fstballoontm/>
  512. <minfstballoontm/>
  513. <doortoballoontm/>
  514. <delyresn/>
  515. <wrtedd/>
  516. <wrtetm/>
  517. <goodclass/>
  518. <wrtecnts/>
  519. <arrhythmiacd1/>
  520. <arrhythmiacd2/>
  521. <arrhythmiacd3/>
  522. <tcl/>
  523. <drugkindcd/>
  524. <drugmthdcd/>
  525. <drugqty/>
  526. <totdrugqty/>
  527. <stndunit/>
  528. <wrteyn/>
  529. <ablationcnt/>
  530. <ablationtm/>
  531. <ablationavg/>
  532. <signno/>
  533. <cnfmyn/>
  534. <physicn1/>
  535. <physicn2/>
  536. <physicn3/>
  537. <ergtst/>
  538. <therapy/>
  539. <hemostsis/>
  540. <cmpnycd/>
  541. <fluorotm/>
  542. <contrst/>
  543. <chk1/>
  544. <chk2/>
  545. <chk3/>
  546. <chk4/>
  547. <chk5/>
  548. <chk6/>
  549. <chk7/>
  550. <chk8/>
  551. <chk9/>
  552. <chk10/>
  553. <chk11/>
  554. <chk12/>
  555. <chk13/>
  556. <chk14/>
  557. <chk15/>
  558. <chk16/>
  559. <chk17/>
  560. <chk18/>
  561. </ephistory>
  562. <pmhistory>
  563. <pid/>
  564. <prcpdd/>
  565. <execprcpuniqno/>
  566. <orddd/>
  567. <cretno/>
  568. <grupcd/>
  569. <seq/>
  570. <suppdeptcd/>
  571. <prcpgenrflag/>
  572. <studycd/>
  573. <studynm/>
  574. <diagcd/>
  575. <diagnm/>
  576. <examkindcd/>
  577. <examkindnm/>
  578. <erinrmtm/>
  579. <eroutrmtm/>
  580. <puncturetm/>
  581. <fstballoontm/>
  582. <minfstballoontm/>
  583. <doortoballoontm/>
  584. <delyresn/>
  585. <wrtedd/>
  586. <wrtetm/>
  587. <goodclass/>
  588. <wrtecnts/>
  589. <arrhythmiacd1/>
  590. <arrhythmiacd2/>
  591. <arrhythmiacd3/>
  592. <tcl/>
  593. <drugkindcd/>
  594. <drugmthdcd/>
  595. <drugqty/>
  596. <totdrugqty/>
  597. <stndunit/>
  598. <wrteyn/>
  599. <ablationcnt/>
  600. <ablationtm/>
  601. <ablationavg/>
  602. <signno/>
  603. <cnfmyn/>
  604. <physicn1/>
  605. <physicn2/>
  606. <physicn3/>
  607. <ergtst/>
  608. <therapy/>
  609. <hemostsis/>
  610. <cmpnycd/>
  611. <fluorotm/>
  612. <contrst/>
  613. <chk1/>
  614. <chk2/>
  615. <chk3/>
  616. <chk4/>
  617. <chk5/>
  618. <chk6/>
  619. <chk7/>
  620. <chk8/>
  621. <chk9/>
  622. <chk10/>
  623. <chk11/>
  624. <chk12/>
  625. <chk13/>
  626. <chk14/>
  627. <chk15/>
  628. <chk16/>
  629. <chk17/>
  630. <chk18/>
  631. </pmhistory>
  632. </historylist>
  633. </main>
  634. <init>
  635. <cmbinfo>
  636. <examkindlist>
  637. <basecdcnts/>
  638. <basecd/>
  639. <basecdflagdesc/>
  640. </examkindlist>
  641. <studylist>
  642. <basecdcnts/>
  643. <basecd/>
  644. <basecdflagdesc/>
  645. </studylist>
  646. <diaglist>
  647. <basecdcnts/>
  648. <basecd/>
  649. <basecdflagdesc/>
  650. </diaglist>
  651. <examstatlist>
  652. <basecdcnts/>
  653. <basecd/>
  654. <basecdflagdesc/>
  655. </examstatlist>
  656. <contrastlist>
  657. <basecdcnts/>
  658. <basecd/>
  659. <basecdflagdesc/>
  660. </contrastlist>
  661. <operationlist>
  662. <basecdcnts/>
  663. <basecd/>
  664. <basecdflagdesc/>
  665. </operationlist>
  666. <stafflist>
  667. <basecdcnts/>
  668. <basecd/>
  669. <basecdflagdesc/>
  670. </stafflist>
  671. <sheathlist>
  672. <basecdcnts/>
  673. <basecd/>
  674. <basecdflagdesc/>
  675. </sheathlist>
  676. <stjudelist>
  677. <basecdcnts/>
  678. <basecd/>
  679. <basecdflagdesc/>
  680. </stjudelist>
  681. <medicalist>
  682. <basecdcnts/>
  683. <basecd/>
  684. <basecdflagdesc/>
  685. </medicalist>
  686. <arrhythmialist>
  687. <basecdcnts/>
  688. <basecd/>
  689. <basecdflagdesc/>
  690. </arrhythmialist>
  691. <drugkindlist>
  692. <basecdcnts/>
  693. <basecd/>
  694. <basecdflagdesc/>
  695. </drugkindlist>
  696. <drugmthdlist>
  697. <basecdcnts/>
  698. <basecd/>
  699. <basecdflagdesc/>
  700. </drugmthdlist>
  701. <physicnlist>
  702. <basecdcnts/>
  703. <basecd/>
  704. <basecdflagdesc/>
  705. </physicnlist>
  706. <ergtstlist>
  707. <basecdcnts/>
  708. <basecd/>
  709. <basecdflagdesc/>
  710. </ergtstlist>
  711. <therapylist>
  712. <basecdcnts/>
  713. <basecd/>
  714. <basecdflagdesc/>
  715. </therapylist>
  716. <hemostsislist>
  717. <basecdcnts/>
  718. <basecd/>
  719. <basecdflagdesc/>
  720. </hemostsislist>
  721. <cmpnycdlist>
  722. <basecdcnts/>
  723. <basecd/>
  724. <basecdflagdesc/>
  725. </cmpnycdlist>
  726. </cmbinfo>
  727. <basecode>
  728. <ward>
  729. <dept>
  730. <deptcd/>
  731. <depthngnm/>
  732. </dept>
  733. </ward>
  734. </basecode>
  735. </init>
  736. <send>
  737. <srchexamkind/>
  738. <srchfromdd/>
  739. <srchtodd/>
  740. <srchpid/>
  741. <srchhngnm/>
  742. <globalinstance>
  743. <instance1/>
  744. </globalinstance>
  745. <basecdcnts/>
  746. <basecd/>
  747. <tabgubn/>
  748. <req>
  749. <data/>
  750. <choi>
  751. <partgrupcd/>
  752. <partcd/>
  753. </choi>
  754. </req>
  755. <savedata>
  756. </savedata>
  757. <dispnm/>
  758. </send>
  759. <hidden>
  760. <ret/>
  761. <choi/>
  762. <ablationinfo/>
  763. <signdelyn/>
  764. <totdrugqty/>
  765. </hidden>
  766. <temp>
  767. <historylist>
  768. <history/>
  769. </historylist>
  770. </temp>
  771. </root>
  772. </instance>
  773. <script type="javascript" ev:event="xforms-ready">
  774. <![CDATA[
  775. aezfSetSuppDeptcd(); // globalinstance 셋팅하기
  776. var instcd = getUserInfo("dutplceinstcd"); // 기관코드
  777. // 공통정보 처방상태코드, 입원외래구분
  778. //zbcfGetCodeList( new Array("M0011", "M0010"), new Array("/root/init/baseinfo/initexecprcpstatcd", "/root/init/baseinfo/initprcpgenrflagcd") );
  779. //submit("TRZBC00101", false);
  780. // 공통정보 병동리스트
  781. zsdfGetWardDeptList(instcd, '/root/init/basecode/ward', 'depthngnm', 'asc', new Date().getDateFormat("YYYYMMDD"), 'after');
  782. btn_case1.selected = true; // 환자 LIST Tab
  783. model.toggle("case1");
  784. btn_case6.selected = true; // ANGIO Tab
  785. //model.toggle("case6");
  786. model.toggle("case8");
  787. ipt_date1.value = getCurrentDate(); // 적용일자 현재일자 셋팅
  788. //ipt_date1.value = getCurrentDate().toDate().getAddDate(-20, "D").getDateFormat("YYYYMMDD");
  789. ipt_date2.value = getCurrentDate(); // 적용일자 현재일자 셋팅
  790. ipt_wdate.value = getCurrentDate(); // 작성내용 : 작성일자
  791. ipt_agdate.value = getCurrentDate(); // 작성내용 : 작성일자
  792. ipt_cadate.value = getCurrentDate(); // 작성내용 : 작성일자
  793. ipt_epwrte.value = getCurrentDate(); // EP 작성일자(숨겨진항목)
  794. ipt_epwrtetm.value = getCurrentTime(); // EP 작업시간
  795. model.setValue("/root/send/basecdcnts","000"); //마스터 코드 셋팅
  796. model.setValue("/root/send/dispnm","AG"); //ANGIO default로 셋팅
  797. submit("TRAER14003"); // 검사종류등의 마스터로 관리되는 리스트박스 내역 가져오기
  798. //cmb_srchexamkind.select(0);
  799. // 로딩시 기본조건으로 대상LIST 조회
  800. btn_sea.dispatch("DOMActivate");
  801. var auth_id = getUserInfo("userid"); // 개발자만 인증취소버튼 활성화
  802. if ( auth_id == "10406989" || auth_id == "dev009" || auth_id == "AST") {
  803. btn_del2.visible = true;
  804. }
  805. ]]>
  806. </script>
  807. <submission id="TRAAA00001"/>
  808. <submission id="TRZBC00101"/>
  809. <submission id="TRAER14001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmbinfo"/>
  810. <submission id="TRAER14002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ordlist1"/>
  811. <submission id="TRAER14003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmbinfo"/>
  812. <submission id="TRAER14006" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ordlist2"/>
  813. <submission id="TRAER14007" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/lvmdlcdlist"/>
  814. <submission id="TRAER14008" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/lvsmlcdlist"/>
  815. <submission id="TRAER14009" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/historylist"/>
  816. <submission id="TRAER14010" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/choi"/>
  817. <submission id="TRAER14011" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/ablationinfo"/>
  818. <submission id="TRAER14012" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/totdrugqtyinfo"/>
  819. <submission id="TXAEA14001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/ret"/>
  820. <submission id="TXAEA14002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/message"/>
  821. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  822. <submission id="TXAEA14003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden"/>
  823. </model>
  824. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  825. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  826. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  827. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  828. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  829. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  830. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  831. <script type="javascript" src="../../../ast/examcureweb/js/combolist.js"/>
  832. <script type="javascript" src="../../../emr/carecomweb/js/ENRSignEngine.js"/>
  833. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  834. <script type="javascript">
  835. <![CDATA[
  836. /****************************************************************************************************************************************************
  837. * @ 환자 상단정보
  838. *
  839. // 외래환자 parameter 구조 ioflag▦pid▦orddd▦cretno▦instcd▦acptseqno▦orgorddd
  840. // 외래/입원구분▦등록번호▦진료일자▦생성번호▦기관코드▦등록일련번호▦원진료일자▦
  841. // ex) O▦00301165▦20070516▦1▦012▦1▦20070516
  842. //
  843. // 입원환자 parameter 구조 ioflag▦pid▦indd▦cretno▦seqno▦instcd
  844. // 외래/입원구분▦등록번호▦입원일자▦생성번호▦일련번호▦기관코드
  845. // ex) I▦00005726▦20070105▦1▦2▦012
  846. //
  847. // 지원부서 parameter 구조 ioflag▦prcpdd▦execprcpuniqno▦instcd
  848. // 처리구분▦외래/입원구분▦처방일자▦실시부서유일번호▦기관코드
  849. // ex) S▦20070619▦36▦012
  850. //
  851. // 수술환자 parameter 구조 ioflag▦pid▦opcnfmdd▦cretno▦instcd▦perfdeptcd▦perfdrid▦patflag▦procflag
  852. // 외래/입원구분▦등록번호▦수술일자▦생성번호▦기관코드▦집도과▦집도의▦환자구분▦처리구분
  853. *****************************************************************************************************************************************************/
  854. function fTopInfo() {
  855. if ( btn_case1.selected == true ) { //환자 ListTab
  856. var grd = "grd_mainordlist";
  857. var list = "ordlist1" ;
  858. var row_idx = grd_mainordlist.row;
  859. }
  860. var dschdd = model.getValue("/root/main/"+list+"/mainordlist["+ row_idx +"]/dschdd");
  861. var srchdd = "";
  862. //alert("dschdd : " + dschdd);
  863. schk = "N";
  864. if ( model.getValue("/root/main/"+list+"/mainordlist["+ row_idx +"]/prcpgenrflag") =="O" ){
  865. var pat_info = "O▦"+model.getValue("/root/main/"+list+"/mainordlist["+row_idx+"]/pid") +"▦"+model.getValue("/root/main/"+list+"/mainordlist["+row_idx+"]/orddd")+"▦"+model.getValue("/root/main/"+list+"/mainordlist["+row_idx+"]/cretno")+"▦"+getUserInfo("dutplceinstcd")+"▦1▦"+model.getValue("/root/main/"+list+"/mainordlist["+row_idx+"]/orddd");
  866. schk = "Y";
  867. //alert("pat_info : " + pat_info);
  868. }
  869. else if ( model.getValue("/root/main/"+list+"/mainordlist["+ row_idx +"]/prcpgenrflag") =="I" ){
  870. if (dschdd == "" || dschdd == "99991231") {
  871. srchdd = getCurrentDate();
  872. } else {
  873. srchdd = dschdd;
  874. }
  875. var pat_info = "I▦"+ model.getValue("/root/main/"+list+"/mainordlist["+row_idx+"]/pid")
  876. +"▦"+ model.getValue("/root/main/"+list+"/mainordlist["+row_idx+"]/orddd")
  877. +"▦"+ model.getValue("/root/main/"+list+"/mainordlist["+row_idx+"]/cretno")
  878. +"▦"+ getUserInfo("dutplceinstcd")
  879. +"▦"+ srchdd;
  880. schk = "Y";
  881. }
  882. else if ( model.getValue("/root/main/"+list+"/mainordlist["+ row_idx +"]/prcpgenrflag") =="S" ){
  883. var pat_info = "S▦"+ model.getValue("/root/main/"+list+"/mainordlist["+row_idx+"]/prcpdd") +"▦"+model.getValue("/root/main/"+list+"/mainordlist["+row_idx+"]/execprcpuniqno")+"▦"+getUserInfo("dutplceinstcd");
  884. schk = "Y";
  885. }
  886. else if ( model.getValue("/root/main/"+list+"/mainordlist["+ row_idx +"]/prcpgenrflag") =="E" ){
  887. if (dschdd == "" || dschdd == "99991231") {
  888. srchdd = getCurrentDate();
  889. } else {
  890. srchdd = dschdd;
  891. }
  892. var pat_info = "E▦"+ model.getValue("/root/main/"+list+"/mainordlist["+row_idx+"]/pid")
  893. +"▦"+model.getValue("/root/main/"+list+"/mainordlist["+row_idx+"]/inptindd")
  894. +"▦"+model.getValue("/root/main/"+list+"/mainordlist["+row_idx+"]/inptcretno")
  895. +"▦"+getUserInfo("dutplceinstcd")
  896. +"▦"+ srchdd;
  897. schk = "Y";
  898. }
  899. else if ( model.getValue("/root/main/"+list+"/mainordlist["+ row_idx +"]/prcpgenrflag") =="D" ){
  900. if (dschdd == "" || dschdd == "99991231") {
  901. srchdd = getCurrentDate();
  902. } else {
  903. srchdd = dschdd;
  904. }
  905. var pat_info = "I▦"+ model.getValue("/root/main/"+list+"/mainordlist["+row_idx+"]/pid")
  906. +"▦"+ model.getValue("/root/main/"+list+"/mainordlist["+row_idx+"]/orddd")
  907. +"▦"+ model.getValue("/root/main/"+list+"/mainordlist["+row_idx+"]/cretno")
  908. +"▦"+ getUserInfo("dutplceinstcd")
  909. +"▦"+ srchdd;
  910. schk = "Y";
  911. }
  912. if (schk == "Y"){
  913. setParameter("condparam", pat_info);
  914. modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
  915. }
  916. }
  917. /* @group : 화면 초기화작업 및 기본값 셋팅
  918. * @ver : 2009.11.25
  919. * @by : 박상준
  920. * @-----------------------------------
  921. * @type : function
  922. * @access : public
  923. * @desc : 화면 초기화작업 및 기본값 셋팅하기 위한 Function
  924. */
  925. function DefaultSet() {
  926. //2011.10.19 탭추가로 수정
  927. //model.removeNodeset("/root/main/angioep");
  928. model.resetInstanceNode("/root/main/angioep");
  929. model.resetInstanceNode("/root/main/cath");
  930. model.resetInstanceNode("/root/main/ep");
  931. model.resetInstanceNode("/root/main/pm");
  932. // 선택된 처방의 기본정보를 가지고 ANGIO기록 Detail 테이블에 넣을 준비를 한다.
  933. model.setValue("/root/main/angioep/pid", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/pid") );
  934. model.setValue("/root/main/angioep/prcpdd", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/prcpdd") );
  935. model.setValue("/root/main/angioep/execprcpuniqno", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/execprcpuniqno") );
  936. model.setValue("/root/main/angioep/prcpgenrflag", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/prcpgenrflag") );
  937. model.setValue("/root/main/angioep/orddd", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/orddd") );
  938. model.setValue("/root/main/angioep/cretno", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/cretno") );
  939. model.setValue("/root/main/angioep/grupcd", "ANGIO");
  940. model.setValue("/root/main/angioep/wrtetm", "0000");
  941. // 선택된 처방의 기본정보를 가지고 cath기록 Detail 테이블에 넣을 준비를 한다.
  942. model.setValue("/root/main/cath/pid", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/pid") );
  943. model.setValue("/root/main/cath/prcpdd", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/prcpdd") );
  944. model.setValue("/root/main/cath/execprcpuniqno", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/execprcpuniqno") );
  945. model.setValue("/root/main/cath/prcpgenrflag", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/prcpgenrflag") );
  946. model.setValue("/root/main/cath/orddd", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/orddd") );
  947. model.setValue("/root/main/cath/cretno", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/cretno") );
  948. model.setValue("/root/main/cath/grupcd", "CATH");
  949. model.setValue("/root/main/cath/wrtetm", "0000");
  950. // 선택된 처방의 기본정보를 가지고 ep기록 Detail 테이블에 넣을 준비를 한다.
  951. model.setValue("/root/main/ep/pid", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/pid") );
  952. model.setValue("/root/main/ep/prcpdd", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/prcpdd") );
  953. model.setValue("/root/main/ep/execprcpuniqno", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/execprcpuniqno") );
  954. model.setValue("/root/main/ep/prcpgenrflag", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/prcpgenrflag") );
  955. model.setValue("/root/main/ep/orddd", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/orddd") );
  956. model.setValue("/root/main/ep/cretno", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/cretno") );
  957. model.setValue("/root/main/ep/grupcd", "EP");
  958. model.setValue("/root/main/ep/wrtetm", "0000");
  959. // 선택된 처방의 기본정보를 가지고 pm/icd기록 Detail 테이블에 넣을 준비를 한다.
  960. model.setValue("/root/main/pm/pid", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/pid") );
  961. model.setValue("/root/main/pm/prcpdd", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/prcpdd") );
  962. model.setValue("/root/main/pm/execprcpuniqno", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/execprcpuniqno") );
  963. model.setValue("/root/main/pm/prcpgenrflag", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/prcpgenrflag") );
  964. model.setValue("/root/main/pm/orddd", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/orddd") );
  965. model.setValue("/root/main/pm/cretno", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/cretno") );
  966. model.setValue("/root/main/pm/grupcd", "PM");
  967. model.setValue("/root/main/pm/wrtetm", "0000");
  968. //model.setValue("/root/main/angioep/studycd", ""); // ANGIO STUDY
  969. //model.setValue("/root/main/angioep/diagcd", ""); // ANGIO 진단명
  970. //model.setValue("/root/main/angioep/examkindcd", ""); // ANGIO 검사종류
  971. ///model.setValue("/root/main/angioep/delyresn", ""); // ANGIO 지연사유
  972. ///model.setValue("/root/main/angioep/wrtecnts", ""); // ANGIO 작성내용
  973. //model.setValue("/root/main/ep/diagcd", ""); // EP 진단명
  974. //model.setValue("/root/main/ep/examkindcd", ""); // EP 검사종류
  975. ///model.setValue("/root/main/ep/arrhythmiacd1", ""); // EP 부정맥종류1
  976. ///model.setValue("/root/main/ep/arrhythmiacd2", ""); // EP 부정맥종류2
  977. ///model.setValue("/root/main/ep/arrhythmiacd3", ""); // EP 부정맥종류3
  978. ///model.setValue("/root/main/ep/tcl", ""); // EP TCL
  979. ///model.setValue("/root/main/ep/tcl2", ""); // EP TCL2
  980. ///model.setValue("/root/main/ep/tcl3", ""); // EP TCL3
  981. ///model.setValue("/root/main/ep/drugkindcd", ""); // EP 약물
  982. ///model.setValue("/root/main/ep/drugmthdcd", ""); // EP 투여방법
  983. ///model.setValue("/root/main/ep/drugqty", ""); // EP 용량
  984. ///model.setValue("/root/main/ep/stndunit", ""); // EP 단위
  985. ///model.setValue("/root/main/ep/totdrugqty", ""); // EP 총용량
  986. //model.setValue("/root/main/ep/ablationcnt", ""); // EP Ablation 횟수
  987. //model.setValue("/root/main/ep/ablationtm", "0000"); // EP Ablation 시간
  988. //model.setValue("/root/main/ep/ablationavg", "0000"); // EP 평균 Ablation 시간
  989. ///model.setValue("/root/main/ep/wrtecnts", ""); // EP작성내용
  990. // model.resetInstanceNode("/root/main/historylist/angiohistory");
  991. // model.resetInstanceNode("/root/main/historylist/ephistory");
  992. model.removeNodeset("/root/main/historylist/angiohistory");
  993. model.removeNodeset("/root/main/historylist/cathhistory")
  994. model.removeNodeset("/root/main/historylist/ephistory");
  995. model.removeNodeset("/root/main/historylist/pmhistory");
  996. //ipt_erintm.value = "0000"; // ER 입실시간
  997. //ipt_erouttm.value = "0000"; // ER 퇴실시간
  998. ///ipt_pnutm.value = "0000"; // puncture time
  999. ///ipt_baltm.value = "0000"; // 첫balloon시간
  1000. ///ipt_balloon.value = "0000"; // door to balloon
  1001. ///ipt_wtime.value = "0000"; // 작업시간
  1002. //ipt_catime.value = "0000"; // 작업시간
  1003. ipt_epwrtetm.value = "0000"; // EP 작업시간
  1004. ipt_agdate.value = getCurrentDate(); // 작성내용 : 작성일자
  1005. ipt_cadate.value = getCurrentDate(); // 작성내용 : 작성일자
  1006. ipt_epdate.value = getCurrentDate(); // 작성내용 : 작성일자
  1007. ipt_pmdate.value = getCurrentDate(); // 작성내용 : 작성일자
  1008. model.refresh();
  1009. }
  1010. /* @group : Angio탭 저장시 필수항목 체크
  1011. * @ver : 2009.11.25
  1012. * @by : 박상준
  1013. * @-----------------------------------
  1014. * @type : function
  1015. * @access : public
  1016. * @desc : Angio탭 저장시 필수항목 체크하기 위한 Function
  1017. */
  1018. function AngioCheck() {
  1019. if (model.getValue("/root/main/angioep/diagcd") == ""){
  1020. messageBox("진단명 항목은 필수입력 항목입니다.", "E999");
  1021. return(0);
  1022. }
  1023. if (model.getValue("/root/main/angioep/examkindcd") == ""){
  1024. messageBox("검사종류 항목은 필수입력 항목입니다.", "E999");
  1025. return(0);
  1026. }
  1027. }
  1028. function CathCheck() {
  1029. if (model.getValue("/root/main/cath/diagcd") == ""){
  1030. messageBox("진단명 항목은 필수입력 항목입니다.", "E999");
  1031. return(0);
  1032. }
  1033. if (model.getValue("/root/main/cath/examkindcd") == ""){
  1034. messageBox("검사종류 항목은 필수입력 항목입니다.", "E999");
  1035. return(0);
  1036. }
  1037. }
  1038. function EpCheck() {
  1039. if (model.getValue("/root/main/ep/diagcd") == ""){
  1040. messageBox("진단명 항목은 필수입력 항목입니다.", "E999");
  1041. return(0);
  1042. }
  1043. if (model.getValue("/root/main/ep/examkindcd") == ""){
  1044. messageBox("검사종류 항목은 필수입력 항목입니다.", "E999");
  1045. return(0);
  1046. }
  1047. }
  1048. function PmCheck() {
  1049. if (model.getValue("/root/main/pm/diagcd") == ""){
  1050. messageBox("진단명 항목은 필수입력 항목입니다.", "E999");
  1051. return(0);
  1052. }
  1053. if (model.getValue("/root/main/pm/examkindcd") == ""){
  1054. messageBox("검사종류 항목은 필수입력 항목입니다.", "E999");
  1055. return(0);
  1056. }
  1057. }
  1058. /* @group : EP탭 저장시 필수항목 체크
  1059. * @ver : 2009.11.25
  1060. * @by : 박상준
  1061. * @-----------------------------------
  1062. * @type : function
  1063. * @access : public
  1064. * @desc : EP탭 저장시 필수항목 체크하기 위한 Function
  1065. */
  1066. function EpCheck() {
  1067. if (model.getValue("/root/main/ep/diagcd") == ""){
  1068. messageBox("진단명 항목은 필수입력 항목입니다.", "E999");
  1069. return(0);
  1070. }
  1071. if (model.getValue("/root/main/ep/examkindcd") == ""){
  1072. messageBox("검사종류 항목은 필수입력 항목입니다.", "E999");
  1073. return(0);
  1074. }
  1075. }
  1076. /* @group : EP탭 약물 선택시 해당 약물에 대한 총용량 계산해서 보여주기
  1077. * @ver : 2010.06.14
  1078. * @by : 박상준
  1079. * @-----------------------------------
  1080. * @type : function
  1081. * @access : public
  1082. * @desc : 선택 약물에 대한 총용량 계산해서 보여주기 위한 Function
  1083. */
  1084. function DrugqtySum() {
  1085. model.makeValue("/root/send/req/data/pid", model.getValue("/root/main/ordlist1/examhistorylist[" + grd_subordlist.row + "]/pid") );
  1086. model.makeValue("/root/send/req/data/prcpdd", model.getValue("/root/main/ordlist1/examhistorylist[" + grd_subordlist.row + "]/prcpdd") );
  1087. model.makeValue("/root/send/req/data/execprcpuniqno", model.getValue("/root/main/ordlist1/examhistorylist[" + grd_subordlist.row + "]/execprcpuniqno") );
  1088. model.makeValue("/root/send/req/data/prcpgenrflag", model.getValue("/root/main/ordlist1/examhistorylist[" + grd_subordlist.row + "]/prcpgenrflag") );
  1089. model.makeValue("/root/send/req/data/grupcd", model.getValue("/root/main/ordlist1/examhistorylist[" + grd_subordlist.row + "]/grupcd") );
  1090. model.makeValue("/root/send/req/data/cretno", model.getValue("/root/main/ordlist1/examhistorylist[" + grd_subordlist.row + "]/cretno") );
  1091. model.makeValue("/root/send/req/data/orddd", model.getValue("/root/main/ordlist1/examhistorylist[" + grd_subordlist.row + "]/orddd") );
  1092. model.makeValue("/root/send/req/data/drugkindcd", model.getValue("/root/main/ep/drugkindcd") );
  1093. submit("TRAER14012");
  1094. model.setValue("/root/main/ep/totdrugqty", model.getValue("/root/hidden/totdrugqtyinfo/totdrugqty") );
  1095. }
  1096. /* @group : EP탭 Ablation Infomation 기록시 다른 값은 기록될 필요 없음으로 초기화 하여 저장하기
  1097. * @ver : 2010.06.16
  1098. * @by : 박상준
  1099. * @-----------------------------------
  1100. * @type : function
  1101. * @access : public
  1102. * @desc : EP탭 Ablation Infomation 기록시 필요없는 값 초기화 하여 저장하기 위한 Function
  1103. */
  1104. function Initialization() {
  1105. model.setValue("/root/main/ep/wrtecnts", ""); //작성내용 초기화
  1106. model.setValue("/root/main/ep/drugkindcd", ""); //약물
  1107. model.setValue("/root/main/ep/drugmthdcd", ""); //투여방법
  1108. model.setValue("/root/main/ep/drugqty", ""); //용량
  1109. model.setValue("/root/main/ep/stndunit", ""); //용량 단위
  1110. }
  1111. /* @group : 작성 LIST 이력 선택시 처방유일번호 툴팁으로 보여주기
  1112. * @ver : 2010.06.16
  1113. * @by : 박상준
  1114. * @-----------------------------------
  1115. * @type : function
  1116. * @access : public
  1117. * @desc : 작성 LIST 이력 선택시 처방유일번호 툴팁으로 보여주기 위한 Function
  1118. */
  1119. function setToolTip() {
  1120. for(var i=1; i < grd_subordlist.rows; i++){
  1121. grd_subordlist.tooltipText(i, 3) = model.getValue("/root/main/ordlist1/examhistorylist["+ i +"]/execprcpuniqno");
  1122. }
  1123. }
  1124. /* **********************************
  1125. * ENRSignEngine.js에서 함수를 호출함
  1126. * ***********************************/
  1127. function fMake_SignData(){
  1128. //Sign.XPATH_MAINNODE = "/root/main";
  1129. Sign.addnode("/root/temp/historylist"); // 인증경로로 copynode 함
  1130. Sign.certreload = true; // 인증시점에 무조건 다시 확인하게 할지 말지를 결정하는 옵션이다. (지정하지 않으면 기본 False)
  1131. }
  1132. /* @group : 결과 인증저장 Interface
  1133. * @ver : 2009.12.07
  1134. * @by : 박상준
  1135. * @-----------------------------------
  1136. * @type : function
  1137. * @access : public
  1138. * @desc : 결과 인증저장을 위한 Interface 데이터 셋팅 및 반영 Function
  1139. */
  1140. function fExeMakeCertPrcs() {
  1141. if (Sign.signprocess() == true) {
  1142. // signno가 존재하면 기존 결과에 UPDATE가 되며, "0" 이라면 ADD(누적)되도록 데이터가 생성된다.
  1143. var oldsignno = model.getValue("/root/temp/historylist/history["+ 1 +"]/signno");
  1144. if(oldsignno == ""){
  1145. var oldsignno = "0";
  1146. }
  1147. //alert("oldsignno : "+ oldsignno);
  1148. model.makeNode("/root/send/signdata");
  1149. model.makeValue("/root/send/signdata/instcd", getUserInfo("dutplceinstcd")); // 기관코드
  1150. model.makeValue("/root/send/signdata/pid", model.getValue("/root/temp/historylist/history["+ 1 +"]/pid")); // 등록번호
  1151. model.makeValue("/root/send/signdata/orddd", model.getValue("/root/temp/historylist/history["+ 1 +"]/orddd")); // 입원, 응급 : 입원일자, 외래 : 진료일자
  1152. model.makeValue("/root/send/signdata/signno", oldsignno); // 서명번호
  1153. model.makeValue("/root/send/signdata/cretno", model.getValue("/root/temp/historylist/history["+ 1 +"]/cretno")); // 생성번호
  1154. model.makeValue("/root/send/signdata/recdd", getCurrentDate()); // 실제기록이 이루어진 기록일자
  1155. model.makeValue("/root/send/signdata/rectm", getCurrentTime()); // 실제기록이 이루어진 기록시간
  1156. model.makeValue("/root/send/signdata/recsaveflag", "Y"); // 전자서명 인적정보 변경여부(기록일시 변경되는 경우 : Y, 그외 : N)
  1157. model.makeValue("/root/send/signdata/signflag", "04"); // 서명자료구분(01 : 진료, 02 : 간호, 03:LIS, 04:진료지원, 20: 가정간호, 30:의료협력)
  1158. model.makeValue("/root/send/signdata/signgenrflag", model.getValue("/root/main/ordlist1/mainordlist/prcpgenrflag")); // 입원, 외래구분
  1159. model.makeValue("/root/send/signdata/formcd", "0900006844"); // 각 기록지별 서식코드 (심혈관시술시기록지 : (운영) 0900006844)
  1160. //model.makeValue("/root/send/signdata/formcd", "0900006880"); // 각 기록지별 서식코드 (심혈관시술시기록지 : (교육) 0900006880 )
  1161. //model.makeValue("/root/send/signdata/formcd", "0900004198"); // 각 기록지별 서식코드 (심혈관시술시기록지 : (개발) 0900004198 )
  1162. model.makeValue("/root/send/signdata/orddeptcd", model.getValue("/root/main/ordlist1/mainordlist/orddeptcd")); // 진료부서코드
  1163. model.makeValue("/root/send/signdata/orddrid", model.getValue("/root/main/ordlist1/mainordlist/orddrid")); // 진료의ID
  1164. model.makeValue("/root/send/signdata/histno", "0"); // 서명이력번호
  1165. model.makeValue("/root/send/signdata/signbfcnts", Sign.signedInfos[1]); // 인증할 데이터 정보(미기록 노드 제거된 정보), 미기록 노드 제거전 원본 노드 정보 : Sign.signedInfos[3]
  1166. model.makeValue("/root/send/signdata/signaftcnts", Sign.signedInfos[2]); // 공인인증 처리 후 인증된 암호화된 데이터를 의미한다. (이것이 인증데이터)
  1167. //alert("1" + Sign.signedInfos[1]);
  1168. //alert("2" + Sign.signedInfos[2]);
  1169. } else {
  1170. alert("인증실패 Error Code :" + Sign.errcode);
  1171. return false;
  1172. }
  1173. // 인증내용 저장
  1174. if (submit("TXAEA14002")) {
  1175. return true;
  1176. } else {
  1177. return false;
  1178. }
  1179. }
  1180. /* @group : 결과 인증삭제 Interface
  1181. * @ver : 2009.12.07
  1182. * @by : 박상준
  1183. * @-----------------------------------
  1184. * @type : function
  1185. * @access : public
  1186. * @desc : 결과 인증삭제를 위한 Interface 데이터 셋팅 및 반영 Function
  1187. */
  1188. function fExeDelCertPrcs() {
  1189. if (Sign.signprocess() == true) {
  1190. var oldsignno = model.getValue("/root/temp/historylist/history["+ 1 +"]/signno");
  1191. if(oldsignno == ""){
  1192. var oldsignno = "0";
  1193. }
  1194. model.makeNode("/root/send/signdata");
  1195. model.makeValue("/root/send/signdata/signno", oldsignno); // 서명번호
  1196. model.makeValue("/root/send/signdata/signflag", "04"); // 서명자료구분(01 : 진료, 02 : 간호, 03:LIS, 04:진료지원, 20: 가정간호, 30:의료협력)
  1197. model.makeValue("/root/send/signdata/signbfcnts", Sign.signedInfos[1]); // 인증할 데이터 정보(미기록 노드 제거된 정보), 미기록 노드 제거전 원본 노드 정보 : Sign.signedInfos[3]
  1198. model.makeValue("/root/send/signdata/signaftcnts", Sign.signedInfos[2]); // 공인인증 처리 후 인증된 암호화된 데이터를 의미한다. (이것이 인증데이터)
  1199. if (model.getValue("/root/hidden/signdelyn") == "Y"){
  1200. model.makeValue("/root/send/signdata/status", "d");
  1201. }
  1202. } else {
  1203. alert("인증실패 Error Code :" + Sign.errcode);
  1204. return false;
  1205. }
  1206. // 인증내용 저장
  1207. if (submit("TXAEA14002")) {
  1208. return true;
  1209. } else {
  1210. return false;
  1211. }
  1212. }
  1213. ]]>
  1214. </script>
  1215. </xhtml:head>
  1216. <xhtml:body pagewidth="1211" pageheight="784" guideline="2,790;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  1217. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:16px; width:1192px; height:30px; background-color:#fffbf2; border-color:#ffd799; "/>
  1218. <select1 id="cmb_srchexamkind" ref="/root/send/srchexamkind" appearance="minimal" style="left:100px; top:22px; width:105px; height:19px; ">
  1219. <choices>
  1220. <itemset nodeset="/root/init/cmbinfo/examkindlist">
  1221. <label ref="basecdflagdesc"/>
  1222. <value ref="basecd"/>
  1223. </itemset>
  1224. </choices>
  1225. <script type="javascript" ev:event="xforms-select">
  1226. <![CDATA[
  1227. // 아이템 갯수만큼 체크하면서 선택된 Value의 값과 동일한 순번의 코드를 가져오기 위해.
  1228. // 비교하지 않으면 무조건 첫번째 값을 가져오네. 그래서 체크로직 추가.
  1229. for(i = 1; i <= cmb_srchexamkind.length; i++){
  1230. if(cmb_srchexamkind.value == model.getValue("/root/init/cmbinfo/examkindlist["+ i +"]/basecd")){
  1231. var basecd = model.getValue("/root/init/cmbinfo/examkindlist["+ i +"]/basecd");
  1232. break;
  1233. }
  1234. }
  1235. model.setValue("/root/send/srchexamkind", basecd);
  1236. ]]>
  1237. </script>
  1238. </select1>
  1239. <input id="ipt_pid" ref="/root/send/srchpid" class="input_search" maxlength="10" format="9999999999" style="left:605px; top:22px; width:80px; height:19px; ">
  1240. <script type="javascript" ev:event="onkeydown">
  1241. <![CDATA[
  1242. if ( event.keyCode == 13 ) {
  1243. btn_sea.dispatch("DOMActivate");
  1244. }
  1245. ]]>
  1246. </script>
  1247. </input>
  1248. <caption id="caption1" class="search_name" style="left:513px; top:23px; width:91px; height:17px; ">등록번호 :</caption>
  1249. <button id="button61" class="icon_search" style="left:687px; top:23px; width:16px; height:16px; ">
  1250. <caption/>
  1251. <script type="javascript" ev:event="onclick">
  1252. <![CDATA[
  1253. model.setValue("/root/send/data2/srchcond", "2");
  1254. model.setValue("/root/send/data2/pid", model.getValue("/root/send/data/srchpid"));
  1255. modal("SPPMC02500", "", "200", "200", "SPPMC02500","/root/send/data2","/root/send");
  1256. model.setValue("/root/send/data/srchpid", model.getValue("/root/main/patinfo/patinfolist/pid") );
  1257. model.refresh();
  1258. ]]>
  1259. </script>
  1260. </button>
  1261. <caption id="caption4" class="search_name" style="left:10px; top:23px; width:86px; height:17px; ">검사종류 :</caption>
  1262. <output id="ipt_patnm" ref="/root/send/srchhngnm" class="output_fix" style="left:704px; top:22px; width:81px; height:19px; "/>
  1263. <button id="btn_sea" class="btn1_letter2" style="left:1134px; top:20px; width:56px; height:22px; ">
  1264. <caption>조회</caption>
  1265. <script type="javascript" ev:event="DOMActivate">
  1266. <![CDATA[
  1267. // 기록대상 환자 리스트 가져오기
  1268. if(submit("TRAER14002")){
  1269. var srchLength1 = model.instances(0).selectNodes( "/root/main/ordlist1/mainordlist" ).length;
  1270. for ( var i = 1; i <= srchLength1; i++ ) {
  1271. grd_mainordlist.rowstyle( i , "data" , "background-color" ) = "#FFFFFF";
  1272. grd_mainordlist.rowstyle( i , "data" , "color" ) = "#000000";
  1273. }
  1274. aezfSetRowStyle("grd_mainordlist", "2" , "Y" , "cnfmyn" );
  1275. aezfSetRowStyle("grd_mainordlist", "2" , "N" , "cnfmyn" );
  1276. }
  1277. ]]>
  1278. </script>
  1279. </button>
  1280. <caption id="caption5" class="search_name" style="left:223px; top:23px; width:91px; height:17px; ">적용일자 :</caption>
  1281. <input id="ipt_date1" ref="/root/send/srchfromdd" class="input_default" inputtype="date" style="left:314px; top:22px; width:90px; height:19px; ">
  1282. <script type="javascript" ev:event="xforms-value-changed">
  1283. <![CDATA[
  1284. // 사용자 변경 정보 저장
  1285. model.property("srchdate1") = ipt_date1.value;
  1286. ]]>
  1287. </script>
  1288. </input>
  1289. <input id="ipt_date2" ref="/root/send/srchtodd" class="input_default" inputtype="date" style="left:406px; top:22px; width:90px; height:19px; ">
  1290. <script type="javascript" ev:event="xforms-value-changed">
  1291. <![CDATA[
  1292. // 사용자 변경 정보 저장
  1293. model.property("srchdate2") = ipt_date2.value;
  1294. ]]>
  1295. </script>
  1296. </input>
  1297. <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:196px; height:14px; ">심혈관촬영 시술기록지</caption>
  1298. <button id="btn_case1" class="btn_sw" group="tab1" selected="true" style="left:7px; top:56px; width:85px; height:22px; ">
  1299. <caption>환자List</caption>
  1300. <toggle case="case1" ev:event="onclick"/>
  1301. <script type="javascript" ev:event="DOMActivate">
  1302. <![CDATA[
  1303. delPatientInfos(); //상단정보 초기화
  1304. // 선택된 Tab의 종류구분 (L : 환자List, P : PROCEDUR, S : STAFF, O : 물품, M : Medication)
  1305. model.setValue("/root/send/tabgubn","L");
  1306. model.setValue("/root/send/srchpid", "");
  1307. model.setValue("/root/send/srchexamkind", ""); // 검색조건 검사종류
  1308. //2011.10.19 탭추가로 수정
  1309. //model.removeNodeset("/root/main/angioep");
  1310. model.resetInstanceNode("/root/main/angioep");
  1311. model.resetInstanceNode("/root/main/cath");
  1312. model.resetInstanceNode("/root/main/ep");
  1313. model.resetInstanceNode("/root/main/pm");
  1314. model.removeNodeset("/root/main/historylist/angiohistory");
  1315. model.removeNodeset("/root/main/historylist/cathhistory")
  1316. model.removeNodeset("/root/main/historylist/ephistory");
  1317. model.removeNodeset("/root/main/historylist/pmhistory");
  1318. // EP탭의 Ablation 항목 초기화
  1319. ///model.setValue("/root/main/ep/ablationcnt", ""); // EP Ablation 횟수
  1320. ///model.setValue("/root/main/ep/ablationtm", "0000"); // EP Ablation 시간
  1321. ///model.setValue("/root/main/ep/ablationavg", "0000"); // EP 평균 Ablation 시간
  1322. btn_save.disabled = true; // 저장버튼 비활성화
  1323. btn_epsave.disabled = true; // 저장버튼 비활성화
  1324. //2011.10.19 탭추가로 수정
  1325. btn_saveag.disabled = true; // 저장버튼 비활성화
  1326. btn_saveca.disabled = true; // 저장버튼 비활성화
  1327. btn_saveep.disabled = true; // 저장버튼 비활성화
  1328. btn_savepm.disabled = true; // 저장버튼 비활성화
  1329. if(submit("TRAER14002")){
  1330. var srchLength1 = model.instances(0).selectNodes( "/root/main/ordlist1/mainordlist" ).length;
  1331. for ( var i = 1; i <= srchLength1; i++ ) {
  1332. grd_mainordlist.rowstyle( i , "data" , "background-color" ) = "#FFFFFF";
  1333. grd_mainordlist.rowstyle( i , "data" , "color" ) = "#000000";
  1334. }
  1335. aezfSetRowStyle("grd_mainordlist", "2" , "Y" , "cnfmyn" );
  1336. aezfSetRowStyle("grd_mainordlist", "2" , "N" , "cnfmyn" );
  1337. //aezfSetCellStyle("grd_mainordlist", "4" , "Y^N" , "cnfmyn" );
  1338. //aezfSetRowStyle("grd_subordlist1" , "4" , "실시취소" , "dispexecprcpstatnm");
  1339. }
  1340. model.refresh();
  1341. ]]>
  1342. </script>
  1343. </button>
  1344. <button id="btn_case2" class="btn_sw" group="tab1" style="left:92px; top:56px; width:85px; height:22px; ">
  1345. <caption>PROCEDUR</caption>
  1346. <toggle case="case2" ev:event="onclick"/>
  1347. <script type="javascript" ev:event="DOMActivate">
  1348. <![CDATA[
  1349. // 선택된 Tab의 종류구분 (L : 환자List, P : PROCEDUR, S : STAFF, O : 물품, M : Medication)
  1350. model.setValue("/root/send/tabgubn","P");
  1351. cmb_opernm.dispatch("xforms-value-changed"); // 다른 탭 이동 후 돌아왔을때 선택되어 있던내역정보 재조회
  1352. ]]>
  1353. </script>
  1354. </button>
  1355. <button id="btn_case3" class="btn_sw" visibility="hidden" group="tab1" style="left:345px; top:56px; width:85px; height:22px; ">
  1356. <caption>STAFF</caption>
  1357. <toggle case="case3" ev:event="onclick"/>
  1358. <script type="javascript" ev:event="DOMActivate">
  1359. <![CDATA[
  1360. // 선택된 Tab의 종류구분 (L : 환자List, P : PROCEDUR, S : STAFF, O : 물품, M : Medication)
  1361. model.setValue("/root/send/tabgubn","S");
  1362. cmb_staff.dispatch("xforms-value-changed"); // 다른 탭 이동 후 돌아왔을때 선택되어 있던내역정보 재조회
  1363. ]]>
  1364. </script>
  1365. </button>
  1366. <line id="line4" class="line_1" style="x1:7px; y1:78px; x2:435px; y2:78px; "/>
  1367. <button id="btn_case4" class="btn_sw" group="tab1" style="left:177px; top:56px; width:85px; height:22px; ">
  1368. <caption>물품</caption>
  1369. <toggle case="case4" ev:event="onclick"/>
  1370. <script type="javascript" ev:event="DOMActivate">
  1371. <![CDATA[
  1372. // 선택된 Tab의 종류구분 (L : 환자List, P : PROCEDUR, S : STAFF, O : 물품, M : Medication)
  1373. model.setValue("/root/send/tabgubn","O");
  1374. cmb_sheath.dispatch("xforms-value-changed"); // 다른 탭 이동 후 돌아왔을때 선택되어 있던내역정보 재조회
  1375. ]]>
  1376. </script>
  1377. </button>
  1378. <button id="btn_case5" class="btn_sw" group="tab1" style="left:262px; top:56px; width:85px; height:22px; ">
  1379. <caption>Medication</caption>
  1380. <toggle case="case5" ev:event="onclick"/>
  1381. <script type="javascript" ev:event="DOMActivate">
  1382. <![CDATA[
  1383. // 선택된 Tab의 종류구분 (L : 환자List, P : PROCEDUR, S : STAFF, O : 물품, M : Medication)
  1384. model.setValue("/root/send/tabgubn","M");
  1385. cmb_medication.dispatch("xforms-value-changed"); // 다른 탭 이동 후 돌아왔을때 선택되어 있던내역정보 재조회
  1386. ]]>
  1387. </script>
  1388. </button>
  1389. <switch id="switch1" style="left:7px; top:83px; width:428px; height:680px; ">
  1390. <case id="case1" selected="true">
  1391. <line id="line30" class="line_1" style="x1:0px; y1:535px; x2:424px; y2:535px; "/>
  1392. <caption id="caption40" class="tit_2" style="left:0px; top:520px; width:162px; height:13px; ">작성 LIST</caption>
  1393. <datagrid id="grd_mainordlist" nodeset="/root/main/ordlist1/mainordlist" caption="판독^ physician^등록번호^이름^성별^나이^병동^병실^주민등록번호^진료과^담당의사^처방번호^inpt_indd^inpt_cretno^처방일자" colsep="^" colwidth="32, 69, 80, 80, 40, 40, 70, 70, 100, 90, 90, 80, 100, 100, 72" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:0px; width:424px; height:510px; ">
  1394. <col checkvalue="Y,N" ref="cnfmyn" type="checkbox"/>
  1395. <col ref="physicn3" type="combo" visibility="visible">
  1396. <choices>
  1397. <itemset nodeset="/root/init/cmbinfo/physicnlist">
  1398. <label ref="basecdflagdesc"/>
  1399. <value ref="basecd"/>
  1400. </itemset>
  1401. </choices>
  1402. </col>
  1403. <col ref="pid" style="text-align:center; "/>
  1404. <col ref="patnm" style="text-align:center; "/>
  1405. <col ref="sex" style="text-align:center; "/>
  1406. <col ref="age" style="text-align:center; "/>
  1407. <col disabled="true" ref="wardcd" type="combo" visibility="hidden">
  1408. <choices>
  1409. <itemset nodeset="/root/init/basecode/ward/dept">
  1410. <label ref="depthngnm"/>
  1411. <value ref="deptcd"/>
  1412. </itemset>
  1413. </choices>
  1414. </col>
  1415. <col ref="roomcd" style="text-align:center; "/>
  1416. <col ref="rrgstno" style="text-align:center; "/>
  1417. <col ref="orddeptnm"/>
  1418. <col ref="orddrnm"/>
  1419. <col ref="execprcpuniqno"/>
  1420. <col ref="inptindd" visibility="hidden"/>
  1421. <col ref="inptcretno" visibility="hidden"/>
  1422. <col ref="prcpdd" format="yyyy-mm-dd"/>
  1423. <script type="javascript" ev:event="onclick">
  1424. <![CDATA[
  1425. if( isDataCell() ){ //스크롤 조작시 모래시계 방지
  1426. var colidx = grd_mainordlist.col;
  1427. if(grd_mainordlist.colAttribute(colidx, "ref") != "cnfmyn" ){
  1428. delPatientInfos(); //상단정보 초기화
  1429. fTopInfo(); // 선택한 환자의 상단정보를 보여준다.
  1430. // 선택된 환자 이력에 대한 응급실 입실/퇴실 시간 자동셋팅
  1431. model.setValue("/root/main/angioep/erinrmtm", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/chostm") );
  1432. model.setValue("/root/main/angioep/eroutrmtm", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/outrmtm") );
  1433. // 특정환자 선택시 등록번호 기준으로 히스토리 조회를 위한 셋팅.
  1434. model.setValue("/root/send/srchpid", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/pid") );
  1435. // 선택된 처방의 기본정보를 가지고 ANGIO기록 Detail 테이블에 넣을 준비를 한다.
  1436. model.setValue("/root/main/angioep/pid", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/pid") );
  1437. model.setValue("/root/main/angioep/prcpdd", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/prcpdd") );
  1438. model.setValue("/root/main/angioep/execprcpuniqno", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/execprcpuniqno") );
  1439. model.setValue("/root/main/angioep/prcpgenrflag", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/prcpgenrflag") );
  1440. model.setValue("/root/main/angioep/orddd", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/orddd") );
  1441. model.setValue("/root/main/angioep/cretno", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/cretno") );
  1442. // 선택된 처방의 기본정보를 가지고 catg기록 Detail 테이블에 넣을 준비를 한다.
  1443. model.setValue("/root/main/cath/pid", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/pid") );
  1444. model.setValue("/root/main/cath/prcpdd", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/prcpdd") );
  1445. model.setValue("/root/main/cath/execprcpuniqno", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/execprcpuniqno") );
  1446. model.setValue("/root/main/cath/prcpgenrflag", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/prcpgenrflag") );
  1447. model.setValue("/root/main/cath/orddd", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/orddd") );
  1448. model.setValue("/root/main/cath/cretno", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/cretno") );
  1449. DefaultSet(); // 화면 기본값 셋팅 및 환경설정
  1450. btn_sea.dispatch("DOMActivate");
  1451. btn_save.disabled = false; // 저장버튼 활성화
  1452. btn_del.disabled = true; // 삭제버튼 비활성화
  1453. btn_update.disabled = true; // 수정버튼 비활성화
  1454. btn_epsave.disabled = false; // 저장버튼 활성화
  1455. btn_epdel.disabled = true; // 삭제버튼 비활성화
  1456. btn_epupdate.disabled = true; // 수정버튼 비활성화
  1457. btn_starttime.disabled = false; // Ablation StartTime 활성화
  1458. //2011.10.19 탭추가로 수정
  1459. btn_saveag.disabled = false; // 저장버튼 활성화
  1460. btn_delag.disabled = true; // 삭제버튼 비활성화
  1461. btn_updateag.disabled = true; // 수정버튼 비활성화
  1462. btn_saveca.disabled = false; // 저장버튼 활성화
  1463. btn_delca.disabled = true; // 삭제버튼 비활성화
  1464. btn_updateca.disabled = true; // 수정버튼 비활성화
  1465. btn_saveep.disabled = false; // 저장버튼 활성화
  1466. btn_delep.disabled = true; // 삭제버튼 비활성화
  1467. btn_updateep.disabled = true; // 수정버튼 비활성화
  1468. btn_savepm.disabled = false; // 저장버튼 활성화
  1469. btn_delpm.disabled = true; // 삭제버튼 비활성화
  1470. btn_updatepm.disabled = true; // 수정버튼 비활성화
  1471. ///DefaultSet(); // 화면 기본값 셋팅 및 환경설정
  1472. model.makeValue("/root/send/req/data/pid", model.getValue("/root/main/ep/pid") );
  1473. model.makeValue("/root/send/req/data/prcpdd", model.getValue("/root/main/ep/prcpdd") );
  1474. model.makeValue("/root/send/req/data/execprcpuniqno", model.getValue("/root/main/ep/execprcpuniqno") );
  1475. model.makeValue("/root/send/req/data/grupcd", "EP");
  1476. ///model.makeValue("/root/main/ep/drugkindcd", ""); // 약물구분 없이 전체에 대한 총량을 보여주기 위해
  1477. ///submit("TRAER14011");
  1478. ///model.setValue("/root/main/ep/ablationcnt", model.getValue("/root/hidden/ablationinfo/ablationcnt") ); // ABLATION횟수
  1479. ///model.setValue("/root/main/ep/ablationtm", model.getValue("/root/hidden/ablationinfo/ablationtm") ); // ABLATION시간
  1480. ///model.setValue("/root/main/ep/ablationavg", model.getValue("/root/hidden/ablationinfo/ablationavg") ); // 평균ABLATION시간
  1481. ///model.setValue("/root/main/ep/totdrugqty", model.getValue("/root/hidden/ablationinfo/totdrugqty") ); // 총용량
  1482. setToolTip(); // 작성LIST에 대한 처방 유일번호를 툴팁으로 보여준다
  1483. model.refresh();
  1484. }
  1485. }
  1486. ]]>
  1487. </script>
  1488. </datagrid>
  1489. <datagrid id="grd_subordlist" nodeset="/root/main/ordlist1/examhistorylist" caption="작성일자^검사종류^STUDY^h_execprcpuniqno" colsep="^" colwidth="87, 136, 162, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:540px; width:424px; height:135px; ">
  1490. <col disabled="true" ref="wrtedd" type="inputdate" style="text-align:center; "/>
  1491. <col disabled="true" ref="examkindnm"/>
  1492. <col disabled="true" ref="studynm"/>
  1493. <col disabled="true" ref="execprcpuniqno" visibility="hidden"/>
  1494. <script type="javascript" ev:event="onclick">
  1495. <![CDATA[
  1496. if ( grd_subordlist.rows< grd_subordlist.fixedRows + 1){ // 작성리스트의 행이 없으면 리턴하기
  1497. return;
  1498. }
  1499. var tmp_grupcd = model.getValue("/root/main/ordlist1/examhistorylist["+ grd_subordlist.row +"]/grupcd");
  1500. if ( tmp_grupcd == "ANGIO"){
  1501. btn_case6.selected = true; // ANGIO Tab
  1502. model.toggle("case8");
  1503. btn_case6.dispatch("DOMActivate");
  1504. //btn_save.disabled = true; // 저장버튼 비활성화(ANGIO탭에서는 항상 저장 가능하도록 요청)
  1505. btn_del.disabled = true; // 삭제버튼 비활성화
  1506. btn_update.disabled = true; // 수정버튼 비활성화
  1507. //2011.10.19 탭추가로 수정
  1508. btn_delag.disabled = true; // 삭제버튼 비활성화
  1509. btn_updateag.disabled = true; // 수정버튼 비활성화
  1510. }else if(tmp_grupcd == "CATH"){
  1511. //2011.10.19 탭추가로 수정
  1512. btn_case7.selected = true; // CATH Tab
  1513. model.toggle("case9");
  1514. btn_case7.dispatch("DOMActivate");
  1515. btn_delca.disabled = true; // 삭제버튼 비활성화
  1516. btn_updateca.disabled = true; // 수정버튼 비활성화
  1517. }else if(tmp_grupcd == "EP"){
  1518. btn_case8.selected = true; // EP Tab
  1519. model.toggle("case10");
  1520. btn_case8.dispatch("DOMActivate");
  1521. //btn_epsave.disabled = true; // 저장버튼 비활성화 (EP탭 저장기능 활성화 요청 : 2010/06/15 박정욱 선생님)
  1522. btn_epdel.disabled = true; // 삭제버튼 비활성화
  1523. btn_epupdate.disabled = true; // 수정버튼 비활성화
  1524. btn_delep.disabled = true; // 삭제버튼 비활성화
  1525. btn_updateep.disabled = true; // 수정버튼 비활성화
  1526. }else if(tmp_grupcd == "PM"){
  1527. //2011.10.19 탭추가로 수정
  1528. btn_case9.selected = true; // PM Tab
  1529. model.toggle("case11");
  1530. btn_case9.dispatch("DOMActivate");
  1531. btn_delpm.disabled = true; // 삭제버튼 비활성화
  1532. btn_updatepm.disabled = true; // 수정버튼 비활성화
  1533. }
  1534. model.makeValue("/root/send/req/data/pid", model.getValue("/root/main/ordlist1/examhistorylist[" + grd_subordlist.row + "]/pid") );
  1535. model.makeValue("/root/send/req/data/prcpdd", model.getValue("/root/main/ordlist1/examhistorylist[" + grd_subordlist.row + "]/prcpdd") );
  1536. model.makeValue("/root/send/req/data/execprcpuniqno", model.getValue("/root/main/ordlist1/examhistorylist[" + grd_subordlist.row + "]/execprcpuniqno") );
  1537. model.makeValue("/root/send/req/data/prcpgenrflag", model.getValue("/root/main/ordlist1/examhistorylist[" + grd_subordlist.row + "]/prcpgenrflag") );
  1538. model.makeValue("/root/send/req/data/grupcd", model.getValue("/root/main/ordlist1/examhistorylist[" + grd_subordlist.row + "]/grupcd") );
  1539. model.makeValue("/root/send/req/data/cretno", model.getValue("/root/main/ordlist1/examhistorylist[" + grd_subordlist.row + "]/cretno") );
  1540. model.makeValue("/root/send/req/data/orddd", model.getValue("/root/main/ordlist1/examhistorylist[" + grd_subordlist.row + "]/orddd") );
  1541. // 선택된 작성리스트의 상세작성기록 가져오기
  1542. submit("TRAER14009");
  1543. // 작성리스트 선택시에 전체 상세내역 중에 최초 입력된 첫BALLOON시간을 가져와서 보여준다
  1544. ///model.setValue("/root/main/angioep/fstballoontm", model.getValue("/root/main/historylist/angiohistory/minfstballoontm") );
  1545. var chostm = model.getValue("/root/main/ordlist1/mainordlist/chostm"); // 응급실 내원시간
  1546. var minfstballoontm = model.getValue("/root/main/historylist/angiohistory/minfstballoontm"); // 상세내역 중에 최초 입력된 첫BALLOON시간
  1547. var doortoballoontm = (minfstballoontm - chostm);
  1548. //var doortoballoontm2 = (getTimeInterval(chostm, minfstballoontm) / 3600);
  1549. model.setValue("/root/main/angioep/doortoballoontm", doortoballoontm);
  1550. // 조회된 상세내역이 인증된 상태라면 색상으로 표시 함
  1551. if ( tmp_grupcd == "ANGIO"){
  1552. ///aezfSetRowStyle("grd_whistory", "2" , "0" , "signno" , "bigger" );
  1553. aezfSetRowStyle("grd_historyag", "2" , "0" , "signno" , "bigger" );
  1554. }else if ( tmp_grupcd == "CATH"){
  1555. aezfSetRowStyle("grd_historyca", "2" , "0" , "signno" , "bigger" );
  1556. }else if ( tmp_grupcd == "EP"){
  1557. aezfSetRowStyle("grd_historyep", "2" , "0" , "signno" , "bigger" );
  1558. }else if ( tmp_grupcd == "PM"){
  1559. aezfSetRowStyle("grd_historypm", "2" , "0" , "signno" , "bigger" );
  1560. }
  1561. ///model.makeValue("/root/send/req/data/pid", model.getValue("/root/main/ordlist1/examhistorylist[" + grd_subordlist.row + "]/pid") );
  1562. ///model.makeValue("/root/send/req/data/prcpdd", model.getValue("/root/main/ordlist1/examhistorylist[" + grd_subordlist.row + "]/prcpdd") );
  1563. ///model.makeValue("/root/send/req/data/execprcpuniqno", model.getValue("/root/main/ordlist1/examhistorylist[" + grd_subordlist.row + "]/execprcpuniqno") );
  1564. ///model.makeValue("/root/send/req/data/grupcd", "EP");
  1565. ///model.makeValue("/root/main/ep/drugkindcd", ""); // 작성리스트에서 조회시는 약물구분 없이 전체에 대한 총량을 보여주기 위해
  1566. ///submit("TRAER14011");
  1567. ///model.setValue("/root/main/ep/ablationcnt", model.getValue("/root/hidden/ablationinfo/ablationcnt") ); // EP ABLATION횟수
  1568. ///model.setValue("/root/main/ep/ablationtm", model.getValue("/root/hidden/ablationinfo/ablationtm") ); // EP ABLATION시간
  1569. ///model.setValue("/root/main/ep/ablationavg", model.getValue("/root/hidden/ablationinfo/ablationavg") ); // EP 평균ABLATION시간
  1570. ///model.setValue("/root/main/ep/totdrugqty", model.getValue("/root/hidden/ablationinfo/totdrugqty") ); // EP 총용량
  1571. model.refresh();
  1572. ]]>
  1573. </script>
  1574. </datagrid>
  1575. <button id="button2" class="btn2_letter2" disabled="false" style="left:380px; top:515px; width:42px; height:19px; ">
  1576. <caption>저장</caption>
  1577. <script type="javascript" ev:event="DOMActivate">
  1578. <![CDATA[
  1579. var update = getGridUpdateData(grd_mainordlist);
  1580. //alert(update);
  1581. if(update == ""){
  1582. messageBox("업데이트 정보가 없습니다.", "I");
  1583. return 0;
  1584. } else {
  1585. model.setValue("/root/send/req/data", update);
  1586. if (submit("TXAEA14003")) {
  1587. btn_case1.dispatch("DOMActivate");
  1588. }
  1589. }
  1590. model.refresh();
  1591. ]]>
  1592. </script>
  1593. </button>
  1594. <shape id="roundrect1" class="roundrect_example" appearance="roundrect" style="left:90px; top:512px; width:135px; height:22px; background-color:#fffbf2; border-color:#7cbbdd; "/>
  1595. <caption id="caption179" style="left:95px; top:515px; width:35px; height:20px; ">범례 :</caption>
  1596. <caption id="caption180" style="left:135px; top:515px; width:20px; height:15px; background-color:#ffe79d; "/>
  1597. <caption id="caption186" style="left:160px; top:515px; width:60px; height:20px; ">기록 작성</caption>
  1598. </case>
  1599. <case id="case2">
  1600. <caption id="caption26" class="cell_1" style="left:0px; top:0px; width:114px; height:23px; vertical-align:middle; ">시술명</caption>
  1601. <line id="line1" class="line_3" style="x1:0px; y1:24px; x2:424px; y2:24px; "/>
  1602. <caption id="caption14" class="tit_2" style="left:0px; top:40px; width:90px; height:13px; ">시술내용</caption>
  1603. <line id="line2" class="line_1" style="x1:0px; y1:55px; x2:424px; y2:55px; "/>
  1604. <datagrid id="grd_procedur" nodeset="/root/main/ordlist2/procedurlist" caption="내용^분류" colsep="^" colwidth="308, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:60px; width:424px; height:615px; ">
  1605. <col disabled="true" ref="basecdcnts"/>
  1606. <col disabled="true" ref="choi1" type="combo">
  1607. <choices>
  1608. <item>
  1609. <label>Balloon</label>
  1610. <value>B</value>
  1611. </item>
  1612. <item>
  1613. <label>Puncture</label>
  1614. <value>P</value>
  1615. </item>
  1616. <item>
  1617. <label>재료</label>
  1618. <value>G</value>
  1619. </item>
  1620. <item>
  1621. <label>SEATH INSERTION</label>
  1622. <value>S</value>
  1623. </item>
  1624. </choices>
  1625. </col>
  1626. <script type="javascript" ev:event="ondblclick">
  1627. <![CDATA[
  1628. var aftertxt = "";
  1629. var addtxt = model.getValue("/root/main/ordlist2/procedurlist[" + grd_procedur.row + "]/basecdcnts");
  1630. if (btn_case6.selected == true){
  1631. // ANGIO 기존에 저장된 값이 있으면 유지하고, 뒤에 새로운 값을 붙여준다
  1632. if (model.getValue("/root/main/angioep/wrtecnts") =="") {
  1633. model.setValue("/root/main/angioep/wrtecnts", model.getValue("/root/main/ordlist2/procedurlist[" + grd_procedur.row + "]/basecdcnts") );
  1634. }else{
  1635. //aftertxt = model.getValue("/root/main/angioep/wrtecnts") + "\n";
  1636. //aftertxt = aftertxt + addtxt;
  1637. aftertxt = model.getValue("/root/main/angioep/wrtecnts");
  1638. aftertxt = aftertxt + " " + addtxt;
  1639. model.setValue("/root/main/angioep/wrtecnts", aftertxt);
  1640. }
  1641. }else if (btn_case7.selected == true){
  1642. // CATH 기존에 저장된 값이 있으면 유지하고, 뒤에 새로운 값을 붙여준다
  1643. if (model.getValue("/root/main/cath/wrtecnts") =="") {
  1644. model.setValue("/root/main/cath/wrtecnts", model.getValue("/root/main/ordlist2/procedurlist[" + grd_procedur.row + "]/basecdcnts") );
  1645. }else{
  1646. aftertxt = model.getValue("/root/main/cath/wrtecnts");
  1647. aftertxt = aftertxt + " " + addtxt;
  1648. model.setValue("/root/main/cath/wrtecnts", aftertxt);
  1649. }
  1650. }else if (btn_case8.selected == true){
  1651. // EP 기존에 저장된 값이 있으면 유지하고, 뒤에 새로운 값을 붙여준다
  1652. if (model.getValue("/root/main/ep/wrtecnts") =="") {
  1653. model.setValue("/root/main/ep/wrtecnts", model.getValue("/root/main/ordlist2/procedurlist[" + grd_procedur.row + "]/basecdcnts") );
  1654. }else{
  1655. aftertxt = model.getValue("/root/main/ep/wrtecnts");
  1656. aftertxt = aftertxt + " " + addtxt;
  1657. model.setValue("/root/main/ep/wrtecnts", aftertxt);
  1658. }
  1659. }else if (btn_case9.selected == true){
  1660. // EP 기존에 저장된 값이 있으면 유지하고, 뒤에 새로운 값을 붙여준다
  1661. if (model.getValue("/root/main/pm/wrtecnts") =="") {
  1662. model.setValue("/root/main/pm/wrtecnts", model.getValue("/root/main/ordlist2/procedurlist[" + grd_procedur.row + "]/basecdcnts") );
  1663. }else{
  1664. aftertxt = model.getValue("/root/main/pm/wrtecnts");
  1665. aftertxt = aftertxt + " " + addtxt;
  1666. model.setValue("/root/main/pm/wrtecnts", aftertxt);
  1667. }
  1668. }
  1669. // 리스트 내역의 속성이 Balloon 이면 ANGIO 탭의 첫BALLOON시간 셋팅
  1670. if (model.getValue("/root/main/ordlist2/procedurlist[" + grd_procedur.row + "]/choi1") == "B"){
  1671. if (ipt_baltm.value == "0000"){
  1672. ipt_baltm.value = getCurrentTime().substr(0, 4); //처음 Balloon기록시 첫balloon시간 자동입력
  1673. }
  1674. }
  1675. // 리스트 내역의 속성이 Puncture 이면 ANGIO 탭의 PUNCTURE TIME 셋팅
  1676. if (model.getValue("/root/main/ordlist2/procedurlist[" + grd_procedur.row + "]/choi1") == "P"){
  1677. if(ipt_pnutm.value == "0000"){
  1678. ipt_pnutm.value = getCurrentTime().substr(0, 4); // 프로시져에서 SEATH INSERTION 클릭하면 자동 시간입력
  1679. }
  1680. }
  1681. var a = model.getValue("/root/main/angioep/fstballoontm"); // 첫BALLOON시간
  1682. var b = model.getValue("/root/main/angioep/erinrmtm"); // ER입실시간
  1683. // alert(a + "==" + b + "==" + c)
  1684. // var r = getTimeInterval(a, b
  1685. var diffsec = (a-b);
  1686. model.setValue("/root/main/angioep/doortoballoontm", diffsec);
  1687. model.refresh();
  1688. ]]>
  1689. </script>
  1690. </datagrid>
  1691. <select1 id="cmb_opernm" ref="/root/init/cmbinfo/operationlist" appearance="minimal" style="left:116px; top:3px; width:304px; height:19px; ">
  1692. <choices>
  1693. <itemset nodeset="/root/init/cmbinfo/operationlist">
  1694. <label ref="basecdflagdesc"/>
  1695. <value ref="basecd"/>
  1696. </itemset>
  1697. </choices>
  1698. <script type="javascript" ev:event="xforms-value-changed">
  1699. <![CDATA[
  1700. // 아이템 갯수만큼 체크하면서 선택된 Value의 값과 동일한 순번의 코드를 가져오기 위해.
  1701. // 비교하지 않으면 무조건 첫번째 값을 가져오네.
  1702. for(i = 1; i <= cmb_opernm.length; i++){
  1703. if(cmb_opernm.value == model.getValue("/root/init/cmbinfo/operationlist["+ i +"]/basecd")){
  1704. var basecd = model.getValue("/root/init/cmbinfo/operationlist["+ i +"]/basecd");
  1705. break;
  1706. }
  1707. }
  1708. model.setValue("/root/send/basecdcnts", model.getValue("/root/init/cmbinfo/operationlist/basecdcnts") );
  1709. model.setValue("/root/send/basecd", basecd );
  1710. submit("TRAER14006");
  1711. model.setValue("/root/send/basecdcnts","");
  1712. model.setValue("/root/send/basecd","");
  1713. ]]>
  1714. </script>
  1715. </select1>
  1716. </case>
  1717. <case id="case3">
  1718. <caption id="caption3" class="tit_2" style="left:0px; top:40px; width:90px; height:14px; ">Staff</caption>
  1719. <line id="line5" class="line_3" style="x1:0px; y1:24px; x2:424px; y2:24px; "/>
  1720. <line id="line6" class="line_1" style="x1:0px; y1:55px; x2:424px; y2:55px; "/>
  1721. <caption id="caption6" class="cell_1" style="left:0px; top:0px; width:114px; height:23px; vertical-align:middle; ">Staff 분류</caption>
  1722. <datagrid id="grd_staff" nodeset="/root/main/ordlist2/stafflist" caption="Staff 명" colsep="^" colwidth="384" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:60px; width:424px; height:615px; ">
  1723. <col ref="basecdcnts"/>
  1724. <col ref="choi1"/>
  1725. <script type="javascript" ev:event="ondblclick">
  1726. <![CDATA[
  1727. var aftertxt = "";
  1728. var addtxt = model.getValue("/root/main/ordlist2/stafflist[" + grd_staff.row + "]/basecdcnts");
  1729. if (btn_case6.selected == true){
  1730. // ANGIO 기존에 저장된 값이 있으면 유지하고, 뒤에 새로운 값을 붙여준다
  1731. if (model.getValue("/root/main/angioep/wrtecnts") =="") {
  1732. model.setValue("/root/main/angioep/wrtecnts", model.getValue("/root/main/ordlist2/stafflist[" + grd_staff.row + "]/basecdcnts") );
  1733. }else{
  1734. //aftertxt = model.getValue("/root/main/angioep/wrtecnts") + "\n";
  1735. //aftertxt = aftertxt + addtxt;
  1736. aftertxt = model.getValue("/root/main/angioep/wrtecnts");
  1737. aftertxt = aftertxt + " " + addtxt;
  1738. model.setValue("/root/main/angioep/wrtecnts", aftertxt);
  1739. }
  1740. }else if (btn_case7.selected == true){
  1741. // EP 기존에 저장된 값이 있으면 유지하고, 뒤에 새로운 값을 붙여준다
  1742. if (model.getValue("/root/main/ep/wrtecnts") =="") {
  1743. model.setValue("/root/main/ep/wrtecnts", model.getValue("/root/main/ordlist2/stafflist[" + grd_staff.row + "]/basecdcnts") );
  1744. }else{
  1745. aftertxt = model.getValue("/root/main/ep/wrtecnts");
  1746. aftertxt = aftertxt + " " + addtxt;
  1747. model.setValue("/root/main/ep/wrtecnts", aftertxt);
  1748. }
  1749. }
  1750. model.refresh();
  1751. ]]>
  1752. </script>
  1753. </datagrid>
  1754. <select1 id="cmb_staff" ref="/root/init/cmbinfo/stafflist" appearance="minimal" style="left:116px; top:3px; width:304px; height:19px; ">
  1755. <choices>
  1756. <itemset nodeset="/root/init/cmbinfo/stafflist">
  1757. <label ref="basecdflagdesc"/>
  1758. <value ref="basecd"/>
  1759. </itemset>
  1760. </choices>
  1761. <script type="javascript" ev:event="xforms-value-changed">
  1762. <![CDATA[
  1763. // 아이템 갯수만큼 체크하면서 선택된 Value의 값과 동일한 순번의 코드를 가져오기 위해.
  1764. // 비교하지 않으면 무조건 첫번째 값을 가져오네.
  1765. for(i = 1; i <= cmb_staff.length; i++){
  1766. if(cmb_staff.value == model.getValue("/root/init/cmbinfo/stafflist["+ i +"]/basecd")){
  1767. var basecd = model.getValue("/root/init/cmbinfo/stafflist["+ i +"]/basecd");
  1768. break;
  1769. }
  1770. }
  1771. model.setValue("/root/send/basecdcnts", model.getValue("/root/init/cmbinfo/stafflist/basecdcnts") );
  1772. model.setValue("/root/send/basecd", basecd );
  1773. submit("TRAER14006");
  1774. model.setValue("/root/send/basecdcnts","");
  1775. model.setValue("/root/send/basecd","");
  1776. ]]>
  1777. </script>
  1778. </select1>
  1779. </case>
  1780. <case id="case4">
  1781. <caption id="caption42" class="cell_1" style="left:0px; top:0px; width:114px; height:23px; vertical-align:middle; ">물품분류</caption>
  1782. <line id="line17" class="line_1" style="x1:0px; y1:25px; x2:424px; y2:25px; "/>
  1783. <datagrid id="grd_sheath" nodeset="/root/main/ordlist2/sheathlist" visibility="hidden" caption="SHEATH" colsep="^" colwidth="384" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:30px; width:100px; height:35px; ">
  1784. <col ref="basecdcnts"/>
  1785. <col ref="choi1"/>
  1786. </datagrid>
  1787. <datagrid id="grd_stjude" nodeset="/root/main/lvmdlcdlist/list" caption="1차분류^basesuppdeptcd_h^basecd_h^basecdcnts_h" colsep="^" colwidth="384, 100, 100, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:30px; width:424px; height:230px; ">
  1788. <col ref="basecdflagdesc"/>
  1789. <col ref="basesuppdeptcd" visibility="hidden"/>
  1790. <col ref="basecd" visibility="hidden"/>
  1791. <col ref="basecdcnts" visibility="hidden"/>
  1792. <script type="javascript" ev:event="onclick">
  1793. <![CDATA[
  1794. // 아이템 갯수만큼 체크하면서 선택된 Value의 값과 동일한 순번의 코드를 가져오기 위해
  1795. // 비교하지 않으면 무조건 첫번째 값을 가져오네
  1796. for(i = 1; i <= cmb_sheath.length; i++){
  1797. if(cmb_sheath.value == model.getValue("/root/init/cmbinfo/sheathlist["+ i +"]/basecd")){
  1798. var basecd = model.getValue("/root/init/cmbinfo/sheathlist["+ i +"]/basecd");
  1799. break;
  1800. }
  1801. }
  1802. if (grd_stjude.isCell(event.target) && grd_stjude.row >= grd_stjude.fixedRows) {
  1803. var suppdeptcd = model.getValue("/root/send/globalinstance/instance1");
  1804. var lrgcd = basecd;
  1805. var mdlcd = model.getValue("/root/main/lvmdlcdlist/list[" + grd_stjude.row + "]/basecd"); // Level 그리드 소분류 코드
  1806. model.makeValue("/root/send/lrgcd", lrgcd);
  1807. model.makeValue("/root/send/mdlcd", mdlcd);
  1808. model.removeNodeset("/root/main/lvsmlcdlist/partdetlcd"); // 코드상세내역(Lv.2-1 초기화)
  1809. submit("TRAER14008"); // 선택된 중분류 코드를 기준으로 상세내역 가져오기
  1810. model.refresh();
  1811. }
  1812. ]]>
  1813. </script>
  1814. </datagrid>
  1815. <datagrid id="grd_stjudedetal" nodeset="/root/main/lvsmlcdlist/partdetlcd" caption="2차분류" colsep="^" colwidth="384" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:270px; width:424px; height:400px; ">
  1816. <col ref="basecdcnts"/>
  1817. <script type="javascript" ev:event="ondblclick">
  1818. <![CDATA[
  1819. var aftertxt = "";
  1820. var addtxt = model.getValue("/root/main/lvsmlcdlist/partdetlcd[" + grd_stjudedetal.row + "]/basecdcnts");
  1821. if (btn_case6.selected == true){
  1822. // ANGIO 기존에 저장된 값이 있으면 유지하고, 뒤에 새로운 값을 붙여준다
  1823. if (model.getValue("/root/main/angioep/wrtecnts") =="") {
  1824. model.setValue("/root/main/angioep/wrtecnts", model.getValue("/root/main/lvsmlcdlist/partdetlcd[" + grd_stjudedetal.row + "]/basecdcnts") );
  1825. }else{
  1826. aftertxt = model.getValue("/root/main/angioep/wrtecnts");
  1827. aftertxt = aftertxt + " " + addtxt;
  1828. model.setValue("/root/main/angioep/wrtecnts", aftertxt);
  1829. }
  1830. }else if (btn_case7.selected == true){
  1831. // EP 기존에 저장된 값이 있으면 유지하고, 뒤에 새로운 값을 붙여준다
  1832. if (model.getValue("/root/main/cath/wrtecnts") =="") {
  1833. model.setValue("/root/main/cath/wrtecnts", model.getValue("/root/main/lvsmlcdlist/partdetlcd[" + grd_stjudedetal.row + "]/basecdcnts") );
  1834. }else{
  1835. aftertxt = model.getValue("/root/main/cath/wrtecnts");
  1836. aftertxt = aftertxt + " " + addtxt;
  1837. model.setValue("/root/main/cath/wrtecnts", aftertxt);
  1838. }
  1839. }else if (btn_case8.selected == true){
  1840. // EP 기존에 저장된 값이 있으면 유지하고, 뒤에 새로운 값을 붙여준다
  1841. if (model.getValue("/root/main/ep/wrtecnts") =="") {
  1842. model.setValue("/root/main/ep/wrtecnts", model.getValue("/root/main/lvsmlcdlist/partdetlcd[" + grd_stjudedetal.row + "]/basecdcnts") );
  1843. }else{
  1844. aftertxt = model.getValue("/root/main/ep/wrtecnts");
  1845. aftertxt = aftertxt + " " + addtxt;
  1846. model.setValue("/root/main/ep/wrtecnts", aftertxt);
  1847. }
  1848. }else if (btn_case9.selected == true){
  1849. // EP 기존에 저장된 값이 있으면 유지하고, 뒤에 새로운 값을 붙여준다
  1850. if (model.getValue("/root/main/pm/wrtecnts") =="") {
  1851. model.setValue("/root/main/pm/wrtecnts", model.getValue("/root/main/lvsmlcdlist/partdetlcd[" + grd_stjudedetal.row + "]/basecdcnts") );
  1852. }else{
  1853. aftertxt = model.getValue("/root/main/pm/wrtecnts");
  1854. aftertxt = aftertxt + " " + addtxt;
  1855. model.setValue("/root/main/pm/wrtecnts", aftertxt);
  1856. }
  1857. }
  1858. model.refresh();
  1859. ]]>
  1860. </script>
  1861. </datagrid>
  1862. <select1 id="cmb_sheath" ref="/root/init/cmbinfo/sheathlist" appearance="minimal" style="left:116px; top:3px; width:304px; height:19px; ">
  1863. <choices>
  1864. <itemset nodeset="/root/init/cmbinfo/sheathlist">
  1865. <label ref="basecdflagdesc"/>
  1866. <value ref="basecd"/>
  1867. </itemset>
  1868. </choices>
  1869. <script type="javascript" ev:event="xforms-value-changed">
  1870. <![CDATA[
  1871. // 아이템 갯수만큼 체크하면서 선택된 Value의 값과 동일한 순번의 코드를 가져오기 위해
  1872. // 비교하지 않으면 무조건 첫번째 값을 가져오네.
  1873. for(i = 1; i <= cmb_sheath.length; i++){
  1874. if(cmb_sheath.value == model.getValue("/root/init/cmbinfo/sheathlist["+ i +"]/basecd")){
  1875. var basecd = model.getValue("/root/init/cmbinfo/sheathlist["+ i +"]/basecd");
  1876. break;
  1877. }
  1878. }
  1879. // 숨겨져있는 디테일 가져오기 (현재는 사용하지 않는 정보임)
  1880. model.setValue("/root/send/basecdcnts", model.getValue("/root/init/cmbinfo/sheathlist/basecdcnts") );
  1881. model.setValue("/root/send/basecd", basecd );
  1882. submit("TRAER14006"); // 코드 상세네역(Lv.2) 리스트 가져오기
  1883. model.setValue("/root/send/basecdcnts","");
  1884. model.setValue("/root/send/basecd","");
  1885. // St jude 선택시 Detail 리스트 가져오기 위한 셋팅정보 설정
  1886. var lrgcd = basecd;
  1887. var mdlcd = model.getValue("/root/init/cmbinfo/sheathlist/basecdcnts");
  1888. var partdetlcd = (lrgcd + mdlcd);
  1889. //alert("partdetlcd : " + partdetlcd)
  1890. model.makeValue("/root/send/lrgcd", lrgcd);
  1891. model.makeValue("/root/send/mdlcd", mdlcd);
  1892. model.makeValue("/root/send/partdetlcd", partdetlcd);
  1893. submit("TRAER14007"); // 선택된 중분류 코드를 기준으로 소분류 Level 1-1 상세내역 가져오기
  1894. model.removeNodeset("/root/main/lvsmlcdlist/partdetlcd"); // 코드상세내역(Lv.2-1 초기화)
  1895. ]]>
  1896. </script>
  1897. </select1>
  1898. </case>
  1899. <case id="case5">
  1900. <caption id="caption7" class="tit_2" style="left:0px; top:40px; width:94px; height:14px; ">Medication</caption>
  1901. <caption id="caption8" class="cell_1" style="left:0px; top:0px; width:114px; height:23px; vertical-align:middle; ">Medication 분류</caption>
  1902. <line id="line7" class="line_3" style="x1:0px; y1:24px; x2:424px; y2:24px; "/>
  1903. <line id="line8" class="line_1" style="x1:0px; y1:55px; x2:424px; y2:55px; "/>
  1904. <datagrid id="grd_medication" nodeset="/root/main/ordlist2/medicationlist" caption="Medication^choi1_h^UNIT^기타" colsep="^" colwidth="254, 55, 50, 40" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:60px; width:424px; height:615px; ">
  1905. <col ref="basecdcnts"/>
  1906. <col ref="choi1" visibility="hidden"/>
  1907. <script type="javascript" ev:event="ondblclick">
  1908. <![CDATA[
  1909. var aftertxt = "";
  1910. var addtxt = model.getValue("/root/main/ordlist2/medicationlist[" + grd_medication.row + "]/basecdcnts");
  1911. if (btn_case6.selected == true){
  1912. // ANGIO 기존에 저장된 값이 있으면 유지하고, 뒤에 새로운 값을 붙여준다
  1913. if (model.getValue("/root/main/angioep/wrtecnts") =="") {
  1914. model.setValue("/root/main/angioep/wrtecnts", model.getValue("/root/main/ordlist2/medicationlist[" + grd_medication.row + "]/basecdcnts") );
  1915. }else{
  1916. aftertxt = model.getValue("/root/main/angioep/wrtecnts");
  1917. aftertxt = aftertxt + " " + addtxt;
  1918. model.setValue("/root/main/angioep/wrtecnts", aftertxt);
  1919. }
  1920. }else if (btn_case7.selected == true){
  1921. // EP 기존에 저장된 값이 있으면 유지하고, 뒤에 새로운 값을 붙여준다
  1922. if (model.getValue("/root/main/cath/wrtecnts") =="") {
  1923. model.setValue("/root/main/cath/wrtecnts", model.getValue("/root/main/ordlist2/medicationlist[" + grd_medication.row + "]/basecdcnts") );
  1924. }else{
  1925. aftertxt = model.getValue("/root/main/cath/wrtecnts");
  1926. aftertxt = aftertxt + " " + addtxt;
  1927. model.setValue("/root/main/cath/wrtecnts", aftertxt);
  1928. }
  1929. }else if (btn_case8.selected == true){
  1930. // EP 기존에 저장된 값이 있으면 유지하고, 뒤에 새로운 값을 붙여준다
  1931. if (model.getValue("/root/main/ep/wrtecnts") =="") {
  1932. model.setValue("/root/main/ep/wrtecnts", model.getValue("/root/main/ordlist2/medicationlist[" + grd_medication.row + "]/basecdcnts") );
  1933. }else{
  1934. aftertxt = model.getValue("/root/main/ep/wrtecnts");
  1935. aftertxt = aftertxt + " " + addtxt;
  1936. model.setValue("/root/main/ep/wrtecnts", aftertxt);
  1937. }
  1938. }else if (btn_case9.selected == true){
  1939. // EP 기존에 저장된 값이 있으면 유지하고, 뒤에 새로운 값을 붙여준다
  1940. if (model.getValue("/root/main/pm/wrtecnts") =="") {
  1941. model.setValue("/root/main/pm/wrtecnts", model.getValue("/root/main/ordlist2/medicationlist[" + grd_medication.row + "]/basecdcnts") );
  1942. }else{
  1943. aftertxt = model.getValue("/root/main/pm/wrtecnts");
  1944. aftertxt = aftertxt + " " + addtxt;
  1945. model.setValue("/root/main/pm/wrtecnts", aftertxt);
  1946. }
  1947. }
  1948. model.refresh();
  1949. ]]>
  1950. </script>
  1951. </datagrid>
  1952. <select1 id="cmb_medication" ref="/root/init/cmbinfo/medicalist" appearance="minimal" style="left:116px; top:3px; width:299px; height:19px; ">
  1953. <choices>
  1954. <itemset nodeset="/root/init/cmbinfo/medicalist">
  1955. <label ref="basecdflagdesc"/>
  1956. <value ref="basecd"/>
  1957. </itemset>
  1958. </choices>
  1959. <script type="javascript" ev:event="xforms-value-changed">
  1960. <![CDATA[
  1961. // 아이템 갯수만큼 체크하면서 선택된 Value의 값과 동일한 순번의 코드를 가져오기 위해.
  1962. // 비교하지 않으면 무조건 첫번째 값을 가져오네.
  1963. for(i = 1; i <= cmb_medication.length; i++){
  1964. if(cmb_medication.value == model.getValue("/root/init/cmbinfo/medicalist["+ i +"]/basecd")){
  1965. var basecd = model.getValue("/root/init/cmbinfo/medicalist["+ i +"]/basecd");
  1966. break;
  1967. }
  1968. }
  1969. model.setValue("/root/send/basecdcnts", model.getValue("/root/init/cmbinfo/medicalist/basecdcnts") );
  1970. model.setValue("/root/send/basecd", basecd );
  1971. submit("TRAER14006");
  1972. model.setValue("/root/send/basecdcnts","");
  1973. model.setValue("/root/send/basecd","");
  1974. ]]>
  1975. </script>
  1976. </select1>
  1977. </case>
  1978. </switch>
  1979. <line id="line9" class="line_1" style="x1:450px; y1:78px; x2:1190px; y2:78px; "/>
  1980. <switch id="switch2" style="left:450px; top:83px; width:740px; height:647px; ">
  1981. <case id="case6">
  1982. <line id="line10" class="line_3" style="x1:2px; y1:26px; x2:735px; y2:26px; "/>
  1983. <caption id="caption9" class="tit_2" style="left:2px; top:35px; width:162px; height:13px; ">door to balloon</caption>
  1984. <line id="line12" class="line_1" style="x1:0px; y1:50px; x2:733px; y2:50px; "/>
  1985. <caption id="caption10" class="tit_2" style="left:2px; top:235px; width:162px; height:13px; ">작성기록</caption>
  1986. <line id="line13" class="line_2" style="x1:2px; y1:79px; x2:735px; y2:79px; "/>
  1987. <caption id="caption11" class="cell_1" style="left:0px; top:55px; width:100px; height:23px; vertical-align:middle; ">ER 입실시간</caption>
  1988. <line id="line14" class="line_3" style="x1:2px; y1:106px; x2:735px; y2:106px; "/>
  1989. <caption id="caption12" class="cell_1" style="left:0px; top:2px; width:100px; height:23px; text-align:center; vertical-align:middle; ">study</caption>
  1990. <caption id="caption13" class="cell_1" style="left:365px; top:54px; width:100px; height:23px; text-align:center; vertical-align:middle; ">puncture time</caption>
  1991. <caption id="caption15" class="cell_1" style="left:0px; top:82px; width:100px; height:23px; vertical-align:middle; ">door to balloon</caption>
  1992. <caption id="caption17" class="cell_1" style="left:550px; top:55px; width:100px; height:23px; text-align:center; vertical-align:middle; ">첫balloon시간</caption>
  1993. <line id="line18" class="line_1" style="x1:2px; y1:128px; x2:735px; y2:128px; "/>
  1994. <caption id="caption20" class="cell_1" style="left:220px; top:2px; width:100px; height:23px; text-align:center; vertical-align:middle; ">진단명</caption>
  1995. <line id="line19" class="line_1" style="x1:2px; y1:250px; x2:735px; y2:250px; "/>
  1996. <caption id="caption21" class="cell_1" style="left:182px; top:82px; width:100px; height:23px; text-align:center; vertical-align:middle; ">지연사유</caption>
  1997. <caption id="caption23" class="cell_1" style="left:485px; top:2px; width:100px; height:23px; text-align:center; vertical-align:middle; ">검사종류</caption>
  1998. <textarea id="textarea1" ref="/root/main/angioep/wrtecnts" navindex="12" style="left:102px; top:160px; width:625px; height:60px; "/>
  1999. <caption id="caption28" class="tit_2" style="left:2px; top:113px; width:93px; height:13px; ">작성 내용</caption>
  2000. <caption id="caption16" class="cell_1" style="left:182px; top:55px; width:100px; height:23px; text-align:center; vertical-align:middle; ">ER 퇴실시간</caption>
  2001. <line id="line11" class="line_2" style="x1:2px; y1:157px; x2:735px; y2:157px; "/>
  2002. <caption id="caption18" class="cell_1" style="left:0px; top:133px; width:100px; height:23px; text-align:center; vertical-align:middle; ">작성일자</caption>
  2003. <caption id="caption22" class="cell_1" style="left:205px; top:133px; width:100px; height:23px; text-align:center; vertical-align:middle; ">작업시간</caption>
  2004. <caption id="caption41" class="cell_1" style="left:0px; top:160px; width:100px; height:60px; text-align:center; vertical-align:middle; ">작성내용</caption>
  2005. <line id="line15" class="line_3" style="x1:0px; y1:222px; x2:733px; y2:222px; "/>
  2006. <input id="ipt_erouttm" ref="/root/main/angioep/eroutrmtm" navindex="5" format="hh:nn" style="left:285px; top:57px; width:70px; height:19px; text-align:center; "/>
  2007. <input id="ipt_erintm" ref="/root/main/angioep/erinrmtm" navindex="4" format="hh:nn" style="left:102px; top:57px; width:70px; height:19px; text-align:center; "/>
  2008. <input id="ipt_pnutm" ref="/root/main/angioep/puncturetm" navindex="6" format="hh:nn" style="left:468px; top:56px; width:70px; height:19px; text-align:center; "/>
  2009. <input id="ipt_baltm" ref="/root/main/angioep/fstballoontm" navindex="7" format="hh:nn" style="left:653px; top:57px; width:70px; height:19px; text-align:center; "/>
  2010. <input id="ipt_delaytxt" ref="/root/main/angioep/delyresn" navindex="9" style="left:285px; top:85px; width:445px; height:19px; "/>
  2011. <input id="ipt_balloon" ref="/root/main/angioep/doortoballoontm" navindex="8" format="hh:nn" style="left:102px; top:85px; width:70px; height:19px; text-align:center; "/>
  2012. <select1 id="cmb_study" ref="/root/main/angioep/studycd" navindex="1" appearance="minimal" style="left:102px; top:4px; width:105px; height:19px; ">
  2013. <choices>
  2014. <itemset nodeset="/root/init/cmbinfo/studylist">
  2015. <label ref="basecdflagdesc"/>
  2016. <value ref="basecd"/>
  2017. </itemset>
  2018. </choices>
  2019. <script type="javascript" ev:event="xforms-select">
  2020. <![CDATA[
  2021. // 아이템 갯수만큼 체크하면서 선택된 Value의 값과 동일한 순번의 코드를 가져오기 위해.
  2022. // 비교하지 않으면 무조건 첫번째 값을 가져오네. 그래서 체크로직 추가.
  2023. for(i = 1; i <= cmb_study.length; i++){
  2024. if(cmb_study.value == model.getValue("/root/init/cmbinfo/studylist["+ i +"]/basecd")){
  2025. var basecd = model.getValue("/root/init/cmbinfo/studylist["+ i +"]/basecd");
  2026. var basecdflagdesc = model.getValue("/root/init/cmbinfo/studylist["+ i +"]/basecdflagdesc");
  2027. break;
  2028. }
  2029. }
  2030. model.setValue("/root/main/angioep/studycd", basecd);
  2031. model.setValue("/root/main/angioep/studynm", basecdflagdesc);
  2032. ]]>
  2033. </script>
  2034. </select1>
  2035. <select1 id="cmb_diag" ref="/root/main/angioep/diagcd" navindex="2" appearance="minimal" style="left:322px; top:4px; width:150px; height:19px; ">
  2036. <choices>
  2037. <itemset nodeset="/root/init/cmbinfo/diaglist">
  2038. <label ref="basecdflagdesc"/>
  2039. <value ref="basecd"/>
  2040. </itemset>
  2041. </choices>
  2042. <script type="javascript" ev:event="xforms-select">
  2043. <![CDATA[
  2044. // 아이템 갯수만큼 체크하면서 선택된 Value의 값과 동일한 순번의 코드를 가져오기 위해.
  2045. // 비교하지 않으면 무조건 첫번째 값을 가져오네. 그래서 체크로직 추가.
  2046. for(i = 1; i <= cmb_diag.length; i++){
  2047. if(cmb_diag.value == model.getValue("/root/init/cmbinfo/diaglist["+ i +"]/basecd")){
  2048. var basecd = model.getValue("/root/init/cmbinfo/diaglist["+ i +"]/basecd");
  2049. var basecdflagdesc = model.getValue("/root/init/cmbinfo/diaglist["+ i +"]/basecdflagdesc");
  2050. break;
  2051. }
  2052. }
  2053. model.setValue("/root/main/angioep/diagcd", basecd);
  2054. model.setValue("/root/main/angioep/diagnm", basecdflagdesc);
  2055. ]]>
  2056. </script>
  2057. </select1>
  2058. <select1 id="cmb_examkind" ref="/root/main/angioep/examkindcd" navindex="3" appearance="minimal" style="left:587px; top:4px; width:105px; height:19px; ">
  2059. <choices>
  2060. <itemset nodeset="/root/init/cmbinfo/examkindlist">
  2061. <label ref="basecdflagdesc"/>
  2062. <value ref="basecd"/>
  2063. </itemset>
  2064. </choices>
  2065. <script type="javascript" ev:event="xforms-select">
  2066. <![CDATA[
  2067. // 아이템 갯수만큼 체크하면서 선택된 Value의 값과 동일한 순번의 코드를 가져오기 위해.
  2068. // 비교하지 않으면 무조건 첫번째 값을 가져오네. 그래서 체크로직 추가.
  2069. for(i = 1; i <= cmb_examkind.length; i++){
  2070. if(cmb_examkind.value == model.getValue("/root/init/cmbinfo/examkindlist["+ i +"]/basecd")){
  2071. var basecd = model.getValue("/root/init/cmbinfo/examkindlist["+ i +"]/basecd");
  2072. var basecdflagdesc = model.getValue("/root/init/cmbinfo/examkindlist["+ i +"]/basecdflagdesc");
  2073. break;
  2074. }
  2075. }
  2076. model.setValue("/root/main/angioep/examkindcd", basecd);
  2077. model.setValue("/root/main/angioep/examkindnm", basecdflagdesc);
  2078. ]]>
  2079. </script>
  2080. </select1>
  2081. <input id="ipt_wdate" ref="/root/main/angioep/wrtedd" navindex="10" inputtype="date" style="left:102px; top:135px; width:90px; height:19px; "/>
  2082. <input id="ipt_wtime" ref="/root/main/angioep/wrtetm" navindex="11" format="hh:nn" style="left:307px; top:135px; width:70px; height:19px; text-align:center; "/>
  2083. <datagrid id="grd_whistory" nodeset="/root/main/historylist/angiohistory" autoresize="true" caption="일자^시간^작성기록^분류^signno_h" colsep="^" colwidth="88, 54, 485, 80, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:2px; top:255px; width:733px; height:385px; ">
  2084. <col ref="wrtedd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
  2085. <col ref="wrtetm" type="output" format="hh:nn" style="text-align:center; "/>
  2086. <col ref="wrtecnts" type="output"/>
  2087. <col disabled="true" ref="goodclass" type="combo">
  2088. <choices>
  2089. <item>
  2090. <label/>
  2091. <value>N</value>
  2092. </item>
  2093. <item>
  2094. <label>Balloon</label>
  2095. <value>B</value>
  2096. </item>
  2097. <item>
  2098. <label>Puncture</label>
  2099. <value>P</value>
  2100. </item>
  2101. <item>
  2102. <label>재료</label>
  2103. <value>G</value>
  2104. </item>
  2105. <item>
  2106. <label>SEATH INSERTION</label>
  2107. <value>S</value>
  2108. </item>
  2109. </choices>
  2110. </col>
  2111. <col ref="signno" type="output" visibility="hidden"/>
  2112. <script type="javascript" ev:event="ondblclick">
  2113. <![CDATA[
  2114. // 수정하기 위한 Key값 Set
  2115. model.setValue("/root/main/angioep/pid", model.getValue("/root/main/historylist/angiohistory["+ grd_whistory.row +"]/pid") );
  2116. model.setValue("/root/main/angioep/prcpdd", model.getValue("/root/main/historylist/angiohistory["+ grd_whistory.row +"]/prcpdd") );
  2117. model.setValue("/root/main/angioep/suppdeptcd", model.getValue("/root/main/historylist/angiohistory["+ grd_whistory.row +"]/suppdeptcd") );
  2118. model.setValue("/root/main/angioep/execprcpuniqno", model.getValue("/root/main/historylist/angiohistory["+ grd_whistory.row +"]/execprcpuniqno") );
  2119. model.setValue("/root/main/angioep/grupcd", model.getValue("/root/main/historylist/angiohistory["+ grd_whistory.row +"]/grupcd") );
  2120. model.setValue("/root/main/angioep/seq", model.getValue("/root/main/historylist/angiohistory["+ grd_whistory.row +"]/seq") );
  2121. // 저장되었던 변경이 가능한 대상항목 보여주기
  2122. model.setValue("/root/main/angioep/studycd", model.getValue("/root/main/historylist/angiohistory["+ grd_whistory.row +"]/studycd") );
  2123. model.setValue("/root/main/angioep/studynm", model.getValue("/root/main/historylist/angiohistory["+ grd_whistory.row +"]/studynm") );
  2124. model.setValue("/root/main/angioep/diagcd", model.getValue("/root/main/historylist/angiohistory["+ grd_whistory.row +"]/diagcd") );
  2125. model.setValue("/root/main/angioep/diagnm", model.getValue("/root/main/historylist/angiohistory["+ grd_whistory.row +"]/diagnm") );
  2126. model.setValue("/root/main/angioep/examkindcd", model.getValue("/root/main/historylist/angiohistory["+ grd_whistory.row +"]/examkindcd") );
  2127. model.setValue("/root/main/angioep/examkindnm", model.getValue("/root/main/historylist/angiohistory["+ grd_whistory.row +"]/examkindnm") );
  2128. model.setValue("/root/main/angioep/erinrmtm", model.getValue("/root/main/historylist/angiohistory["+ grd_whistory.row +"]/erinrmtm") );
  2129. model.setValue("/root/main/angioep/eroutrmtm", model.getValue("/root/main/historylist/angiohistory["+ grd_whistory.row +"]/eroutrmtm") );
  2130. model.setValue("/root/main/angioep/puncturetm", model.getValue("/root/main/historylist/angiohistory["+ grd_whistory.row +"]/puncturetm") );
  2131. model.setValue("/root/main/angioep/fstballoontm", model.getValue("/root/main/historylist/angiohistory["+ grd_whistory.row +"]/fstballoontm") );
  2132. model.setValue("/root/main/angioep/doortoballoontm", model.getValue("/root/main/historylist/angiohistory["+ grd_whistory.row +"]/doortoballoontm") );
  2133. model.setValue("/root/main/angioep/delyresn", model.getValue("/root/main/historylist/angiohistory["+ grd_whistory.row +"]/delyresn") );
  2134. model.setValue("/root/main/angioep/wrtedd", model.getValue("/root/main/historylist/angiohistory["+ grd_whistory.row +"]/wrtedd") );
  2135. model.setValue("/root/main/angioep/wrtetm", model.getValue("/root/main/historylist/angiohistory["+ grd_whistory.row +"]/wrtetm") );
  2136. model.setValue("/root/main/angioep/goodclass", model.getValue("/root/main/historylist/angiohistory["+ grd_whistory.row +"]/goodclass") );
  2137. model.setValue("/root/main/angioep/wrtecnts", model.getValue("/root/main/historylist/angiohistory["+ grd_whistory.row +"]/wrtecnts") );
  2138. //btn_save.disabled = true; // 저장버튼 비활성화
  2139. btn_del.disabled = false; // 삭제버튼 활성화
  2140. btn_update.disabled = false; // 수정버튼 활성화
  2141. model.refresh();
  2142. ]]>
  2143. </script>
  2144. </datagrid>
  2145. <button id="btn_save" class="btn2_letter2" disabled="true" style="left:693px; top:227px; width:42px; height:19px; ">
  2146. <caption>저장</caption>
  2147. <script type="javascript" ev:event="DOMActivate">
  2148. <![CDATA[
  2149. // 필수항목 입력 체크
  2150. if(AngioCheck() == '0'){
  2151. return;
  2152. }
  2153. if (ipt_wtime.value == "0000"){
  2154. ipt_wtime.value = getCurrentTime().substr(0, 4); // ANGIO 작성시간
  2155. }
  2156. model.copyNode("/root/send/req/data", "/root/main/angioep");
  2157. model.makeValue("/root/send/req/data/m", "i");
  2158. submit("TXAEA14001");
  2159. model.resetInstanceNode("/root/send/req/data");
  2160. DefaultSet(); // 화면 기본값 셋팅 및 환경설정
  2161. // 저장 후 작성기록 재조회하기
  2162. model.makeValue("/root/send/req/data/pid", model.getValue("/root/main/angioep/pid") );
  2163. model.makeValue("/root/send/req/data/prcpdd", model.getValue("/root/main/angioep/prcpdd") );
  2164. model.makeValue("/root/send/req/data/execprcpuniqno", model.getValue("/root/main/angioep/execprcpuniqno") );
  2165. model.makeValue("/root/send/req/data/prcpgenrflag", model.getValue("/root/main/angioep/prcpgenrflag") );
  2166. model.makeValue("/root/send/req/data/cretno", model.getValue("/root/main/angioep/cretno") );
  2167. model.makeValue("/root/send/req/data/orddd", model.getValue("/root/main/angioep/orddd") );
  2168. model.makeValue("/root/send/req/data/grupcd", "ANGIO");
  2169. // 선택된 작성리스트의 상세작성기록 가져오기
  2170. submit("TRAER14009");
  2171. aezfSetRowStyle("grd_whistory", "2" , "0" , "signno" , "bigger" );
  2172. model.refresh();
  2173. ]]>
  2174. </script>
  2175. </button>
  2176. <button id="btn_del" class="btn2_letter2" disabled="true" style="left:650px; top:227px; width:42px; height:19px; ">
  2177. <caption>삭제</caption>
  2178. <script type="javascript" ev:event="DOMActivate">
  2179. <![CDATA[
  2180. model.copyNode("/root/send/req/data", "/root/main/angioep");
  2181. model.makeValue("/root/send/req/data/m", "d");
  2182. submit("TXAEA14001");
  2183. model.resetInstanceNode("/root/send/req/data");
  2184. DefaultSet(); // 화면 기본값 셋팅 및 환경설정
  2185. // 저장 후 작성기록 재조회하기
  2186. model.makeValue("/root/send/req/data/pid", model.getValue("/root/main/angioep/pid") );
  2187. model.makeValue("/root/send/req/data/prcpdd", model.getValue("/root/main/angioep/prcpdd") );
  2188. model.makeValue("/root/send/req/data/execprcpuniqno", model.getValue("/root/main/angioep/execprcpuniqno") );
  2189. model.makeValue("/root/send/req/data/prcpgenrflag", model.getValue("/root/main/angioep/prcpgenrflag") );
  2190. model.makeValue("/root/send/req/data/cretno", model.getValue("/root/main/angioep/cretno") );
  2191. model.makeValue("/root/send/req/data/orddd", model.getValue("/root/main/angioep/orddd") );
  2192. model.makeValue("/root/send/req/data/grupcd", "ANGIO");
  2193. // 선택된 작성리스트의 상세작성기록 가져오기
  2194. submit("TRAER14009");
  2195. aezfSetRowStyle("grd_whistory", "2" , "0" , "signno" , "bigger" );
  2196. model.refresh();
  2197. ]]>
  2198. </script>
  2199. </button>
  2200. <button id="btn_update" class="btn2_letter2" disabled="true" style="left:606px; top:227px; width:42px; height:19px; ">
  2201. <caption>수정</caption>
  2202. <script type="javascript" ev:event="DOMActivate">
  2203. <![CDATA[
  2204. // 필수항목 입력 체크
  2205. if(AngioCheck() == '0'){
  2206. return;
  2207. }
  2208. model.copyNode("/root/send/req/data", "/root/main/angioep");
  2209. model.makeValue("/root/send/req/data/m", "u");
  2210. submit("TXAEA14001");
  2211. model.resetInstanceNode("/root/send/req/data");
  2212. DefaultSet(); // 화면 기본값 셋팅 및 환경설정
  2213. // 저장 후 작성기록 재조회하기
  2214. model.makeValue("/root/send/req/data/pid", model.getValue("/root/main/angioep/pid") );
  2215. model.makeValue("/root/send/req/data/prcpdd", model.getValue("/root/main/angioep/prcpdd") );
  2216. model.makeValue("/root/send/req/data/execprcpuniqno", model.getValue("/root/main/angioep/execprcpuniqno") );
  2217. model.makeValue("/root/send/req/data/prcpgenrflag", model.getValue("/root/main/angioep/prcpgenrflag") );
  2218. model.makeValue("/root/send/req/data/cretno", model.getValue("/root/main/angioep/cretno") );
  2219. model.makeValue("/root/send/req/data/orddd", model.getValue("/root/main/angioep/orddd") );
  2220. model.makeValue("/root/send/req/data/grupcd", "ANGIO");
  2221. // 선택된 작성리스트의 상세작성기록 가져오기
  2222. submit("TRAER14009");
  2223. aezfSetRowStyle("grd_whistory", "2" , "0" , "signno" , "bigger" );
  2224. model.refresh();
  2225. ]]>
  2226. </script>
  2227. </button>
  2228. <caption id="caption32" class="cell_1" style="left:400px; top:133px; width:100px; height:23px; text-align:center; vertical-align:middle; ">분류</caption>
  2229. <select1 id="combo1" ref="/root/main/angioep/goodclass" appearance="minimal" style="left:502px; top:135px; width:100px; height:19px; ">
  2230. <choices>
  2231. <item>
  2232. <label/>
  2233. <value>N</value>
  2234. </item>
  2235. <item>
  2236. <label>Balloon</label>
  2237. <value>B</value>
  2238. </item>
  2239. <item>
  2240. <label>Puncture</label>
  2241. <value>P</value>
  2242. </item>
  2243. <item>
  2244. <label>재료</label>
  2245. <value>G</value>
  2246. </item>
  2247. <item>
  2248. <label>SEATH INSERTION</label>
  2249. <value>S</value>
  2250. </item>
  2251. </choices>
  2252. </select1>
  2253. </case>
  2254. <case id="case7" style="left:0px; top:0px; width:738px; height:645px; ">
  2255. <line id="line20" class="line_3" style="x1:0px; y1:26px; x2:733px; y2:26px; "/>
  2256. <caption id="caption24" class="cell_1" style="left:0px; top:2px; width:100px; height:23px; text-align:center; vertical-align:middle; ">진단명</caption>
  2257. <caption id="caption25" class="cell_1" style="left:220px; top:2px; width:100px; height:23px; text-align:center; vertical-align:middle; ">검사종류</caption>
  2258. <caption id="caption30" class="tit_2" style="left:2px; top:30px; width:162px; height:13px; ">Arrthmia Infomation</caption>
  2259. <caption id="caption31" class="tit_2" style="left:2px; top:300px; width:110px; height:13px; ">작성기록</caption>
  2260. <line id="line28" class="line_1" style="x1:0px; y1:200px; x2:733px; y2:200px; "/>
  2261. <line id="line29" class="line_1" style="x1:0px; y1:315px; x2:733px; y2:315px; "/>
  2262. <button id="btn_epupdate" class="btn2_letter2" disabled="true" style="left:601px; top:295px; width:42px; height:19px; ">
  2263. <caption>수정</caption>
  2264. <script type="javascript" ev:event="DOMActivate">
  2265. <![CDATA[
  2266. // 필수항목 입력 체크
  2267. if(EpCheck() == '0'){
  2268. return;
  2269. }
  2270. if (ipt_epwrte.value == "0000"){
  2271. ipt_epwrte.value = getCurrentDate(); // EP 작성일자(숨겨진항목)
  2272. }
  2273. if (ipt_epwrtetm.value == "0000"){
  2274. //ipt_epwrtetm.value = getCurrentTime().substr(0, 4); // EP 작업시간
  2275. ipt_epwrtetm.value = getCurrentTime(); // EP 작업시간
  2276. }
  2277. model.copyNode("/root/send/req/data", "/root/main/ep");
  2278. model.makeValue("/root/send/req/data/m", "u");
  2279. submit("TXAEA14001");
  2280. model.resetInstanceNode("/root/send/req/data");
  2281. DefaultSet(); // 화면 기본값 셋팅 및 환경설정
  2282. // 저장 후 작성기록 재조회하기
  2283. model.makeValue("/root/send/req/data/pid", model.getValue("/root/main/ep/pid") );
  2284. model.makeValue("/root/send/req/data/prcpdd", model.getValue("/root/main/ep/prcpdd") );
  2285. model.makeValue("/root/send/req/data/execprcpuniqno", model.getValue("/root/main/ep/execprcpuniqno") );
  2286. model.makeValue("/root/send/req/data/prcpgenrflag", model.getValue("/root/main/ep/prcpgenrflag") );
  2287. model.makeValue("/root/send/req/data/cretno", model.getValue("/root/main/ep/cretno") );
  2288. model.makeValue("/root/send/req/data/orddd", model.getValue("/root/main/ep/orddd") );
  2289. model.makeValue("/root/send/req/data/grupcd", "EP");
  2290. // 선택된 작성리스트의 상세작성기록 가져오기
  2291. submit("TRAER14009");
  2292. // 조회된 상세내역이 인증된 상태라면 색상으로 표시 함
  2293. aezfSetRowStyle("grd_ephistory", "2" , "0" , "signno" , "bigger" );
  2294. // 기록횟수 및 시간정보 가져오기
  2295. submit("TRAER14011");
  2296. model.setValue("/root/main/ep/ablationcnt", model.getValue("/root/hidden/ablationinfo/ablationcnt") ); // ABLATION횟수
  2297. model.setValue("/root/main/ep/ablationtm", model.getValue("/root/hidden/ablationinfo/ablationtm") ); // ABLATION시간
  2298. model.setValue("/root/main/ep/ablationavg", model.getValue("/root/hidden/ablationinfo/ablationavg") ); // 평균ABLATION시간
  2299. model.setValue("/root/main/ep/totdrugqty", model.getValue("/root/hidden/ablationinfo/totdrugqty") ); // 총용량
  2300. model.refresh();
  2301. ]]>
  2302. </script>
  2303. </button>
  2304. <button id="btn_epdel" class="btn2_letter2" disabled="true" style="left:645px; top:295px; width:42px; height:19px; ">
  2305. <caption>삭제</caption>
  2306. <script type="javascript" ev:event="DOMActivate">
  2307. <![CDATA[
  2308. model.copyNode("/root/send/req/data", "/root/main/ep");
  2309. model.makeValue("/root/send/req/data/m", "d");
  2310. submit("TXAEA14001");
  2311. model.resetInstanceNode("/root/send/req/data");
  2312. DefaultSet(); // 화면 기본값 셋팅 및 환경설정
  2313. // 삭제 후 작성기록 재조회하기
  2314. model.makeValue("/root/send/req/data/pid", model.getValue("/root/main/ep/pid") );
  2315. model.makeValue("/root/send/req/data/prcpdd", model.getValue("/root/main/ep/prcpdd") );
  2316. model.makeValue("/root/send/req/data/execprcpuniqno", model.getValue("/root/main/ep/execprcpuniqno") );
  2317. model.makeValue("/root/send/req/data/prcpgenrflag", model.getValue("/root/main/ep/prcpgenrflag") );
  2318. model.makeValue("/root/send/req/data/cretno", model.getValue("/root/main/ep/cretno") );
  2319. model.makeValue("/root/send/req/data/orddd", model.getValue("/root/main/ep/orddd") );
  2320. model.makeValue("/root/send/req/data/grupcd", "EP");
  2321. // 선택된 작성리스트의 상세작성기록 가져오기
  2322. submit("TRAER14009");
  2323. // 조회된 상세내역이 인증된 상태라면 색상으로 표시 함
  2324. aezfSetRowStyle("grd_ephistory", "2" , "0" , "signno" , "bigger" );
  2325. // 기록횟수 및 시간정보 가져오기
  2326. submit("TRAER14011");
  2327. model.setValue("/root/main/ep/ablationcnt", model.getValue("/root/hidden/ablationinfo/ablationcnt") ); // ABLATION횟수
  2328. model.setValue("/root/main/ep/ablationtm", model.getValue("/root/hidden/ablationinfo/ablationtm") ); // ABLATION시간
  2329. model.setValue("/root/main/ep/ablationavg", model.getValue("/root/hidden/ablationinfo/ablationavg") ); // 평균ABLATION시간
  2330. model.setValue("/root/main/ep/totdrugqty", model.getValue("/root/hidden/ablationinfo/totdrugqty") ); // 총용량
  2331. model.refresh();
  2332. ]]>
  2333. </script>
  2334. </button>
  2335. <caption id="caption2" class="cell_1" style="left:0px; top:50px; width:100px; height:23px; text-align:center; vertical-align:middle; ">부정맥종류</caption>
  2336. <caption id="caption27" class="cell_1" style="left:435px; top:50px; width:50px; height:23px; text-align:center; vertical-align:middle; ">TCL</caption>
  2337. <caption id="caption43" style="left:690px; top:55px; width:40px; height:20px; ">msec</caption>
  2338. <caption id="caption44" class="tit_2" style="left:2px; top:80px; width:162px; height:13px; ">Medication</caption>
  2339. <caption id="caption45" class="cell_1" style="left:0px; top:100px; width:100px; height:23px; text-align:center; vertical-align:middle; ">약물</caption>
  2340. <caption id="caption46" class="cell_1" style="left:220px; top:100px; width:100px; height:23px; text-align:center; vertical-align:middle; ">투여방법</caption>
  2341. <caption id="caption47" class="cell_1" style="left:435px; top:100px; width:50px; height:23px; text-align:center; vertical-align:middle; ">용량</caption>
  2342. <input id="input3" ref="/root/main/ep/stndunit" disabled="true" navindex="24" style="left:535px; top:103px; width:45px; height:19px; text-align:center; "/>
  2343. <line id="line3" class="line_1" style="x1:0px; y1:45px; x2:733px; y2:45px; "/>
  2344. <line id="line16" class="line_1" style="x1:0px; y1:95px; x2:733px; y2:95px; "/>
  2345. <caption id="caption48" class="tit_2" style="left:2px; top:130px; width:162px; height:14px; ">Ablation Infomation</caption>
  2346. <line id="line21" class="line_1" style="x1:0px; y1:145px; x2:733px; y2:145px; "/>
  2347. <caption id="caption49" class="cell_1" style="left:260px; top:150px; width:100px; height:23px; text-align:center; vertical-align:middle; ">Ablation횟수</caption>
  2348. <input id="input4" ref="/root/main/ep/ablationcnt" disabled="true" navindex="27" maxlength="2" format="99" style="left:365px; top:152px; width:50px; height:19px; text-align:center; "/>
  2349. <caption id="caption50" class="cell_1" style="left:420px; top:150px; width:100px; height:23px; text-align:center; vertical-align:middle; ">Ablation시간</caption>
  2350. <input id="input5" ref="/root/main/ep/ablationtm" disabled="true" navindex="28" format="nn:ss" style="left:525px; top:152px; width:50px; height:19px; text-align:center; "/>
  2351. <caption id="caption51" class="cell_1" style="left:580px; top:150px; width:100px; height:23px; text-align:center; vertical-align:middle; ">평균Ablation시간</caption>
  2352. <input id="input6" ref="/root/main/ep/ablationavg" disabled="true" navindex="29" format="nn:ss" style="left:685px; top:152px; width:50px; height:19px; text-align:center; "/>
  2353. <caption id="caption53" class="tit_2" style="left:2px; top:185px; width:85px; height:13px; ">작성내용</caption>
  2354. <caption id="caption54" class="cell_1" style="left:586px; top:100px; width:52px; height:23px; text-align:center; vertical-align:middle; ">총용량</caption>
  2355. <input id="input14" ref="/root/main/ep/stndunit" disabled="true" navindex="26" style="left:688px; top:103px; width:45px; height:19px; text-align:center; "/>
  2356. <line id="line23" class="line_3" style="x1:0px; y1:74px; x2:733px; y2:74px; "/>
  2357. <line id="line24" class="line_3" style="x1:0px; y1:125px; x2:733px; y2:125px; "/>
  2358. <line id="line25" class="line_3" style="x1:0px; y1:178px; x2:733px; y2:178px; "/>
  2359. <select1 id="cmb_epdiag" ref="/root/main/ep/diagcd" navindex="13" appearance="minimal" style="left:102px; top:3px; width:100px; height:19px; ">
  2360. <choices>
  2361. <itemset nodeset="/root/init/cmbinfo/diaglist">
  2362. <label ref="basecdflagdesc"/>
  2363. <value ref="basecd"/>
  2364. </itemset>
  2365. </choices>
  2366. <script type="javascript" ev:event="xforms-select">
  2367. <![CDATA[
  2368. // 아이템 갯수만큼 체크하면서 선택된 Value의 값과 동일한 순번의 코드를 가져오기 위해.
  2369. // 비교하지 않으면 무조건 첫번째 값을 가져오네. 그래서 체크로직 추가.
  2370. for(i = 1; i <= cmb_epdiag.length; i++){
  2371. if(cmb_epdiag.value == model.getValue("/root/init/cmbinfo/diaglist["+ i +"]/basecd")){
  2372. var basecd = model.getValue("/root/init/cmbinfo/diaglist["+ i +"]/basecd");
  2373. var basecdflagdesc = model.getValue("/root/init/cmbinfo/diaglist["+ i +"]/basecdflagdesc");
  2374. break;
  2375. }
  2376. }
  2377. model.setValue("/root/main/ep/diagcd", basecd);
  2378. model.setValue("/root/main/ep/diagnm", basecdflagdesc);
  2379. ]]>
  2380. </script>
  2381. </select1>
  2382. <select1 id="cmb_epexamkind" ref="/root/main/ep/examkindcd" navindex="14" appearance="minimal" style="left:322px; top:3px; width:100px; height:19px; ">
  2383. <choices>
  2384. <itemset nodeset="/root/init/cmbinfo/examkindlist">
  2385. <label ref="basecdflagdesc"/>
  2386. <value ref="basecd"/>
  2387. </itemset>
  2388. </choices>
  2389. <script type="javascript" ev:event="xforms-select">
  2390. <![CDATA[
  2391. // 아이템 갯수만큼 체크하면서 선택된 Value의 값과 동일한 순번의 코드를 가져오기 위해.
  2392. // 비교하지 않으면 무조건 첫번째 값을 가져오네. 그래서 체크로직 추가.
  2393. for(i = 1; i <= cmb_epexamkind.length; i++){
  2394. if(cmb_epexamkind.value == model.getValue("/root/init/cmbinfo/examkindlist["+ i +"]/basecd")){
  2395. var basecd = model.getValue("/root/init/cmbinfo/examkindlist["+ i +"]/basecd");
  2396. var basecdflagdesc = model.getValue("/root/init/cmbinfo/examkindlist["+ i +"]/basecdflagdesc");
  2397. break;
  2398. }
  2399. }
  2400. model.setValue("/root/main/ep/examkindcd", basecd);
  2401. model.setValue("/root/main/ep/examkindnm", basecdflagdesc);
  2402. ]]>
  2403. </script>
  2404. </select1>
  2405. <select1 id="cmb_arrhythmiacd1" ref="/root/main/ep/arrhythmiacd1" navindex="15" appearance="minimal" style="left:102px; top:52px; width:100px; height:19px; ">
  2406. <choices>
  2407. <itemset nodeset="/root/init/cmbinfo/arrhythmialist">
  2408. <label ref="basecdflagdesc"/>
  2409. <value ref="basecd"/>
  2410. </itemset>
  2411. </choices>
  2412. </select1>
  2413. <select1 id="cmb_arrhythmiacd2" ref="/root/main/ep/arrhythmiacd2" navindex="16" appearance="minimal" style="left:205px; top:52px; width:100px; height:19px; ">
  2414. <choices>
  2415. <itemset nodeset="/root/init/cmbinfo/arrhythmialist">
  2416. <label ref="basecdflagdesc"/>
  2417. <value ref="basecd"/>
  2418. </itemset>
  2419. </choices>
  2420. </select1>
  2421. <select1 id="cmb_arrhythmiacd3" ref="/root/main/ep/arrhythmiacd3" navindex="17" appearance="minimal" style="left:308px; top:52px; width:100px; height:19px; ">
  2422. <choices>
  2423. <itemset nodeset="/root/init/cmbinfo/arrhythmialist">
  2424. <label ref="basecdflagdesc"/>
  2425. <value ref="basecd"/>
  2426. </itemset>
  2427. </choices>
  2428. </select1>
  2429. <input id="ipt_tcl" ref="/root/main/ep/tcl" navindex="18" maxlength="5" format="99999" style="left:488px; top:52px; width:60px; height:19px; text-align:center; "/>
  2430. <input id="ipt_tcl2" ref="/root/main/ep/tcl2" navindex="19" maxlength="5" format="99999" style="left:554px; top:52px; width:60px; height:19px; text-align:center; "/>
  2431. <input id="ipt_tcl3" ref="/root/main/ep/tcl3" navindex="20" maxlength="5" format="99999" style="left:620px; top:52px; width:60px; height:19px; text-align:center; "/>
  2432. <select1 id="cmb_durgkind" ref="/root/main/ep/drugkindcd" navindex="21" appearance="minimal" style="left:102px; top:103px; width:100px; height:19px; ">
  2433. <choices>
  2434. <itemset nodeset="/root/init/cmbinfo/drugkindlist">
  2435. <label ref="basecdflagdesc"/>
  2436. <value ref="basecd"/>
  2437. </itemset>
  2438. </choices>
  2439. <script type="javascript" ev:event="xforms-value-changed">
  2440. <![CDATA[
  2441. // 아이템 갯수만큼 체크하면서 선택된 Value의 값과 동일한 순번의 코드를 가져오기 위해.
  2442. // 비교하지 않으면 무조건 첫번째 값을 가져오네.
  2443. for(i = 1; i <= cmb_durgkind.length; i++){
  2444. if(cmb_durgkind.value == model.getValue("/root/init/cmbinfo/drugkindlist[" + i + "]/basecd")){
  2445. var basecd = model.getValue("/root/init/cmbinfo/drugkindlist[" + i + "]/basecd");
  2446. var basecdcnts = model.getValue("/root/init/cmbinfo/drugkindlist[" + i + "]/basecdcnts");
  2447. break;
  2448. }
  2449. }
  2450. // 조회시 필요한 코드 셋팅
  2451. model.setValue("/root/send/req/choi/partgrupcd", basecdcnts);
  2452. model.setValue("/root/send/req/choi/partcd", basecd);
  2453. submit("TRAER14010"); // 제어코드 항목을 가져온다
  2454. // 선택된 항목을 약물의 기본용량 및 단위를 자동셋팅한다.
  2455. model.setValue("/root/main/ep/drugqty", model.getValue("/root/hidden/choi/choi2") ); // 마스터에 셋팅되어 있는 기본용량
  2456. model.setValue("/root/main/ep/stndunit", model.getValue("/root/hidden/choi/choi3") ); // 단위
  2457. DrugqtySum(); // 선택한 약물에 대한 총용량 보여주기
  2458. model.refresh();
  2459. ]]>
  2460. </script>
  2461. </select1>
  2462. <select1 id="cmb_drugmthd" ref="/root/main/ep/drugmthdcd" navindex="22" appearance="minimal" style="left:325px; top:103px; width:100px; height:19px; ">
  2463. <choices>
  2464. <itemset nodeset="/root/init/cmbinfo/drugmthdlist">
  2465. <label ref="basecdflagdesc"/>
  2466. <value ref="basecd"/>
  2467. </itemset>
  2468. </choices>
  2469. </select1>
  2470. <input id="ipt_drugqty" ref="/root/main/ep/drugqty" navindex="23" maxlength="5" format="99999" style="left:488px; top:103px; width:45px; height:19px; text-align:center; "/>
  2471. <input id="ipt_totdrugqty" ref="/root/main/ep/totdrugqty" disabled="true" navindex="25" maxlength="5" format="99999" style="left:641px; top:103px; width:45px; height:19px; text-align:center; "/>
  2472. <button id="btn_starttime" class="btn1_letter8" disabled="true" style="left:0px; top:152px; width:128px; height:22px; ">
  2473. <caption>Start Time기록</caption>
  2474. <script type="javascript" ev:event="DOMActivate">
  2475. <![CDATA[
  2476. if(EpCheck() == '0'){ // 필수항목 입력 체크
  2477. return;
  2478. }
  2479. Initialization(); //기록 저장시 불필요한 데이터 초기화
  2480. var ablcnt = model.getValue("/root/main/ep/ablationcnt"); //ABLATION횟수
  2481. if (ablcnt == "" || ablcnt == "0"){
  2482. ablcnt = "0";
  2483. }
  2484. ablcnt = parseInt(ablcnt) + 1; // 기록하는 시점에서 현재의 횟수에 1을 증가시킨다
  2485. //var ablcnt = model.getValue("/root/main/ep/ablationcnt"); // 최종 ablation 횟수
  2486. ipt_epwrtetm.value = getCurrentTime();
  2487. model.setValue("/root/main/ep/wrteyn", "S");
  2488. model.setValue("/root/main/ep/ablationcnt", ablcnt);
  2489. model.setValue("/root/main/ep/ablationcnts", "Ablation" + ablcnt + " 시작");
  2490. model.copyNode("/root/send/req/data", "/root/main/ep");
  2491. model.makeValue("/root/send/req/data/m", "i");
  2492. submit("TXAEA14001");
  2493. model.resetInstanceNode("/root/send/req/data");
  2494. // 저장 후 작성기록 재조회하기
  2495. model.makeValue("/root/send/req/data/pid", model.getValue("/root/main/ep/pid") );
  2496. model.makeValue("/root/send/req/data/prcpdd", model.getValue("/root/main/ep/prcpdd") );
  2497. model.makeValue("/root/send/req/data/execprcpuniqno", model.getValue("/root/main/ep/execprcpuniqno") );
  2498. model.makeValue("/root/send/req/data/prcpgenrflag", model.getValue("/root/main/ep/prcpgenrflag") );
  2499. model.makeValue("/root/send/req/data/cretno", model.getValue("/root/main/ep/cretno") );
  2500. model.makeValue("/root/send/req/data/orddd", model.getValue("/root/main/ep/orddd") );
  2501. model.makeValue("/root/send/req/data/grupcd", "EP");
  2502. // 선택된 작성리스트의 상세작성기록 가져오기
  2503. submit("TRAER14009");
  2504. // 조회된 상세내역이 인증된 상태라면 색상으로 표시 함
  2505. aezfSetRowStyle("grd_ephistory", "2" , "0" , "signno" , "bigger" );
  2506. // 기록횟수 및 시간정보 가져오기
  2507. submit("TRAER14011");
  2508. model.setValue("/root/main/ep/ablationcnt", model.getValue("/root/hidden/ablationinfo/ablationcnt") ); // ABLATION횟수
  2509. model.setValue("/root/main/ep/ablationtm", model.getValue("/root/hidden/ablationinfo/ablationtm") ); // ABLATION시간
  2510. model.setValue("/root/main/ep/ablationavg", model.getValue("/root/hidden/ablationinfo/ablationavg") ); // 평균ABLATION시간
  2511. model.setValue("/root/main/ep/totdrugqty", model.getValue("/root/hidden/ablationinfo/totdrugqty") ); // 총용량
  2512. btn_starttime.disabled = true; // Ablation StartTime 비활성화
  2513. btn_endtime.disabled = false; // Ablation EndTime 활성화
  2514. model.refresh();
  2515. //model.setValue("/root/main/ep/ablationcnt", model.getValue("/root/main/historylist/ephistory["+ grd_ephistory.row +"]/ablationcnt") );
  2516. ]]>
  2517. </script>
  2518. </button>
  2519. <button id="btn_endtime" class="btn1_letter7" disabled="true" style="left:130px; top:152px; width:116px; height:22px; ">
  2520. <caption>End Time기록</caption>
  2521. <script type="javascript" ev:event="DOMActivate">
  2522. <![CDATA[
  2523. if(EpCheck() == '0'){ // 필수항목 입력 체크
  2524. return;
  2525. }
  2526. Initialization(); //기록 저장시 불필요한 데이터 초기화
  2527. var ablcnt = model.getValue("/root/main/ep/ablationcnt"); //ABLATION횟수
  2528. if (ablcnt == "" || ablcnt == "0"){
  2529. ablcnt = "1";
  2530. }
  2531. //var ablcnt = model.getValue("/root/main/ep/ablationcnt"); // 최종 ablation 횟수
  2532. ipt_epwrtetm.value = getCurrentTime();
  2533. model.setValue("/root/main/ep/wrteyn", "E");
  2534. model.setValue("/root/main/ep/ablationcnt", ablcnt);
  2535. model.setValue("/root/main/ep/ablationcnts", "Ablation" + ablcnt + " 종료");
  2536. model.copyNode("/root/send/req/data", "/root/main/ep");
  2537. model.makeValue("/root/send/req/data/m", "i");
  2538. submit("TXAEA14001");
  2539. model.resetInstanceNode("/root/send/req/data");
  2540. // 저장 후 작성기록 재조회하기
  2541. model.makeValue("/root/send/req/data/pid", model.getValue("/root/main/ep/pid") );
  2542. model.makeValue("/root/send/req/data/prcpdd", model.getValue("/root/main/ep/prcpdd") );
  2543. model.makeValue("/root/send/req/data/execprcpuniqno", model.getValue("/root/main/ep/execprcpuniqno") );
  2544. model.makeValue("/root/send/req/data/prcpgenrflag", model.getValue("/root/main/ep/prcpgenrflag") );
  2545. model.makeValue("/root/send/req/data/cretno", model.getValue("/root/main/ep/cretno") );
  2546. model.makeValue("/root/send/req/data/orddd", model.getValue("/root/main/ep/orddd") );
  2547. model.makeValue("/root/send/req/data/grupcd", "EP");
  2548. // 선택된 작성리스트의 상세작성기록 가져오기
  2549. submit("TRAER14009");
  2550. // 조회된 상세내역이 인증된 상태라면 색상으로 표시 함
  2551. aezfSetRowStyle("grd_ephistory", "2" , "0" , "signno" , "bigger" );
  2552. // 기록횟수 및 시간정보 가져오기
  2553. submit("TRAER14011");
  2554. model.setValue("/root/main/ep/ablationcnt", model.getValue("/root/hidden/ablationinfo/ablationcnt") ); // ABLATION횟수
  2555. model.setValue("/root/main/ep/ablationtm", model.getValue("/root/hidden/ablationinfo/ablationtm") ); // ABLATION시간
  2556. model.setValue("/root/main/ep/ablationavg", model.getValue("/root/hidden/ablationinfo/ablationavg") ); // 평균ABLATION시간
  2557. model.setValue("/root/main/ep/totdrugqty", model.getValue("/root/hidden/ablationinfo/totdrugqty") ); // 총용량
  2558. btn_starttime.disabled = false; // Ablation StartTime 활성화
  2559. btn_endtime.disabled = true; // Ablation EndTime 비활성화
  2560. model.refresh();
  2561. ]]>
  2562. </script>
  2563. </button>
  2564. <textarea id="txt_epwrtecnts" ref="/root/main/ep/wrtecnts" navindex="33" style="left:102px; top:230px; width:625px; height:60px; "/>
  2565. <datagrid id="grd_ephistory" nodeset="/root/main/historylist/ephistory" autoresize="true" caption="Time^작성기록^Medication^Ablation Infomation^signno_h^signno_h" colsep="^" colwidth="56, 370, 170, 150" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:2px; top:320px; width:733px; height:320px; ">
  2566. <col disabled="true" ref="wrtetm" type="output" format="nn:ss" style="text-align:center; "/>
  2567. <col disabled="true" ref="wrtecnts"/>
  2568. <col disabled="true" ref="medication"/>
  2569. <col disabled="true" ref="ablationcnts"/>
  2570. <script type="javascript" ev:event="ondblclick">
  2571. <![CDATA[
  2572. // 수정하기 위한 Key값 Set
  2573. model.setValue("/root/main/ep/pid", model.getValue("/root/main/historylist/ephistory["+ grd_ephistory.row +"]/pid") );
  2574. model.setValue("/root/main/ep/prcpdd", model.getValue("/root/main/historylist/ephistory["+ grd_ephistory.row +"]/prcpdd") );
  2575. model.setValue("/root/main/ep/suppdeptcd", model.getValue("/root/main/historylist/ephistory["+ grd_ephistory.row +"]/suppdeptcd") );
  2576. model.setValue("/root/main/ep/execprcpuniqno", model.getValue("/root/main/historylist/ephistory["+ grd_ephistory.row +"]/execprcpuniqno") );
  2577. model.setValue("/root/main/ep/grupcd", model.getValue("/root/main/historylist/ephistory["+ grd_ephistory.row +"]/grupcd") );
  2578. model.setValue("/root/main/ep/seq", model.getValue("/root/main/historylist/ephistory["+ grd_ephistory.row +"]/seq") );
  2579. // 저장되었던 변경이 가능한 대상항목 보여주기
  2580. model.setValue("/root/main/ep/diagcd", model.getValue("/root/main/historylist/ephistory["+ grd_ephistory.row +"]/diagcd") );
  2581. model.setValue("/root/main/ep/diagnm", model.getValue("/root/main/historylist/ephistory["+ grd_ephistory.row +"]/diagnm") );
  2582. model.setValue("/root/main/ep/examkindcd", model.getValue("/root/main/historylist/ephistory["+ grd_ephistory.row +"]/examkindcd") );
  2583. model.setValue("/root/main/ep/examkindnm", model.getValue("/root/main/historylist/ephistory["+ grd_ephistory.row +"]/examkindnm") );
  2584. model.setValue("/root/main/ep/arrhythmiacd1", model.getValue("/root/main/historylist/ephistory["+ grd_ephistory.row +"]/arrhythmiacd1") );
  2585. model.setValue("/root/main/ep/arrhythmiacd2", model.getValue("/root/main/historylist/ephistory["+ grd_ephistory.row +"]/arrhythmiacd2") );
  2586. model.setValue("/root/main/ep/arrhythmiacd3", model.getValue("/root/main/historylist/ephistory["+ grd_ephistory.row +"]/arrhythmiacd3") );
  2587. model.setValue("/root/main/ep/tcl", model.getValue("/root/main/historylist/ephistory["+ grd_ephistory.row +"]/tcl") );
  2588. model.setValue("/root/main/ep/tcl2", model.getValue("/root/main/historylist/ephistory["+ grd_ephistory.row +"]/tcl2") );
  2589. model.setValue("/root/main/ep/tcl3", model.getValue("/root/main/historylist/ephistory["+ grd_ephistory.row +"]/tcl3") );
  2590. model.setValue("/root/main/ep/drugkindcd", model.getValue("/root/main/historylist/ephistory["+ grd_ephistory.row +"]/drugkindcd") );
  2591. model.setValue("/root/main/ep/drugmthdcd", model.getValue("/root/main/historylist/ephistory["+ grd_ephistory.row +"]/drugmthdcd") );
  2592. model.setValue("/root/main/ep/drugqty", model.getValue("/root/main/historylist/ephistory["+ grd_ephistory.row +"]/drugqty") );
  2593. model.setValue("/root/main/ep/totdrugqty", model.getValue("/root/main/historylist/ephistory["+ grd_ephistory.row +"]/totdrugqty") );
  2594. model.setValue("/root/main/ep/stndunit", model.getValue("/root/main/historylist/ephistory["+ grd_ephistory.row +"]/stndunit") ); // 단위
  2595. model.setValue("/root/main/ep/wrteyn", model.getValue("/root/main/historylist/ephistory["+ grd_ephistory.row +"]/wrteyn") ); // 기록여부 (Y/N)
  2596. model.setValue("/root/main/ep/ablationcnt", model.getValue("/root/main/historylist/ephistory["+ grd_ephistory.row +"]/ablationcnt") ); //ABLATION횟수
  2597. //model.setValue("/root/main/ep/ablationtm", model.getValue("/root/main/historylist/ephistory["+ grd_ephistory.row +"]/ablationtm") ); //ABLATION시간
  2598. //model.setValue("/root/main/ep/ablationavg", model.getValue("/root/main/historylist/ephistory["+ grd_ephistory.row +"]/ablationavg") ); // 평균ABLATION시간
  2599. model.setValue("/root/main/ep/goodclass", model.getValue("/root/main/historylist/ephistory["+ grd_ephistory.row +"]/goodclass") ); // 분류
  2600. model.setValue("/root/main/ep/wrtedd", model.getValue("/root/main/historylist/ephistory["+ grd_ephistory.row +"]/wrtedd") ); // 작성일자
  2601. model.setValue("/root/main/ep/wrtetm", model.getValue("/root/main/historylist/ephistory["+ grd_ephistory.row +"]/wrtetm") ); // 작성시간
  2602. model.setValue("/root/main/ep/wrtecnts", model.getValue("/root/main/historylist/ephistory["+ grd_ephistory.row +"]/wrtecnts") ); // 작성내용
  2603. //btn_epsave.disabled = true; // 저장버튼 비활성화
  2604. btn_epdel.disabled = false; // 삭제버튼 활성화
  2605. btn_epupdate.disabled = false; // 수정버튼 활성화
  2606. model.refresh();
  2607. ]]>
  2608. </script>
  2609. </datagrid>
  2610. <button id="btn_epsave" class="btn2_letter2" disabled="true" style="left:690px; top:295px; width:42px; height:19px; ">
  2611. <caption>저장</caption>
  2612. <script type="javascript" ev:event="DOMActivate">
  2613. <![CDATA[
  2614. // 필수항목 입력 체크
  2615. if(EpCheck() == '0'){
  2616. return;
  2617. }
  2618. if (ipt_epwrte.value == "0000"){
  2619. ipt_epwrte.value = getCurrentDate(); // EP 작성일자(숨겨진항목)
  2620. }
  2621. if (ipt_epwrtetm.value == "0000"){
  2622. ipt_epwrtetm.value = getCurrentTime(); // EP 작업시간
  2623. }
  2624. //ipt_epwrte.value = getCurrentDate(); // EP 작성일자(숨겨진항목)
  2625. //ipt_epwrtetm.value = getCurrentTime(); // EP 숨겨있는 작성시간
  2626. model.setValue("/root/main/ep/wrteyn", "N"); // 기존Ablation 정보값이 있었다면 초기화
  2627. model.setValue("/root/main/ep/ablationcnt", ""); // 기존Ablation 정보값이 있었다면 초기화
  2628. model.setValue("/root/main/ep/ablationcnts", ""); // 기존Ablation 정보값이 있었다면 초기화
  2629. model.copyNode("/root/send/req/data", "/root/main/ep");
  2630. model.makeValue("/root/send/req/data/m", "i");
  2631. submit("TXAEA14001");
  2632. model.resetInstanceNode("/root/send/req/data");
  2633. DefaultSet(); // 화면 기본값 셋팅 및 환경설정
  2634. // 저장 후 작성기록 재조회하기
  2635. model.makeValue("/root/send/req/data/pid", model.getValue("/root/main/ep/pid") );
  2636. model.makeValue("/root/send/req/data/prcpdd", model.getValue("/root/main/ep/prcpdd") );
  2637. model.makeValue("/root/send/req/data/execprcpuniqno", model.getValue("/root/main/ep/execprcpuniqno") );
  2638. model.makeValue("/root/send/req/data/prcpgenrflag", model.getValue("/root/main/ep/prcpgenrflag") );
  2639. model.makeValue("/root/send/req/data/cretno", model.getValue("/root/main/ep/cretno") );
  2640. model.makeValue("/root/send/req/data/orddd", model.getValue("/root/main/ep/orddd") );
  2641. model.makeValue("/root/send/req/data/grupcd", "EP");
  2642. // 선택된 작성리스트의 상세작성기록 가져오기
  2643. submit("TRAER14009");
  2644. // 조회된 상세내역이 인증된 상태라면 색상으로 표시 함
  2645. aezfSetRowStyle("grd_ephistory", "2" , "0" , "signno" , "bigger" );
  2646. // 기록횟수 및 시간정보 가져오기
  2647. submit("TRAER14011");
  2648. model.setValue("/root/main/ep/ablationcnt", model.getValue("/root/hidden/ablationinfo/ablationcnt") ); // ABLATION횟수
  2649. model.setValue("/root/main/ep/ablationtm", model.getValue("/root/hidden/ablationinfo/ablationtm") ); // ABLATION시간
  2650. model.setValue("/root/main/ep/ablationavg", model.getValue("/root/hidden/ablationinfo/ablationavg") ); // 평균ABLATION시간
  2651. model.setValue("/root/main/ep/totdrugqty", model.getValue("/root/hidden/ablationinfo/totdrugqty") ); // 총용량
  2652. model.refresh();
  2653. ]]>
  2654. </script>
  2655. </button>
  2656. <caption id="caption56" class="cell_1" style="left:390px; top:205px; width:100px; height:23px; text-align:center; vertical-align:middle; ">분류</caption>
  2657. <select1 id="combo2" ref="/root/main/ep/goodclass" navindex="32" appearance="minimal" style="left:492px; top:207px; width:100px; height:19px; ">
  2658. <choices>
  2659. <item>
  2660. <label/>
  2661. <value>N</value>
  2662. </item>
  2663. <item>
  2664. <label>Balloon</label>
  2665. <value>B</value>
  2666. </item>
  2667. <item>
  2668. <label>Puncture</label>
  2669. <value>P</value>
  2670. </item>
  2671. <item>
  2672. <label>재료</label>
  2673. <value>G</value>
  2674. </item>
  2675. <item>
  2676. <label>SEATH INSERTION</label>
  2677. <value>S</value>
  2678. </item>
  2679. </choices>
  2680. </select1>
  2681. <caption id="caption57" class="cell_1" style="left:205px; top:205px; width:100px; height:23px; text-align:center; vertical-align:middle; ">작업시간</caption>
  2682. <input id="ipt_epwrtetm" ref="/root/main/ep/wrtetm" navindex="31" format="nn:ss" style="left:307px; top:207px; width:70px; height:19px; text-align:center; "/>
  2683. <input id="ipt_epwrte" ref="/root/main/ep/wrtedd" navindex="30" inputtype="date" style="left:102px; top:207px; width:90px; height:19px; "/>
  2684. <caption id="caption58" class="cell_1" style="left:0px; top:205px; width:100px; height:23px; text-align:center; vertical-align:middle; ">작성일자</caption>
  2685. <caption id="caption59" class="cell_1" style="left:0px; top:230px; width:100px; height:60px; text-align:center; vertical-align:middle; ">작성내용</caption>
  2686. </case>
  2687. <case id="case8" selected="true">
  2688. <button id="btn_updateag" class="btn2_letter2" disabled="true" style="left:606px; top:382px; width:42px; height:19px; ">
  2689. <caption>수정</caption>
  2690. <script type="javascript" ev:event="DOMActivate">
  2691. <![CDATA[
  2692. // 필수항목 입력 체크
  2693. if(AngioCheck() == '0'){
  2694. return;
  2695. }
  2696. model.copyNode("/root/send/req/data", "/root/main/angioep");
  2697. model.makeValue("/root/send/req/data/m", "u");
  2698. submit("TXAEA14001");
  2699. model.resetInstanceNode("/root/send/req/data");
  2700. // 저장 후 작성기록 재조회하기
  2701. model.makeValue("/root/send/req/data/pid", model.getValue("/root/main/angioep/pid") );
  2702. model.makeValue("/root/send/req/data/prcpdd", model.getValue("/root/main/angioep/prcpdd") );
  2703. model.makeValue("/root/send/req/data/execprcpuniqno", model.getValue("/root/main/angioep/execprcpuniqno") );
  2704. model.makeValue("/root/send/req/data/prcpgenrflag", model.getValue("/root/main/angioep/prcpgenrflag") );
  2705. model.makeValue("/root/send/req/data/cretno", model.getValue("/root/main/angioep/cretno") );
  2706. model.makeValue("/root/send/req/data/orddd", model.getValue("/root/main/angioep/orddd") );
  2707. model.makeValue("/root/send/req/data/grupcd", "ANGIO");
  2708. DefaultSet(); // 화면 기본값 셋팅 및 환경설정
  2709. // 선택된 작성리스트의 상세작성기록 가져오기
  2710. submit("TRAER14009");
  2711. aezfSetRowStyle("grd_historyag", "2" , "0" , "signno" , "bigger" );
  2712. model.refresh();
  2713. ]]>
  2714. </script>
  2715. </button>
  2716. <select1 id="cmb_agexamkind" ref="/root/main/angioep/examkindcd" navindex="3" appearance="minimal" style="left:587px; top:4px; width:105px; height:19px; ">
  2717. <choices>
  2718. <itemset nodeset="/root/init/cmbinfo/examkindlist">
  2719. <label ref="basecdflagdesc"/>
  2720. <value ref="basecd"/>
  2721. </itemset>
  2722. </choices>
  2723. <script type="javascript" ev:event="xforms-select">
  2724. <![CDATA[
  2725. // 아이템 갯수만큼 체크하면서 선택된 Value의 값과 동일한 순번의 코드를 가져오기 위해.
  2726. // 비교하지 않으면 무조건 첫번째 값을 가져오네. 그래서 체크로직 추가.
  2727. for(i = 1; i <= cmb_agexamkind.length; i++){
  2728. if(cmb_agexamkind.value == model.getValue("/root/init/cmbinfo/examkindlist["+ i +"]/basecd")){
  2729. var basecd = model.getValue("/root/init/cmbinfo/examkindlist["+ i +"]/basecd");
  2730. var basecdflagdesc = model.getValue("/root/init/cmbinfo/examkindlist["+ i +"]/basecdflagdesc");
  2731. break;
  2732. }
  2733. }
  2734. model.setValue("/root/main/angioep/examkindcd", basecd);
  2735. model.setValue("/root/main/angioep/examkindnm", basecdflagdesc);
  2736. ]]>
  2737. </script>
  2738. </select1>
  2739. <caption id="caption29" class="cell_1" style="left:0px; top:315px; width:100px; height:60px; text-align:center; vertical-align:middle; ">작성내용</caption>
  2740. <line id="line26" class="line_2" style="x1:0px; y1:312px; x2:733px; y2:312px; "/>
  2741. <select1 id="cmb_agdiag" ref="/root/main/angioep/diagcd" navindex="2" appearance="minimal" style="left:322px; top:4px; width:150px; height:19px; ">
  2742. <choices>
  2743. <itemset nodeset="/root/init/cmbinfo/diaglist">
  2744. <label ref="basecdflagdesc"/>
  2745. <value ref="basecd"/>
  2746. </itemset>
  2747. </choices>
  2748. <script type="javascript" ev:event="xforms-select">
  2749. <![CDATA[
  2750. // 아이템 갯수만큼 체크하면서 선택된 Value의 값과 동일한 순번의 코드를 가져오기 위해.
  2751. // 비교하지 않으면 무조건 첫번째 값을 가져오네. 그래서 체크로직 추가.
  2752. for(i = 1; i <= cmb_agdiag.length; i++){
  2753. if(cmb_agdiag.value == model.getValue("/root/init/cmbinfo/diaglist["+ i +"]/basecd")){
  2754. var basecd = model.getValue("/root/init/cmbinfo/diaglist["+ i +"]/basecd");
  2755. var basecdflagdesc = model.getValue("/root/init/cmbinfo/diaglist["+ i +"]/basecdflagdesc");
  2756. break;
  2757. }
  2758. }
  2759. model.setValue("/root/main/angioep/diagcd", basecd);
  2760. model.setValue("/root/main/angioep/diagnm", basecdflagdesc);
  2761. ]]>
  2762. </script>
  2763. </select1>
  2764. <select1 id="cmb_agstudy" ref="/root/main/angioep/studycd" navindex="1" appearance="minimal" style="left:102px; top:4px; width:105px; height:19px; ">
  2765. <choices>
  2766. <itemset nodeset="/root/init/cmbinfo/studylist">
  2767. <label ref="basecdflagdesc"/>
  2768. <value ref="basecd"/>
  2769. </itemset>
  2770. </choices>
  2771. <script type="javascript" ev:event="xforms-select">
  2772. <![CDATA[
  2773. // 아이템 갯수만큼 체크하면서 선택된 Value의 값과 동일한 순번의 코드를 가져오기 위해.
  2774. // 비교하지 않으면 무조건 첫번째 값을 가져오네. 그래서 체크로직 추가.
  2775. for(i = 1; i <= cmb_agstudy.length; i++){
  2776. if(cmb_agstudy.value == model.getValue("/root/init/cmbinfo/studylist["+ i +"]/basecd")){
  2777. var basecd = model.getValue("/root/init/cmbinfo/studylist["+ i +"]/basecd");
  2778. var basecdflagdesc = model.getValue("/root/init/cmbinfo/studylist["+ i +"]/basecdflagdesc");
  2779. break;
  2780. }
  2781. }
  2782. model.setValue("/root/main/angioep/studycd", basecd);
  2783. model.setValue("/root/main/angioep/studynm", basecdflagdesc);
  2784. ]]>
  2785. </script>
  2786. </select1>
  2787. <caption id="caption60" class="cell_1" style="left:220px; top:2px; width:100px; height:23px; text-align:center; vertical-align:middle; ">진단명</caption>
  2788. <caption id="caption61" class="cell_1" style="left:400px; top:288px; width:100px; height:23px; text-align:center; vertical-align:middle; ">분류</caption>
  2789. <button id="btn_delag" class="btn2_letter2" disabled="true" style="left:650px; top:382px; width:42px; height:19px; ">
  2790. <caption>삭제</caption>
  2791. <script type="javascript" ev:event="DOMActivate">
  2792. <![CDATA[
  2793. model.copyNode("/root/send/req/data", "/root/main/angioep");
  2794. model.makeValue("/root/send/req/data/m", "d");
  2795. submit("TXAEA14001");
  2796. model.resetInstanceNode("/root/send/req/data");
  2797. // 저장 후 작성기록 재조회하기
  2798. model.makeValue("/root/send/req/data/pid", model.getValue("/root/main/angioep/pid") );
  2799. model.makeValue("/root/send/req/data/prcpdd", model.getValue("/root/main/angioep/prcpdd") );
  2800. model.makeValue("/root/send/req/data/execprcpuniqno", model.getValue("/root/main/angioep/execprcpuniqno") );
  2801. model.makeValue("/root/send/req/data/prcpgenrflag", model.getValue("/root/main/angioep/prcpgenrflag") );
  2802. model.makeValue("/root/send/req/data/cretno", model.getValue("/root/main/angioep/cretno") );
  2803. model.makeValue("/root/send/req/data/orddd", model.getValue("/root/main/angioep/orddd") );
  2804. model.makeValue("/root/send/req/data/grupcd", "ANGIO");
  2805. DefaultSet(); // 화면 기본값 셋팅 및 환경설정
  2806. // 선택된 작성리스트의 상세작성기록 가져오기
  2807. submit("TRAER14009");
  2808. aezfSetRowStyle("grd_historyag", "2" , "0" , "signno" , "bigger" );
  2809. model.refresh();
  2810. ]]>
  2811. </script>
  2812. </button>
  2813. <caption id="caption63" class="tit_2" style="left:2px; top:390px; width:162px; height:13px; ">작성기록</caption>
  2814. <select1 id="combo6" ref="/root/main/angioep/goodclass" appearance="minimal" style="left:502px; top:290px; width:100px; height:19px; ">
  2815. <choices>
  2816. <item>
  2817. <label/>
  2818. <value>N</value>
  2819. </item>
  2820. <item>
  2821. <label>Balloon</label>
  2822. <value>B</value>
  2823. </item>
  2824. <item>
  2825. <label>Puncture</label>
  2826. <value>P</value>
  2827. </item>
  2828. <item>
  2829. <label>재료</label>
  2830. <value>G</value>
  2831. </item>
  2832. <item>
  2833. <label>SEATH INSERTION</label>
  2834. <value>S</value>
  2835. </item>
  2836. </choices>
  2837. </select1>
  2838. <caption id="caption64" class="cell_1" style="left:205px; top:288px; width:100px; height:23px; text-align:center; vertical-align:middle; ">작업시간</caption>
  2839. <line id="line32" class="line_3" style="x1:2px; y1:260px; x2:735px; y2:260px; "/>
  2840. <line id="line33" class="line_3" style="x1:0px; y1:377px; x2:733px; y2:377px; "/>
  2841. <caption id="caption66" class="cell_1" style="left:485px; top:2px; width:100px; height:23px; text-align:center; vertical-align:middle; ">검사종류</caption>
  2842. <caption id="caption67" class="cell_1" style="left:0px; top:2px; width:100px; height:23px; text-align:center; vertical-align:middle; ">study</caption>
  2843. <datagrid id="grd_historyag" nodeset="/root/main/historylist/angiohistory" autoresize="true" caption="일자^시간^작성기록^분류^signno_h" colsep="^" colwidth="88, 54, 485, 80, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:2px; top:410px; width:733px; height:230px; ">
  2844. <col ref="wrtedd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
  2845. <col ref="wrtetm" type="output" format="hh:nn" style="text-align:center; "/>
  2846. <col ref="wrtecnts" type="output"/>
  2847. <col disabled="true" ref="goodclass" type="combo">
  2848. <choices>
  2849. <item>
  2850. <label/>
  2851. <value>N</value>
  2852. </item>
  2853. <item>
  2854. <label>Balloon</label>
  2855. <value>B</value>
  2856. </item>
  2857. <item>
  2858. <label>Puncture</label>
  2859. <value>P</value>
  2860. </item>
  2861. <item>
  2862. <label>재료</label>
  2863. <value>G</value>
  2864. </item>
  2865. <item>
  2866. <label>SEATH INSERTION</label>
  2867. <value>S</value>
  2868. </item>
  2869. </choices>
  2870. </col>
  2871. <col ref="signno" type="output" visibility="hidden"/>
  2872. <script type="javascript" ev:event="ondblclick">
  2873. <![CDATA[
  2874. // 수정하기 위한 Key값 Set
  2875. model.setValue("/root/main/angioep/pid", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/pid") );
  2876. model.setValue("/root/main/angioep/prcpdd", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/prcpdd") );
  2877. model.setValue("/root/main/angioep/suppdeptcd", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/suppdeptcd") );
  2878. model.setValue("/root/main/angioep/execprcpuniqno", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/execprcpuniqno") );
  2879. model.setValue("/root/main/angioep/grupcd", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/grupcd") );
  2880. model.setValue("/root/main/angioep/seq", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/seq") );
  2881. // 저장되었던 변경이 가능한 대상항목 보여주기
  2882. model.setValue("/root/main/angioep/studycd", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/studycd") );
  2883. model.setValue("/root/main/angioep/studynm", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/studynm") );
  2884. model.setValue("/root/main/angioep/diagcd", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/diagcd") );
  2885. model.setValue("/root/main/angioep/diagnm", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/diagnm") );
  2886. model.setValue("/root/main/angioep/examkindcd", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/examkindcd") );
  2887. model.setValue("/root/main/angioep/examkindnm", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/examkindnm") );
  2888. model.setValue("/root/main/angioep/erinrmtm", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/erinrmtm") );
  2889. model.setValue("/root/main/angioep/eroutrmtm", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/eroutrmtm") );
  2890. model.setValue("/root/main/angioep/puncturetm", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/puncturetm") );
  2891. model.setValue("/root/main/angioep/fstballoontm", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/fstballoontm") );
  2892. model.setValue("/root/main/angioep/doortoballoontm", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/doortoballoontm") );
  2893. model.setValue("/root/main/angioep/delyresn", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/delyresn") );
  2894. model.setValue("/root/main/angioep/wrtedd", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/wrtedd") );
  2895. model.setValue("/root/main/angioep/wrtetm", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/wrtetm") );
  2896. model.setValue("/root/main/angioep/goodclass", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/goodclass") );
  2897. model.setValue("/root/main/angioep/wrtecnts", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/wrtecnts") );
  2898. //2011.10.19 탭추가로 수정
  2899. model.setValue("/root/main/angioep/cnfmyn", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/cnfmyn") );
  2900. model.setValue("/root/main/angioep/physicn1", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/physicn1") );
  2901. model.setValue("/root/main/angioep/physicn2", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/physicn2") );
  2902. model.setValue("/root/main/angioep/physicn3", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/physicn3") );
  2903. model.setValue("/root/main/angioep/ergtst", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/ergtst") );
  2904. model.setValue("/root/main/angioep/therapy", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/therapy") );
  2905. model.setValue("/root/main/angioep/hemostsis", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/hemostsis") );
  2906. model.setValue("/root/main/angioep/fluorotm", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/fluorotm") );
  2907. model.setValue("/root/main/angioep/contrst", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/contrst") );
  2908. model.setValue("/root/main/angioep/cmpnycd", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/cmpnycd") );
  2909. model.setValue("/root/main/angioep/chk1", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/chk1") );
  2910. model.setValue("/root/main/angioep/chk2", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/chk2") );
  2911. model.setValue("/root/main/angioep/chk3", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/chk3") );
  2912. model.setValue("/root/main/angioep/chk4", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/chk4") );
  2913. model.setValue("/root/main/angioep/chk5", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/chk5") );
  2914. model.setValue("/root/main/angioep/chk6", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/chk6") );
  2915. model.setValue("/root/main/angioep/chk7", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/chk7") );
  2916. model.setValue("/root/main/angioep/chk8", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/chk8") );
  2917. model.setValue("/root/main/angioep/chk9", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/chk9") );
  2918. model.setValue("/root/main/angioep/chk10", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/chk10") );
  2919. model.setValue("/root/main/angioep/chk11", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/chk11") );
  2920. model.setValue("/root/main/angioep/chk12", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/chk12") );
  2921. model.setValue("/root/main/angioep/chk13", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/chk13") );
  2922. model.setValue("/root/main/angioep/chk14", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/chk14") );
  2923. model.setValue("/root/main/angioep/chk15", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/chk15") );
  2924. model.setValue("/root/main/angioep/chk16", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/chk16") );
  2925. model.setValue("/root/main/angioep/chk17", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/chk17") );
  2926. model.setValue("/root/main/angioep/chk18", model.getValue("/root/main/historylist/angiohistory["+ grd_historyag.row +"]/chk18") );
  2927. //btn_save.disabled = true; // 저장버튼 비활성화
  2928. btn_delag.disabled = false; // 삭제버튼 활성화
  2929. btn_updateag.disabled = false; // 수정버튼 활성화
  2930. model.refresh();
  2931. ]]>
  2932. </script>
  2933. </datagrid>
  2934. <line id="line34" class="line_1" style="x1:2px; y1:283px; x2:735px; y2:283px; "/>
  2935. <textarea id="textarea2" ref="/root/main/angioep/wrtecnts" navindex="12" style="left:102px; top:315px; width:625px; height:60px; "/>
  2936. <line id="line35" class="line_1" style="x1:2px; y1:405px; x2:735px; y2:405px; "/>
  2937. <input id="input9" ref="/root/main/angioep/wrtetm" navindex="11" format="hh:nn" style="left:307px; top:290px; width:70px; height:19px; text-align:center; "/>
  2938. <caption id="caption71" class="tit_2" style="left:2px; top:268px; width:93px; height:13px; ">작성 내용</caption>
  2939. <button id="btn_saveag" class="btn2_letter2" disabled="true" style="left:693px; top:382px; width:42px; height:19px; ">
  2940. <caption>저장</caption>
  2941. <script type="javascript" ev:event="DOMActivate">
  2942. <![CDATA[
  2943. // 필수항목 입력 체크
  2944. if(AngioCheck() == '0'){
  2945. return;
  2946. }
  2947. if (ipt_wtime.value == "0000"){
  2948. ipt_wtime.value = getCurrentTime().substr(0, 4); // ANGIO 작성시간
  2949. }
  2950. model.copyNode("/root/send/req/data", "/root/main/angioep");
  2951. model.makeValue("/root/send/req/data/m", "i");
  2952. submit("TXAEA14001");
  2953. model.resetInstanceNode("/root/send/req/data");
  2954. // 저장 후 작성기록 재조회하기
  2955. model.makeValue("/root/send/req/data/pid", model.getValue("/root/main/angioep/pid") );
  2956. model.makeValue("/root/send/req/data/prcpdd", model.getValue("/root/main/angioep/prcpdd") );
  2957. model.makeValue("/root/send/req/data/execprcpuniqno", model.getValue("/root/main/angioep/execprcpuniqno") );
  2958. model.makeValue("/root/send/req/data/prcpgenrflag", model.getValue("/root/main/angioep/prcpgenrflag") );
  2959. model.makeValue("/root/send/req/data/cretno", model.getValue("/root/main/angioep/cretno") );
  2960. model.makeValue("/root/send/req/data/orddd", model.getValue("/root/main/angioep/orddd") );
  2961. model.makeValue("/root/send/req/data/grupcd", "ANGIO");
  2962. DefaultSet(); // 화면 기본값 셋팅 및 환경설정
  2963. // 선택된 작성리스트의 상세작성기록 가져오기
  2964. submit("TRAER14009");
  2965. aezfSetRowStyle("grd_historyag", "2" , "0" , "signno" , "bigger" );
  2966. model.refresh();
  2967. ]]>
  2968. </script>
  2969. </button>
  2970. <input id="ipt_agdate" ref="/root/main/angioep/wrtedd" navindex="10" inputtype="date" style="left:102px; top:290px; width:90px; height:19px; "/>
  2971. <caption id="caption73" class="cell_1" style="left:0px; top:288px; width:100px; height:23px; text-align:center; vertical-align:middle; ">작성일자</caption>
  2972. <input id="input11" ref="/root/main/angioep/contrst" navindex="8" style="left:362px; top:207px; width:105px; height:19px; text-align:center; "/>
  2973. <caption id="caption75" class="cell_1" style="left:0px; top:30px; width:100px; height:23px; text-align:center; vertical-align:middle; ">1st physician</caption>
  2974. <select1 id="combo7" ref="/root/main/angioep/physicn1" navindex="1" appearance="minimal" style="left:102px; top:32px; width:105px; height:19px; ">
  2975. <choices>
  2976. <itemset nodeset="/root/init/cmbinfo/physicnlist">
  2977. <label ref="basecdflagdesc"/>
  2978. <value ref="basecd"/>
  2979. </itemset>
  2980. </choices>
  2981. </select1>
  2982. <caption id="caption76" class="cell_1" style="left:220px; top:30px; width:100px; height:23px; text-align:center; vertical-align:middle; ">2nd physician</caption>
  2983. <select1 id="combo8" ref="/root/main/angioep/physicn2" navindex="1" appearance="minimal" style="left:322px; top:32px; width:105px; height:19px; ">
  2984. <choices>
  2985. <itemset nodeset="/root/init/cmbinfo/physicnlist">
  2986. <label ref="basecdflagdesc"/>
  2987. <value ref="basecd"/>
  2988. </itemset>
  2989. </choices>
  2990. </select1>
  2991. <caption id="caption77" class="cell_1" style="left:485px; top:30px; width:100px; height:23px; text-align:center; vertical-align:middle; ">3rd physician</caption>
  2992. <select1 id="combo9" ref="/root/main/angioep/physicn3" navindex="1" appearance="minimal" style="left:587px; top:32px; width:105px; height:19px; ">
  2993. <choices>
  2994. <itemset nodeset="/root/init/cmbinfo/physicnlist">
  2995. <label ref="basecdflagdesc"/>
  2996. <value ref="basecd"/>
  2997. </itemset>
  2998. </choices>
  2999. </select1>
  3000. <line id="line38" class="line_1" style="x1:0px; y1:140px; x2:733px; y2:140px; "/>
  3001. <caption id="caption78" class="tit_2" style="left:0px; top:125px; width:177px; height:13px; ">Using Accessory Device</caption>
  3002. <caption id="caption79" class="cell_1" style="left:0px; top:175px; width:100px; height:23px; text-align:center; vertical-align:middle; ">ERG Test</caption>
  3003. <select1 id="combo10" ref="/root/main/angioep/ergtst" navindex="1" appearance="minimal" style="left:102px; top:177px; width:105px; height:19px; ">
  3004. <choices>
  3005. <itemset nodeset="/root/init/cmbinfo/ergtstlist">
  3006. <label ref="basecdflagdesc"/>
  3007. <value ref="basecd"/>
  3008. </itemset>
  3009. </choices>
  3010. </select1>
  3011. <caption id="caption80" class="cell_1" style="left:220px; top:175px; width:140px; height:23px; text-align:center; vertical-align:middle; ">Thrombolythic Therapy</caption>
  3012. <select1 id="combo11" ref="/root/main/angioep/therapy" navindex="1" appearance="minimal" style="left:362px; top:176px; width:105px; height:19px; ">
  3013. <choices>
  3014. <itemset nodeset="/root/init/cmbinfo/therapylist">
  3015. <label ref="basecdflagdesc"/>
  3016. <value ref="basecd"/>
  3017. </itemset>
  3018. </choices>
  3019. </select1>
  3020. <line id="line40" class="line_3" style="x1:2px; y1:115px; x2:735px; y2:115px; "/>
  3021. <caption id="caption62" class="cell_1" style="left:0px; top:205px; width:100px; height:23px; text-align:center; vertical-align:middle; ">Fluoro Time</caption>
  3022. <caption id="caption65" class="cell_1" style="left:220px; top:205px; width:140px; height:23px; text-align:center; vertical-align:middle; ">Contrast 양</caption>
  3023. <input id="input1" ref="/root/main/angioep/fluorotm" navindex="8" style="left:102px; top:207px; width:88px; height:19px; text-align:center; "/>
  3024. <caption id="caption68" class="cell_1" style="left:0px; top:235px; width:100px; height:23px; text-align:center; vertical-align:middle; ">지혈기구</caption>
  3025. <select1 id="combo12" ref="/root/main/angioep/hemostsis" navindex="1" appearance="minimal" style="left:102px; top:238px; width:105px; height:19px; ">
  3026. <choices>
  3027. <itemset nodeset="/root/init/cmbinfo/hemostsislist">
  3028. <label ref="basecdflagdesc"/>
  3029. <value ref="basecd"/>
  3030. </itemset>
  3031. </choices>
  3032. </select1>
  3033. <line id="line27" class="line_2" style="x1:0px; y1:85px; x2:733px; y2:85px; "/>
  3034. <line id="line31" class="line_2" style="x1:0px; y1:170px; x2:733px; y2:170px; "/>
  3035. <line id="line37" class="line_2" style="x1:0px; y1:200px; x2:733px; y2:200px; "/>
  3036. <line id="line39" class="line_2" style="x1:0px; y1:230px; x2:733px; y2:230px; "/>
  3037. <line id="line22" class="line_2" style="x1:0px; y1:27px; x2:733px; y2:27px; "/>
  3038. <line id="line36" class="line_2" style="x1:0px; y1:55px; x2:733px; y2:55px; "/>
  3039. <caption id="caption124" style="left:195px; top:210px; width:20px; height:20px; ">분</caption>
  3040. <caption id="caption125" style="left:470px; top:210px; width:20px; height:20px; ">CC</caption>
  3041. <bool id="bool1" checkvalue="Y,N" ref="/root/main/angioep/chk1" style="left:15px; top:65px; width:30px; height:20px; "/>
  3042. <bool id="bool2" checkvalue="Y,N" ref="/root/main/angioep/chk2" style="left:205px; top:65px; width:30px; height:20px; "/>
  3043. <bool id="bool3" checkvalue="Y,N" ref="/root/main/angioep/chk3" style="left:395px; top:65px; width:30px; height:20px; "/>
  3044. <bool id="bool4" checkvalue="Y,N" ref="/root/main/angioep/chk4" style="left:585px; top:65px; width:30px; height:20px; "/>
  3045. <bool id="bool5" checkvalue="Y,N" ref="/root/main/angioep/chk5" style="left:15px; top:95px; width:30px; height:20px; "/>
  3046. <bool id="bool6" checkvalue="Y,N" ref="/root/main/angioep/chk8" style="left:585px; top:95px; width:30px; height:20px; "/>
  3047. <bool id="bool7" checkvalue="Y,N" ref="/root/main/angioep/chk6" style="left:205px; top:95px; width:30px; height:20px; "/>
  3048. <bool id="bool8" checkvalue="Y,N" ref="/root/main/angioep/chk7" style="left:395px; top:95px; width:30px; height:20px; "/>
  3049. <caption id="caption129" style="left:40px; top:65px; width:100px; height:20px; ">CTO lesion</caption>
  3050. <caption id="caption130" style="left:230px; top:65px; width:100px; height:20px; ">Lt main</caption>
  3051. <caption id="caption131" style="left:420px; top:65px; width:100px; height:20px; ">2VS</caption>
  3052. <caption id="caption132" style="left:610px; top:65px; width:100px; height:20px; ">3VS</caption>
  3053. <caption id="caption133" style="left:40px; top:95px; width:100px; height:20px; ">PCI State</caption>
  3054. <caption id="caption134" style="left:230px; top:95px; width:100px; height:20px; ">ISR</caption>
  3055. <caption id="caption135" style="left:420px; top:95px; width:100px; height:20px; ">NO ISR</caption>
  3056. <caption id="caption136" style="left:610px; top:95px; width:100px; height:20px; ">CABG</caption>
  3057. <bool id="bool9" checkvalue="Y,N" ref="/root/main/angioep/chk9" style="left:15px; top:150px; width:30px; height:20px; "/>
  3058. <bool id="bool10" checkvalue="Y,N" ref="/root/main/angioep/chk10" style="left:205px; top:150px; width:30px; height:20px; "/>
  3059. <bool id="bool11" checkvalue="Y,N" ref="/root/main/angioep/chk11" style="left:395px; top:150px; width:30px; height:20px; "/>
  3060. <bool id="bool12" checkvalue="Y,N" ref="/root/main/angioep/chk12" style="left:585px; top:150px; width:30px; height:20px; "/>
  3061. <caption id="caption137" style="left:420px; top:150px; width:100px; height:20px; ">FFR</caption>
  3062. <caption id="caption138" style="left:610px; top:150px; width:100px; height:20px; ">EBS</caption>
  3063. <caption id="caption139" style="left:40px; top:150px; width:100px; height:20px; ">Thrombuster</caption>
  3064. <caption id="caption140" style="left:230px; top:150px; width:100px; height:20px; ">IVUS</caption>
  3065. <bool id="bool13" checkvalue="Y,N" ref="/root/main/angioep/chk13" style="left:585px; top:180px; width:30px; height:20px; "/>
  3066. <caption id="caption141" style="left:610px; top:180px; width:126px; height:20px; ">Temporary Pacemaker</caption>
  3067. <bool id="bool14" checkvalue="Y,N" ref="/root/main/angioep/cnfmyn" style="left:665px; top:265px; width:30px; height:20px; "/>
  3068. <caption id="caption142" style="left:690px; top:265px; width:45px; height:20px; ">판독</caption>
  3069. </case>
  3070. <case id="case9">
  3071. <line id="line41" class="line_3" style="x1:2px; y1:185px; x2:735px; y2:185px; "/>
  3072. <caption id="caption69" class="tit_2" style="left:2px; top:298px; width:93px; height:13px; ">작성 내용</caption>
  3073. <caption id="caption70" class="cell_1" style="left:220px; top:2px; width:100px; height:23px; text-align:center; vertical-align:middle; ">진단명</caption>
  3074. <line id="line42" class="line_2" style="x1:0px; y1:130px; x2:733px; y2:130px; "/>
  3075. <input id="ipt_catime" ref="/root/main/cath/wrtetm" navindex="11" format="hh:nn" style="left:307px; top:320px; width:70px; height:19px; text-align:center; "/>
  3076. <caption id="caption72" class="cell_1" style="left:400px; top:318px; width:100px; height:23px; text-align:center; vertical-align:middle; ">분류</caption>
  3077. <button id="btn_updateca" class="btn2_letter2" disabled="true" style="left:606px; top:412px; width:42px; height:19px; ">
  3078. <caption>수정</caption>
  3079. <script type="javascript" ev:event="DOMActivate">
  3080. <![CDATA[
  3081. // 필수항목 입력 체크
  3082. if(CathCheck() == '0'){
  3083. return;
  3084. }
  3085. model.copyNode("/root/send/req/data", "/root/main/cath");
  3086. model.makeValue("/root/send/req/data/m", "u");
  3087. submit("TXAEA14001");
  3088. model.resetInstanceNode("/root/send/req/data");
  3089. // 저장 후 작성기록 재조회하기
  3090. model.makeValue("/root/send/req/data/pid", model.getValue("/root/main/cath/pid") );
  3091. model.makeValue("/root/send/req/data/prcpdd", model.getValue("/root/main/cath/prcpdd") );
  3092. model.makeValue("/root/send/req/data/execprcpuniqno", model.getValue("/root/main/cath/execprcpuniqno") );
  3093. model.makeValue("/root/send/req/data/prcpgenrflag", model.getValue("/root/main/cath/prcpgenrflag") );
  3094. model.makeValue("/root/send/req/data/cretno", model.getValue("/root/main/cath/cretno") );
  3095. model.makeValue("/root/send/req/data/orddd", model.getValue("/root/main/cath/orddd") );
  3096. model.makeValue("/root/send/req/data/grupcd", "CATH");
  3097. DefaultSet(); // 화면 기본값 셋팅 및 환경설정
  3098. // 선택된 작성리스트의 상세작성기록 가져오기
  3099. submit("TRAER14009");
  3100. aezfSetRowStyle("grd_historyca", "2" , "0" , "signno" , "bigger" );
  3101. model.refresh();
  3102. ]]>
  3103. </script>
  3104. </button>
  3105. <caption id="caption81" class="cell_1" style="left:0px; top:318px; width:100px; height:23px; text-align:center; vertical-align:middle; ">작성일자</caption>
  3106. <line id="line43" class="line_3" style="x1:2px; y1:290px; x2:735px; y2:290px; "/>
  3107. <button id="btn_delca" class="btn2_letter2" disabled="true" style="left:650px; top:412px; width:42px; height:19px; ">
  3108. <caption>삭제</caption>
  3109. <script type="javascript" ev:event="DOMActivate">
  3110. <![CDATA[
  3111. model.copyNode("/root/send/req/data", "/root/main/cath");
  3112. model.makeValue("/root/send/req/data/m", "d");
  3113. submit("TXAEA14001");
  3114. model.resetInstanceNode("/root/send/req/data");
  3115. // 저장 후 작성기록 재조회하기
  3116. model.makeValue("/root/send/req/data/pid", model.getValue("/root/main/cath/pid") );
  3117. model.makeValue("/root/send/req/data/prcpdd", model.getValue("/root/main/cath/prcpdd") );
  3118. model.makeValue("/root/send/req/data/execprcpuniqno", model.getValue("/root/main/cath/execprcpuniqno") );
  3119. model.makeValue("/root/send/req/data/prcpgenrflag", model.getValue("/root/main/cath/prcpgenrflag") );
  3120. model.makeValue("/root/send/req/data/cretno", model.getValue("/root/main/cath/cretno") );
  3121. model.makeValue("/root/send/req/data/orddd", model.getValue("/root/main/cath/orddd") );
  3122. model.makeValue("/root/send/req/data/grupcd", "CATH");
  3123. DefaultSet(); // 화면 기본값 셋팅 및 환경설정
  3124. // 선택된 작성리스트의 상세작성기록 가져오기
  3125. submit("TRAER14009");
  3126. aezfSetRowStyle("grd_historyca", "2" , "0" , "signno" , "bigger" );
  3127. model.refresh();
  3128. ]]>
  3129. </script>
  3130. </button>
  3131. <line id="line44" class="line_2" style="x1:0px; y1:27px; x2:733px; y2:27px; "/>
  3132. <button id="btn_saveca" class="btn2_letter2" disabled="true" style="left:693px; top:412px; width:42px; height:19px; ">
  3133. <caption>저장</caption>
  3134. <script type="javascript" ev:event="DOMActivate">
  3135. <![CDATA[
  3136. // 필수항목 입력 체크
  3137. if(CathCheck() == '0'){
  3138. return;
  3139. }
  3140. if (ipt_catime.value == "0000"){
  3141. ipt_catime.value = getCurrentTime().substr(0, 4); // ANGIO 작성시간
  3142. }
  3143. model.copyNode("/root/send/req/data", "/root/main/cath");
  3144. model.makeValue("/root/send/req/data/m", "i");
  3145. submit("TXAEA14001");
  3146. model.resetInstanceNode("/root/send/req/data");
  3147. // 저장 후 작성기록 재조회하기
  3148. model.makeValue("/root/send/req/data/pid", model.getValue("/root/main/cath/pid") );
  3149. model.makeValue("/root/send/req/data/prcpdd", model.getValue("/root/main/cath/prcpdd") );
  3150. model.makeValue("/root/send/req/data/execprcpuniqno", model.getValue("/root/main/cath/execprcpuniqno") );
  3151. model.makeValue("/root/send/req/data/prcpgenrflag", model.getValue("/root/main/cath/prcpgenrflag") );
  3152. model.makeValue("/root/send/req/data/cretno", model.getValue("/root/main/cath/cretno") );
  3153. model.makeValue("/root/send/req/data/orddd", model.getValue("/root/main/cath/orddd") );
  3154. model.makeValue("/root/send/req/data/grupcd", "CATH");
  3155. // 선택된 작성리스트의 상세작성기록 가져오기
  3156. DefaultSet(); // 화면 기본값 셋팅 및 환경설정
  3157. submit("TRAER14009");
  3158. aezfSetRowStyle("grd_historyca", "2" , "0" , "signno" , "bigger" );
  3159. model.refresh();
  3160. ]]>
  3161. </script>
  3162. </button>
  3163. <line id="line45" class="line_3" style="x1:0px; y1:407px; x2:733px; y2:407px; "/>
  3164. <caption id="caption82" class="tit_2" style="left:2px; top:420px; width:162px; height:13px; ">작성기록</caption>
  3165. <caption id="caption83" class="cell_1" style="left:0px; top:30px; width:100px; height:23px; text-align:center; vertical-align:middle; ">1st physician</caption>
  3166. <input id="ipt_cadate" ref="/root/main/cath/wrtedd" navindex="10" inputtype="date" style="left:102px; top:320px; width:90px; height:19px; "/>
  3167. <line id="line46" class="line_1" style="x1:2px; y1:313px; x2:735px; y2:313px; "/>
  3168. <caption id="caption84" class="cell_1" style="left:205px; top:318px; width:100px; height:23px; text-align:center; vertical-align:middle; ">작업시간</caption>
  3169. <caption id="caption86" class="cell_1" style="left:220px; top:30px; width:100px; height:23px; text-align:center; vertical-align:middle; ">2nd physician</caption>
  3170. <input id="input8" ref="/root/main/cath/contrst" navindex="8" style="left:322px; top:268px; width:105px; height:19px; text-align:center; "/>
  3171. <line id="line47" class="line_1" style="x1:2px; y1:435px; x2:735px; y2:435px; "/>
  3172. <line id="line48" class="line_2" style="x1:0px; y1:55px; x2:733px; y2:55px; "/>
  3173. <caption id="caption87" class="cell_1" style="left:485px; top:30px; width:100px; height:23px; text-align:center; vertical-align:middle; ">3rd physician</caption>
  3174. <caption id="caption88" class="cell_1" style="left:485px; top:2px; width:100px; height:23px; text-align:center; vertical-align:middle; ">검사종류</caption>
  3175. <line id="line49" class="line_2" style="x1:0px; y1:235px; x2:733px; y2:235px; "/>
  3176. <caption id="caption90" class="cell_1" style="left:0px; top:2px; width:100px; height:23px; text-align:center; vertical-align:middle; ">study</caption>
  3177. <line id="line50" class="line_2" style="x1:0px; y1:342px; x2:733px; y2:342px; "/>
  3178. <caption id="caption91" class="cell_1" style="left:0px; top:265px; width:100px; height:23px; text-align:center; vertical-align:middle; ">Fluoro Time</caption>
  3179. <select1 id="cmb_caexamkind" ref="/root/main/cath/examkindcd" navindex="3" appearance="minimal" style="left:587px; top:4px; width:105px; height:19px; ">
  3180. <choices>
  3181. <itemset nodeset="/root/init/cmbinfo/examkindlist">
  3182. <label ref="basecdflagdesc"/>
  3183. <value ref="basecd"/>
  3184. </itemset>
  3185. </choices>
  3186. <script type="javascript" ev:event="xforms-select">
  3187. <![CDATA[
  3188. // 아이템 갯수만큼 체크하면서 선택된 Value의 값과 동일한 순번의 코드를 가져오기 위해.
  3189. // 비교하지 않으면 무조건 첫번째 값을 가져오네. 그래서 체크로직 추가.
  3190. for(i = 1; i <= cmb_caexamkind.length; i++){
  3191. if(cmb_caexamkind.value == model.getValue("/root/init/cmbinfo/examkindlist["+ i +"]/basecd")){
  3192. var basecd = model.getValue("/root/init/cmbinfo/examkindlist["+ i +"]/basecd");
  3193. var basecdflagdesc = model.getValue("/root/init/cmbinfo/examkindlist["+ i +"]/basecdflagdesc");
  3194. break;
  3195. }
  3196. }
  3197. model.setValue("/root/main/cath/examkindcd", basecd);
  3198. model.setValue("/root/main/cath/examkindnm", basecdflagdesc);
  3199. ]]>
  3200. </script>
  3201. </select1>
  3202. <select1 id="cmb_cadiag" ref="/root/main/cath/diagcd" navindex="2" appearance="minimal" style="left:322px; top:4px; width:150px; height:19px; ">
  3203. <choices>
  3204. <itemset nodeset="/root/init/cmbinfo/diaglist">
  3205. <label ref="basecdflagdesc"/>
  3206. <value ref="basecd"/>
  3207. </itemset>
  3208. </choices>
  3209. <script type="javascript" ev:event="xforms-select">
  3210. <![CDATA[
  3211. // 아이템 갯수만큼 체크하면서 선택된 Value의 값과 동일한 순번의 코드를 가져오기 위해.
  3212. // 비교하지 않으면 무조건 첫번째 값을 가져오네. 그래서 체크로직 추가.
  3213. for(i = 1; i <= cmb_cadiag.length; i++){
  3214. if(cmb_cadiag.value == model.getValue("/root/init/cmbinfo/diaglist["+ i +"]/basecd")){
  3215. var basecd = model.getValue("/root/init/cmbinfo/diaglist["+ i +"]/basecd");
  3216. var basecdflagdesc = model.getValue("/root/init/cmbinfo/diaglist["+ i +"]/basecdflagdesc");
  3217. break;
  3218. }
  3219. }
  3220. model.setValue("/root/main/cath/diagcd", basecd);
  3221. model.setValue("/root/main/cath/diagnm", basecdflagdesc);
  3222. ]]>
  3223. </script>
  3224. </select1>
  3225. <select1 id="cmb_castudy" ref="/root/main/cath/studycd" navindex="1" appearance="minimal" style="left:102px; top:4px; width:105px; height:19px; ">
  3226. <choices>
  3227. <itemset nodeset="/root/init/cmbinfo/studylist">
  3228. <label ref="basecdflagdesc"/>
  3229. <value ref="basecd"/>
  3230. </itemset>
  3231. </choices>
  3232. <script type="javascript" ev:event="xforms-select">
  3233. <![CDATA[
  3234. // 아이템 갯수만큼 체크하면서 선택된 Value의 값과 동일한 순번의 코드를 가져오기 위해.
  3235. // 비교하지 않으면 무조건 첫번째 값을 가져오네. 그래서 체크로직 추가.
  3236. for(i = 1; i <= cmb_castudy.length; i++){
  3237. if(cmb_castudy.value == model.getValue("/root/init/cmbinfo/studylist["+ i +"]/basecd")){
  3238. var basecd = model.getValue("/root/init/cmbinfo/studylist["+ i +"]/basecd");
  3239. var basecdflagdesc = model.getValue("/root/init/cmbinfo/studylist["+ i +"]/basecdflagdesc");
  3240. break;
  3241. }
  3242. }
  3243. model.setValue("/root/main/cath/studycd", basecd);
  3244. model.setValue("/root/main/cath/studynm", basecdflagdesc);
  3245. ]]>
  3246. </script>
  3247. </select1>
  3248. <select1 id="combo18" ref="/root/main/cath/goodclass" appearance="minimal" style="left:502px; top:320px; width:100px; height:19px; ">
  3249. <choices>
  3250. <item>
  3251. <label/>
  3252. <value>N</value>
  3253. </item>
  3254. <item>
  3255. <label>Balloon</label>
  3256. <value>B</value>
  3257. </item>
  3258. <item>
  3259. <label>Puncture</label>
  3260. <value>P</value>
  3261. </item>
  3262. <item>
  3263. <label>재료</label>
  3264. <value>G</value>
  3265. </item>
  3266. <item>
  3267. <label>SEATH INSERTION</label>
  3268. <value>S</value>
  3269. </item>
  3270. </choices>
  3271. </select1>
  3272. <select1 id="combo20" ref="/root/main/cath/physicn1" navindex="1" appearance="minimal" style="left:102px; top:32px; width:105px; height:19px; ">
  3273. <choices>
  3274. <itemset nodeset="/root/init/cmbinfo/physicnlist">
  3275. <label ref="basecdflagdesc"/>
  3276. <value ref="basecd"/>
  3277. </itemset>
  3278. </choices>
  3279. </select1>
  3280. <textarea id="textarea3" ref="/root/main/cath/wrtecnts" navindex="12" style="left:102px; top:345px; width:625px; height:60px; "/>
  3281. <select1 id="combo21" ref="/root/main/cath/physicn2" navindex="1" appearance="minimal" style="left:322px; top:32px; width:105px; height:19px; ">
  3282. <choices>
  3283. <itemset nodeset="/root/init/cmbinfo/physicnlist">
  3284. <label ref="basecdflagdesc"/>
  3285. <value ref="basecd"/>
  3286. </itemset>
  3287. </choices>
  3288. </select1>
  3289. <caption id="caption93" class="cell_1" style="left:0px; top:345px; width:100px; height:60px; text-align:center; vertical-align:middle; ">작성내용</caption>
  3290. <select1 id="combo22" ref="/root/main/cath/physicn3" navindex="1" appearance="minimal" style="left:587px; top:32px; width:105px; height:19px; ">
  3291. <choices>
  3292. <itemset nodeset="/root/init/cmbinfo/physicnlist">
  3293. <label ref="basecdflagdesc"/>
  3294. <value ref="basecd"/>
  3295. </itemset>
  3296. </choices>
  3297. </select1>
  3298. <datagrid id="grd_historyca" nodeset="/root/main/historylist/cathhistory" autoresize="true" caption="일자^시간^작성기록^분류^signno_h" colsep="^" colwidth="88, 54, 485, 80, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:2px; top:440px; width:733px; height:200px; ">
  3299. <col ref="wrtedd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
  3300. <col ref="wrtetm" type="output" format="hh:nn" style="text-align:center; "/>
  3301. <col ref="wrtecnts" type="output"/>
  3302. <col disabled="true" ref="goodclass" type="combo">
  3303. <choices>
  3304. <item>
  3305. <label/>
  3306. <value>N</value>
  3307. </item>
  3308. <item>
  3309. <label>Balloon</label>
  3310. <value>B</value>
  3311. </item>
  3312. <item>
  3313. <label>Puncture</label>
  3314. <value>P</value>
  3315. </item>
  3316. <item>
  3317. <label>재료</label>
  3318. <value>G</value>
  3319. </item>
  3320. <item>
  3321. <label>SEATH INSERTION</label>
  3322. <value>S</value>
  3323. </item>
  3324. </choices>
  3325. </col>
  3326. <col ref="signno" type="output" visibility="hidden"/>
  3327. <script type="javascript" ev:event="ondblclick">
  3328. <![CDATA[
  3329. // 수정하기 위한 Key값 Set
  3330. model.setValue("/root/main/cath/pid", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/pid") );
  3331. model.setValue("/root/main/cath/prcpdd", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/prcpdd") );
  3332. model.setValue("/root/main/cath/suppdeptcd", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/suppdeptcd") );
  3333. model.setValue("/root/main/cath/execprcpuniqno", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/execprcpuniqno") );
  3334. model.setValue("/root/main/cath/grupcd", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/grupcd") );
  3335. model.setValue("/root/main/cath/seq", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/seq") );
  3336. // 저장되었던 변경이 가능한 대상항목 보여주기
  3337. model.setValue("/root/main/cath/studycd", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/studycd") );
  3338. model.setValue("/root/main/cath/studynm", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/studynm") );
  3339. model.setValue("/root/main/cath/diagcd", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/diagcd") );
  3340. model.setValue("/root/main/cath/diagnm", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/diagnm") );
  3341. model.setValue("/root/main/cath/examkindcd", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/examkindcd") );
  3342. model.setValue("/root/main/cath/examkindnm", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/examkindnm") );
  3343. model.setValue("/root/main/cath/erinrmtm", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/erinrmtm") );
  3344. model.setValue("/root/main/cath/eroutrmtm", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/eroutrmtm") );
  3345. model.setValue("/root/main/cath/puncturetm", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/puncturetm") );
  3346. model.setValue("/root/main/cath/fstballoontm", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/fstballoontm") );
  3347. model.setValue("/root/main/cath/doortoballoontm", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/doortoballoontm") );
  3348. model.setValue("/root/main/cath/delyresn", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/delyresn") );
  3349. model.setValue("/root/main/cath/wrtedd", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/wrtedd") );
  3350. model.setValue("/root/main/cath/wrtetm", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/wrtetm") );
  3351. model.setValue("/root/main/cath/goodclass", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/goodclass") );
  3352. model.setValue("/root/main/cath/wrtecnts", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/wrtecnts") );
  3353. //2011.10.19 탭추가로 수정
  3354. model.setValue("/root/main/cath/cnfmyn", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/cnfmyn") );
  3355. model.setValue("/root/main/cath/physicn1", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/physicn1") );
  3356. model.setValue("/root/main/cath/physicn2", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/physicn2") );
  3357. model.setValue("/root/main/cath/physicn3", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/physicn3") );
  3358. model.setValue("/root/main/cath/ergtst", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/ergtst") );
  3359. model.setValue("/root/main/cath/therapy", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/therapy") );
  3360. model.setValue("/root/main/cath/hemostsis", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/hemostsis") );
  3361. model.setValue("/root/main/cath/fluorotm", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/fluorotm") );
  3362. model.setValue("/root/main/cath/contrst", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/contrst") );
  3363. model.setValue("/root/main/cath/cmpnycd", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/cmpnycd") );
  3364. model.setValue("/root/main/cath/chk1", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/chk1") );
  3365. model.setValue("/root/main/cath/chk2", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/chk2") );
  3366. model.setValue("/root/main/cath/chk3", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/chk3") );
  3367. model.setValue("/root/main/cath/chk4", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/chk4") );
  3368. model.setValue("/root/main/cath/chk5", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/chk5") );
  3369. model.setValue("/root/main/cath/chk6", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/chk6") );
  3370. model.setValue("/root/main/cath/chk7", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/chk7") );
  3371. model.setValue("/root/main/cath/chk8", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/chk8") );
  3372. model.setValue("/root/main/cath/chk9", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/chk9") );
  3373. model.setValue("/root/main/cath/chk10", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/chk10") );
  3374. model.setValue("/root/main/cath/chk11", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/chk11") );
  3375. model.setValue("/root/main/cath/chk12", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/chk12") );
  3376. model.setValue("/root/main/cath/chk13", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/chk13") );
  3377. model.setValue("/root/main/cath/chk14", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/chk14") );
  3378. model.setValue("/root/main/cath/chk15", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/chk15") );
  3379. model.setValue("/root/main/cath/chk16", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/chk16") );
  3380. model.setValue("/root/main/cath/chk17", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/chk17") );
  3381. model.setValue("/root/main/cath/chk18", model.getValue("/root/main/historylist/cathhistory["+ grd_historyca.row +"]/chk18") );
  3382. //btn_save.disabled = true; // 저장버튼 비활성화
  3383. btn_delca.disabled = false; // 삭제버튼 활성화
  3384. btn_updateca.disabled = false; // 수정버튼 활성화
  3385. model.refresh();
  3386. ]]>
  3387. </script>
  3388. </datagrid>
  3389. <line id="line52" class="line_1" style="x1:0px; y1:100px; x2:733px; y2:100px; "/>
  3390. <caption id="caption89" class="tit_2" style="left:0px; top:85px; width:93px; height:14px; ">검사 종류</caption>
  3391. <line id="line54" class="line_3" style="x1:0px; y1:80px; x2:733px; y2:80px; "/>
  3392. <line id="line51" class="line_1" style="x1:0px; y1:205px; x2:733px; y2:205px; "/>
  3393. <caption id="caption74" class="tit_2" style="left:0px; top:190px; width:93px; height:13px; ">시술 종류</caption>
  3394. <line id="line53" class="line_2" style="x1:0px; y1:260px; x2:733px; y2:260px; "/>
  3395. <caption id="caption85" class="cell_1" style="left:220px; top:265px; width:100px; height:23px; text-align:center; vertical-align:middle; ">Contrast 양</caption>
  3396. <input id="input18" ref="/root/main/cath/fluorotm" navindex="8" style="left:102px; top:268px; width:88px; height:19px; text-align:center; "/>
  3397. <line id="line78" class="line_2" style="x1:0px; y1:155px; x2:733px; y2:155px; "/>
  3398. <caption id="caption123" class="cell_1" style="left:220px; top:163px; width:100px; height:23px; text-align:center; vertical-align:middle; ">ERG Test</caption>
  3399. <select1 id="combo36" ref="/root/main/cath/ergtst" navindex="1" appearance="minimal" style="left:322px; top:165px; width:105px; height:19px; ">
  3400. <choices>
  3401. <itemset nodeset="/root/init/cmbinfo/ergtstlist">
  3402. <label ref="basecdflagdesc"/>
  3403. <value ref="basecd"/>
  3404. </itemset>
  3405. </choices>
  3406. </select1>
  3407. <caption id="caption126" style="left:190px; top:270px; width:20px; height:20px; ">분</caption>
  3408. <caption id="caption127" style="left:430px; top:270px; width:20px; height:20px; ">CC</caption>
  3409. <caption id="caption143" style="left:690px; top:295px; width:45px; height:20px; ">판독</caption>
  3410. <bool id="bool15" checkvalue="Y,N" ref="/root/main/cath/cnfmyn" style="left:665px; top:295px; width:30px; height:20px; "/>
  3411. <bool id="bool18" checkvalue="Y,N" ref="/root/main/cath/chk3" style="left:15px; top:110px; width:30px; height:20px; "/>
  3412. <bool id="bool19" checkvalue="Y,N" ref="/root/main/cath/chk4" style="left:205px; top:110px; width:30px; height:20px; "/>
  3413. <bool id="bool20" checkvalue="Y,N" ref="/root/main/cath/chk5" style="left:395px; top:110px; width:30px; height:20px; "/>
  3414. <bool id="bool21" checkvalue="Y,N" ref="/root/main/cath/chk6" style="left:585px; top:110px; width:30px; height:20px; "/>
  3415. <bool id="bool22" checkvalue="Y,N" ref="/root/main/cath/chk7" style="left:15px; top:135px; width:30px; height:20px; "/>
  3416. <bool id="bool23" checkvalue="Y,N" ref="/root/main/cath/chk8" style="left:205px; top:135px; width:30px; height:20px; "/>
  3417. <bool id="bool24" checkvalue="Y,N" ref="/root/main/cath/chk9" style="left:395px; top:135px; width:30px; height:20px; "/>
  3418. <bool id="bool25" checkvalue="Y,N" ref="/root/main/cath/chk10" style="left:585px; top:135px; width:30px; height:20px; "/>
  3419. <bool id="bool26" checkvalue="Y,N" ref="/root/main/cath/chk11" style="left:15px; top:165px; width:30px; height:20px; "/>
  3420. <bool id="bool27" checkvalue="Y,N" ref="/root/main/cath/chk12" style="left:15px; top:215px; width:30px; height:20px; "/>
  3421. <bool id="bool28" checkvalue="Y,N" ref="/root/main/cath/chk13" style="left:205px; top:215px; width:30px; height:20px; "/>
  3422. <bool id="bool29" checkvalue="Y,N" ref="/root/main/cath/chk14" style="left:395px; top:215px; width:30px; height:20px; "/>
  3423. <bool id="bool30" checkvalue="Y,N" ref="/root/main/cath/chk15" style="left:585px; top:215px; width:30px; height:20px; "/>
  3424. <bool id="bool31" checkvalue="Y,N" ref="/root/main/cath/chk18" style="left:395px; top:240px; width:30px; height:20px; "/>
  3425. <bool id="bool33" checkvalue="Y,N" ref="/root/main/cath/chk16" style="left:15px; top:240px; width:30px; height:20px; "/>
  3426. <bool id="bool34" checkvalue="Y,N" ref="/root/main/cath/chk17" style="left:205px; top:240px; width:30px; height:20px; "/>
  3427. <caption id="caption146" style="left:40px; top:110px; width:100px; height:20px; ">Cardiac Cath</caption>
  3428. <caption id="caption147" style="left:230px; top:110px; width:100px; height:20px; ">LVgram</caption>
  3429. <caption id="caption148" style="left:420px; top:110px; width:100px; height:20px; ">RVgram</caption>
  3430. <caption id="caption149" style="left:610px; top:110px; width:100px; height:20px; ">Aortogram</caption>
  3431. <caption id="caption154" style="left:40px; top:135px; width:100px; height:20px; ">PVgram</caption>
  3432. <caption id="caption155" style="left:230px; top:135px; width:100px; height:20px; ">PAgram</caption>
  3433. <caption id="caption156" style="left:420px; top:135px; width:100px; height:20px; ">Venogram</caption>
  3434. <caption id="caption157" style="left:610px; top:135px; width:100px; height:20px; ">Cardiac Bx</caption>
  3435. <caption id="caption150" style="left:40px; top:165px; width:100px; height:20px; ">CAG</caption>
  3436. <caption id="caption151" style="left:610px; top:215px; width:100px; height:20px; ">PTA</caption>
  3437. <caption id="caption152" style="left:40px; top:215px; width:100px; height:20px; ">PDA Occlusion</caption>
  3438. <caption id="caption153" style="left:230px; top:215px; width:100px; height:20px; ">PMV</caption>
  3439. <caption id="caption158" style="left:420px; top:215px; width:100px; height:20px; ">Valvuloplasty</caption>
  3440. <caption id="caption159" style="left:420px; top:240px; width:100px; height:20px; ">TAVI</caption>
  3441. <caption id="caption161" style="left:40px; top:240px; width:100px; height:20px; ">TEVAR</caption>
  3442. <caption id="caption162" style="left:230px; top:240px; width:100px; height:20px; ">EVAR</caption>
  3443. <bool id="bool32" checkvalue="Y,N" ref="/root/main/cath/chk1" style="left:15px; top:60px; width:30px; height:20px; "/>
  3444. <bool id="bool35" checkvalue="Y,N" ref="/root/main/cath/chk2" style="left:205px; top:60px; width:30px; height:20px; "/>
  3445. <caption id="caption160" style="left:40px; top:60px; width:100px; height:20px; ">Ped</caption>
  3446. <caption id="caption163" style="left:230px; top:60px; width:100px; height:20px; ">Adult</caption>
  3447. </case>
  3448. <case id="case10">
  3449. <caption id="caption92" class="tit_2" style="left:2px; top:203px; width:93px; height:13px; ">작성 내용</caption>
  3450. <caption id="caption94" class="cell_1" style="left:220px; top:2px; width:100px; height:23px; text-align:center; vertical-align:middle; ">진단명</caption>
  3451. <line id="line56" class="line_2" style="x1:0px; y1:135px; x2:733px; y2:135px; "/>
  3452. <input id="ipt_eptime" ref="/root/main/ep/wrtetm" navindex="11" format="hh:nn" style="left:307px; top:225px; width:70px; height:19px; text-align:center; "/>
  3453. <caption id="caption95" class="cell_1" style="left:400px; top:223px; width:100px; height:23px; text-align:center; vertical-align:middle; ">분류</caption>
  3454. <button id="btn_updateep" class="btn2_letter2" disabled="true" style="left:606px; top:317px; width:42px; height:19px; ">
  3455. <caption>수정</caption>
  3456. <script type="javascript" ev:event="DOMActivate">
  3457. <![CDATA[
  3458. // 필수항목 입력 체크
  3459. if(EpCheck() == '0'){
  3460. return;
  3461. }
  3462. model.copyNode("/root/send/req/data", "/root/main/ep");
  3463. model.makeValue("/root/send/req/data/m", "u");
  3464. submit("TXAEA14001");
  3465. model.resetInstanceNode("/root/send/req/data");
  3466. // 저장 후 작성기록 재조회하기
  3467. model.makeValue("/root/send/req/data/pid", model.getValue("/root/main/ep/pid") );
  3468. model.makeValue("/root/send/req/data/prcpdd", model.getValue("/root/main/ep/prcpdd") );
  3469. model.makeValue("/root/send/req/data/execprcpuniqno", model.getValue("/root/main/ep/execprcpuniqno") );
  3470. model.makeValue("/root/send/req/data/prcpgenrflag", model.getValue("/root/main/ep/prcpgenrflag") );
  3471. model.makeValue("/root/send/req/data/cretno", model.getValue("/root/main/ep/cretno") );
  3472. model.makeValue("/root/send/req/data/orddd", model.getValue("/root/main/ep/orddd") );
  3473. model.makeValue("/root/send/req/data/grupcd", "EP");
  3474. DefaultSet(); // 화면 기본값 셋팅 및 환경설정
  3475. // 선택된 작성리스트의 상세작성기록 가져오기
  3476. submit("TRAER14009");
  3477. aezfSetRowStyle("grd_historyep", "2" , "0" , "signno" , "bigger" );
  3478. model.refresh();
  3479. ]]>
  3480. </script>
  3481. </button>
  3482. <caption id="caption96" class="cell_1" style="left:0px; top:170px; width:100px; height:23px; text-align:center; vertical-align:middle; ">Fluoro Time</caption>
  3483. <caption id="caption97" class="cell_1" style="left:0px; top:223px; width:100px; height:23px; text-align:center; vertical-align:middle; ">작성일자</caption>
  3484. <line id="line57" class="line_3" style="x1:2px; y1:195px; x2:735px; y2:195px; "/>
  3485. <button id="btn_delep" class="btn2_letter2" disabled="true" style="left:650px; top:317px; width:42px; height:19px; ">
  3486. <caption>삭제</caption>
  3487. <script type="javascript" ev:event="DOMActivate">
  3488. <![CDATA[
  3489. model.copyNode("/root/send/req/data", "/root/main/ep");
  3490. model.makeValue("/root/send/req/data/m", "d");
  3491. submit("TXAEA14001");
  3492. model.resetInstanceNode("/root/send/req/data");
  3493. // 저장 후 작성기록 재조회하기
  3494. model.makeValue("/root/send/req/data/pid", model.getValue("/root/main/ep/pid") );
  3495. model.makeValue("/root/send/req/data/prcpdd", model.getValue("/root/main/ep/prcpdd") );
  3496. model.makeValue("/root/send/req/data/execprcpuniqno", model.getValue("/root/main/ep/execprcpuniqno") );
  3497. model.makeValue("/root/send/req/data/prcpgenrflag", model.getValue("/root/main/ep/prcpgenrflag") );
  3498. model.makeValue("/root/send/req/data/cretno", model.getValue("/root/main/ep/cretno") );
  3499. model.makeValue("/root/send/req/data/orddd", model.getValue("/root/main/ep/orddd") );
  3500. model.makeValue("/root/send/req/data/grupcd", "EP");
  3501. DefaultSet(); // 화면 기본값 셋팅 및 환경설정
  3502. // 선택된 작성리스트의 상세작성기록 가져오기
  3503. submit("TRAER14009");
  3504. aezfSetRowStyle("grd_historyep", "2" , "0" , "signno" , "bigger" );
  3505. model.refresh();
  3506. ]]>
  3507. </script>
  3508. </button>
  3509. <line id="line58" class="line_2" style="x1:0px; y1:27px; x2:733px; y2:27px; "/>
  3510. <button id="btn_saveep" class="btn2_letter2" disabled="true" style="left:693px; top:317px; width:42px; height:19px; ">
  3511. <caption>저장</caption>
  3512. <script type="javascript" ev:event="DOMActivate">
  3513. <![CDATA[
  3514. // 필수항목 입력 체크
  3515. if(EpCheck() == '0'){
  3516. return;
  3517. }
  3518. if (ipt_eptime.value == "0000"){
  3519. ipt_eptime.value = getCurrentTime().substr(0, 4); // ANGIO 작성시간
  3520. }
  3521. model.copyNode("/root/send/req/data", "/root/main/ep");
  3522. model.makeValue("/root/send/req/data/m", "i");
  3523. submit("TXAEA14001");
  3524. model.resetInstanceNode("/root/send/req/data");
  3525. // 저장 후 작성기록 재조회하기
  3526. model.makeValue("/root/send/req/data/pid", model.getValue("/root/main/ep/pid") );
  3527. model.makeValue("/root/send/req/data/prcpdd", model.getValue("/root/main/ep/prcpdd") );
  3528. model.makeValue("/root/send/req/data/execprcpuniqno", model.getValue("/root/main/ep/execprcpuniqno") );
  3529. model.makeValue("/root/send/req/data/prcpgenrflag", model.getValue("/root/main/ep/prcpgenrflag") );
  3530. model.makeValue("/root/send/req/data/cretno", model.getValue("/root/main/ep/cretno") );
  3531. model.makeValue("/root/send/req/data/orddd", model.getValue("/root/main/ep/orddd") );
  3532. model.makeValue("/root/send/req/data/grupcd", "EP");
  3533. DefaultSet(); // 화면 기본값 셋팅 및 환경설정
  3534. // 선택된 작성리스트의 상세작성기록 가져오기
  3535. submit("TRAER14009");
  3536. aezfSetRowStyle("grd_historyep", "2" , "0" , "signno" , "bigger" );
  3537. model.refresh();
  3538. ]]>
  3539. </script>
  3540. </button>
  3541. <line id="line59" class="line_3" style="x1:0px; y1:312px; x2:733px; y2:312px; "/>
  3542. <caption id="caption98" class="tit_2" style="left:2px; top:325px; width:162px; height:13px; ">작성기록</caption>
  3543. <caption id="caption99" class="cell_1" style="left:0px; top:30px; width:100px; height:23px; text-align:center; vertical-align:middle; ">1st physician</caption>
  3544. <input id="ipt_epdate" ref="/root/main/ep/wrtedd" navindex="10" inputtype="date" style="left:102px; top:225px; width:90px; height:19px; "/>
  3545. <line id="line60" class="line_1" style="x1:2px; y1:218px; x2:735px; y2:218px; "/>
  3546. <caption id="caption100" class="cell_1" style="left:205px; top:223px; width:100px; height:23px; text-align:center; vertical-align:middle; ">작업시간</caption>
  3547. <caption id="caption102" class="cell_1" style="left:220px; top:30px; width:100px; height:23px; text-align:center; vertical-align:middle; ">2nd physician</caption>
  3548. <line id="line61" class="line_1" style="x1:2px; y1:340px; x2:735px; y2:340px; "/>
  3549. <line id="line62" class="line_2" style="x1:0px; y1:55px; x2:733px; y2:55px; "/>
  3550. <caption id="caption103" class="cell_1" style="left:485px; top:30px; width:100px; height:23px; text-align:center; vertical-align:middle; ">3rd physician</caption>
  3551. <caption id="caption104" class="cell_1" style="left:485px; top:2px; width:100px; height:23px; text-align:center; vertical-align:middle; ">검사종류</caption>
  3552. <caption id="caption105" class="tit_2" style="left:0px; top:60px; width:177px; height:14px; ">검사 종류</caption>
  3553. <caption id="caption106" class="cell_1" style="left:0px; top:2px; width:100px; height:23px; text-align:center; vertical-align:middle; ">study</caption>
  3554. <line id="line64" class="line_2" style="x1:0px; y1:247px; x2:733px; y2:247px; "/>
  3555. <line id="line65" class="line_2" style="x1:0px; y1:105px; x2:733px; y2:105px; "/>
  3556. <line id="line66" class="line_1" style="x1:0px; y1:75px; x2:733px; y2:75px; "/>
  3557. <select1 id="combo3" ref="/root/main/ep/examkindcd" navindex="3" appearance="minimal" style="left:587px; top:4px; width:105px; height:19px; ">
  3558. <choices>
  3559. <itemset nodeset="/root/init/cmbinfo/examkindlist">
  3560. <label ref="basecdflagdesc"/>
  3561. <value ref="basecd"/>
  3562. </itemset>
  3563. </choices>
  3564. <script type="javascript" ev:event="xforms-select">
  3565. <![CDATA[
  3566. // 아이템 갯수만큼 체크하면서 선택된 Value의 값과 동일한 순번의 코드를 가져오기 위해.
  3567. // 비교하지 않으면 무조건 첫번째 값을 가져오네. 그래서 체크로직 추가.
  3568. for(i = 1; i <= cmb_epexamkind.length; i++){
  3569. if(cmb_epexamkind.value == model.getValue("/root/init/cmbinfo/examkindlist["+ i +"]/basecd")){
  3570. var basecd = model.getValue("/root/init/cmbinfo/examkindlist["+ i +"]/basecd");
  3571. var basecdflagdesc = model.getValue("/root/init/cmbinfo/examkindlist["+ i +"]/basecdflagdesc");
  3572. break;
  3573. }
  3574. }
  3575. model.setValue("/root/main/ep/examkindcd", basecd);
  3576. model.setValue("/root/main/ep/examkindnm", basecdflagdesc);
  3577. ]]>
  3578. </script>
  3579. </select1>
  3580. <select1 id="combo4" ref="/root/main/ep/diagcd" navindex="2" appearance="minimal" style="left:322px; top:4px; width:150px; height:19px; ">
  3581. <choices>
  3582. <itemset nodeset="/root/init/cmbinfo/diaglist">
  3583. <label ref="basecdflagdesc"/>
  3584. <value ref="basecd"/>
  3585. </itemset>
  3586. </choices>
  3587. <script type="javascript" ev:event="xforms-select">
  3588. <![CDATA[
  3589. // 아이템 갯수만큼 체크하면서 선택된 Value의 값과 동일한 순번의 코드를 가져오기 위해.
  3590. // 비교하지 않으면 무조건 첫번째 값을 가져오네. 그래서 체크로직 추가.
  3591. for(i = 1; i <= cmb_epdiag.length; i++){
  3592. if(cmb_epdiag.value == model.getValue("/root/init/cmbinfo/diaglist["+ i +"]/basecd")){
  3593. var basecd = model.getValue("/root/init/cmbinfo/diaglist["+ i +"]/basecd");
  3594. var basecdflagdesc = model.getValue("/root/init/cmbinfo/diaglist["+ i +"]/basecdflagdesc");
  3595. break;
  3596. }
  3597. }
  3598. model.setValue("/root/main/ep/diagcd", basecd);
  3599. model.setValue("/root/main/ep/diagnm", basecdflagdesc);
  3600. ]]>
  3601. </script>
  3602. </select1>
  3603. <input id="input16" ref="/root/main/ep/fluorotm" navindex="8" format="hh:nn" style="left:102px; top:172px; width:88px; height:19px; text-align:center; "/>
  3604. <select1 id="cmb_epstudy" ref="/root/main/ep/studycd" navindex="1" appearance="minimal" style="left:102px; top:4px; width:105px; height:19px; ">
  3605. <choices>
  3606. <itemset nodeset="/root/init/cmbinfo/studylist">
  3607. <label ref="basecdflagdesc"/>
  3608. <value ref="basecd"/>
  3609. </itemset>
  3610. </choices>
  3611. <script type="javascript" ev:event="xforms-select">
  3612. <![CDATA[
  3613. // 아이템 갯수만큼 체크하면서 선택된 Value의 값과 동일한 순번의 코드를 가져오기 위해.
  3614. // 비교하지 않으면 무조건 첫번째 값을 가져오네. 그래서 체크로직 추가.
  3615. for(i = 1; i <= cmb_epstudy.length; i++){
  3616. if(cmb_epstudy.value == model.getValue("/root/init/cmbinfo/studylist["+ i +"]/basecd")){
  3617. var basecd = model.getValue("/root/init/cmbinfo/studylist["+ i +"]/basecd");
  3618. var basecdflagdesc = model.getValue("/root/init/cmbinfo/studylist["+ i +"]/basecdflagdesc");
  3619. break;
  3620. }
  3621. }
  3622. model.setValue("/root/main/ep/studycd", basecd);
  3623. model.setValue("/root/main/ep/studynm", basecdflagdesc);
  3624. ]]>
  3625. </script>
  3626. </select1>
  3627. <select1 id="combo26" ref="/root/main/ep/goodclass" appearance="minimal" style="left:502px; top:225px; width:100px; height:19px; ">
  3628. <choices>
  3629. <item>
  3630. <label/>
  3631. <value>N</value>
  3632. </item>
  3633. <item>
  3634. <label>Balloon</label>
  3635. <value>B</value>
  3636. </item>
  3637. <item>
  3638. <label>Puncture</label>
  3639. <value>P</value>
  3640. </item>
  3641. <item>
  3642. <label>재료</label>
  3643. <value>G</value>
  3644. </item>
  3645. <item>
  3646. <label>SEATH INSERTION</label>
  3647. <value>S</value>
  3648. </item>
  3649. </choices>
  3650. </select1>
  3651. <select1 id="combo28" ref="/root/main/ep/physicn1" navindex="1" appearance="minimal" style="left:102px; top:32px; width:105px; height:19px; ">
  3652. <choices>
  3653. <itemset nodeset="/root/init/cmbinfo/physicnlist">
  3654. <label ref="basecdflagdesc"/>
  3655. <value ref="basecd"/>
  3656. </itemset>
  3657. </choices>
  3658. </select1>
  3659. <textarea id="textarea4" ref="/root/main/ep/wrtecnts" navindex="12" style="left:102px; top:250px; width:625px; height:60px; "/>
  3660. <select1 id="combo29" ref="/root/main/ep/physicn2" navindex="1" appearance="minimal" style="left:322px; top:32px; width:105px; height:19px; ">
  3661. <choices>
  3662. <itemset nodeset="/root/init/cmbinfo/physicnlist">
  3663. <label ref="basecdflagdesc"/>
  3664. <value ref="basecd"/>
  3665. </itemset>
  3666. </choices>
  3667. </select1>
  3668. <caption id="caption109" class="cell_1" style="left:0px; top:250px; width:100px; height:60px; text-align:center; vertical-align:middle; ">작성내용</caption>
  3669. <select1 id="combo30" ref="/root/main/ep/physicn3" navindex="1" appearance="minimal" style="left:587px; top:32px; width:105px; height:19px; ">
  3670. <choices>
  3671. <itemset nodeset="/root/init/cmbinfo/physicnlist">
  3672. <label ref="basecdflagdesc"/>
  3673. <value ref="basecd"/>
  3674. </itemset>
  3675. </choices>
  3676. </select1>
  3677. <datagrid id="grd_historyep" nodeset="/root/main/historylist/ephistory" autoresize="true" caption="일자^시간^작성기록^분류^signno_h" colsep="^" colwidth="88, 54, 485, 80, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:2px; top:345px; width:733px; height:295px; ">
  3678. <col ref="wrtedd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
  3679. <col ref="wrtetm" type="output" format="hh:nn" style="text-align:center; "/>
  3680. <col ref="wrtecnts" type="output"/>
  3681. <col disabled="true" ref="goodclass" type="combo">
  3682. <choices>
  3683. <item>
  3684. <label/>
  3685. <value>N</value>
  3686. </item>
  3687. <item>
  3688. <label>Balloon</label>
  3689. <value>B</value>
  3690. </item>
  3691. <item>
  3692. <label>Puncture</label>
  3693. <value>P</value>
  3694. </item>
  3695. <item>
  3696. <label>재료</label>
  3697. <value>G</value>
  3698. </item>
  3699. <item>
  3700. <label>SEATH INSERTION</label>
  3701. <value>S</value>
  3702. </item>
  3703. </choices>
  3704. </col>
  3705. <col ref="signno" type="output" visibility="hidden"/>
  3706. <script type="javascript" ev:event="ondblclick">
  3707. <![CDATA[
  3708. // 수정하기 위한 Key값 Set
  3709. model.setValue("/root/main/ep/pid", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/pid") );
  3710. model.setValue("/root/main/ep/prcpdd", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/prcpdd") );
  3711. model.setValue("/root/main/ep/suppdeptcd", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/suppdeptcd") );
  3712. model.setValue("/root/main/ep/execprcpuniqno", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/execprcpuniqno") );
  3713. model.setValue("/root/main/ep/grupcd", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/grupcd") );
  3714. model.setValue("/root/main/ep/seq", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/seq") );
  3715. // 저장되었던 변경이 가능한 대상항목 보여주기
  3716. model.setValue("/root/main/ep/studycd", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/studycd") );
  3717. model.setValue("/root/main/ep/studynm", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/studynm") );
  3718. model.setValue("/root/main/ep/diagcd", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/diagcd") );
  3719. model.setValue("/root/main/ep/diagnm", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/diagnm") );
  3720. model.setValue("/root/main/ep/examkindcd", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/examkindcd") );
  3721. model.setValue("/root/main/ep/examkindnm", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/examkindnm") );
  3722. model.setValue("/root/main/ep/erinrmtm", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/erinrmtm") );
  3723. model.setValue("/root/main/ep/eroutrmtm", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/eroutrmtm") );
  3724. model.setValue("/root/main/ep/puncturetm", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/puncturetm") );
  3725. model.setValue("/root/main/ep/fstballoontm", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/fstballoontm") );
  3726. model.setValue("/root/main/ep/doortoballoontm", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/doortoballoontm") );
  3727. model.setValue("/root/main/ep/delyresn", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/delyresn") );
  3728. model.setValue("/root/main/ep/wrtedd", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/wrtedd") );
  3729. model.setValue("/root/main/ep/wrtetm", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/wrtetm") );
  3730. model.setValue("/root/main/ep/goodclass", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/goodclass") );
  3731. model.setValue("/root/main/ep/wrtecnts", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/wrtecnts") );
  3732. //2011.10.19 탭추가로 수정
  3733. model.setValue("/root/main/ep/cnfmyn", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/cnfmyn") );
  3734. model.setValue("/root/main/ep/physicn1", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/physicn1") );
  3735. model.setValue("/root/main/ep/physicn2", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/physicn2") );
  3736. model.setValue("/root/main/ep/physicn3", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/physicn3") );
  3737. model.setValue("/root/main/ep/ergtst", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/ergtst") );
  3738. model.setValue("/root/main/ep/therapy", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/therapy") );
  3739. model.setValue("/root/main/ep/hemostsis", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/hemostsis") );
  3740. model.setValue("/root/main/ep/fluorotm", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/fluorotm") );
  3741. model.setValue("/root/main/ep/contrst", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/contrst") );
  3742. model.setValue("/root/main/ep/cmpnycd", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/cmpnycd") );
  3743. model.setValue("/root/main/ep/chk1", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/chk1") );
  3744. model.setValue("/root/main/ep/chk2", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/chk2") );
  3745. model.setValue("/root/main/ep/chk3", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/chk3") );
  3746. model.setValue("/root/main/ep/chk4", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/chk4") );
  3747. model.setValue("/root/main/ep/chk5", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/chk5") );
  3748. model.setValue("/root/main/ep/chk6", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/chk6") );
  3749. model.setValue("/root/main/ep/chk7", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/chk7") );
  3750. model.setValue("/root/main/ep/chk8", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/chk8") );
  3751. model.setValue("/root/main/ep/chk9", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/chk9") );
  3752. model.setValue("/root/main/ep/chk10", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/chk10") );
  3753. model.setValue("/root/main/ep/chk11", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/chk11") );
  3754. model.setValue("/root/main/ep/chk12", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/chk12") );
  3755. model.setValue("/root/main/ep/chk13", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/chk13") );
  3756. model.setValue("/root/main/ep/chk14", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/chk14") );
  3757. model.setValue("/root/main/ep/chk15", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/chk15") );
  3758. model.setValue("/root/main/ep/chk16", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/chk16") );
  3759. model.setValue("/root/main/ep/chk17", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/chk17") );
  3760. model.setValue("/root/main/ep/chk18", model.getValue("/root/main/historylist/ephistory["+ grd_historyep.row +"]/chk18") );
  3761. //btn_save.disabled = true; // 저장버튼 비활성화
  3762. btn_delep.disabled = false; // 삭제버튼 활성화
  3763. btn_updateep.disabled = false; // 수정버튼 활성화
  3764. model.refresh();
  3765. ]]>
  3766. </script>
  3767. </datagrid>
  3768. <line id="line55" class="line_2" style="x1:0px; y1:165px; x2:733px; y2:165px; "/>
  3769. <caption id="caption122" class="cell_1" style="left:220px; top:140px; width:100px; height:23px; text-align:center; vertical-align:middle; ">ERG Test</caption>
  3770. <select1 id="combo35" ref="/root/main/ep/ergtst" navindex="1" appearance="minimal" style="left:322px; top:143px; width:105px; height:19px; ">
  3771. <choices>
  3772. <itemset nodeset="/root/init/cmbinfo/ergtstlist">
  3773. <label ref="basecdflagdesc"/>
  3774. <value ref="basecd"/>
  3775. </itemset>
  3776. </choices>
  3777. </select1>
  3778. <caption id="caption128" style="left:190px; top:175px; width:20px; height:20px; ">분</caption>
  3779. <bool id="bool16" checkvalue="Y,N" ref="/root/main/ep/cnfmyn" style="left:665px; top:200px; width:30px; height:20px; "/>
  3780. <caption id="caption144" style="left:690px; top:200px; width:45px; height:20px; ">판독</caption>
  3781. <bool id="bool36" checkvalue="Y,N" ref="/root/main/ep/chk5" style="left:15px; top:115px; width:30px; height:20px; "/>
  3782. <bool id="bool37" checkvalue="Y,N" ref="/root/main/ep/chk6" style="left:205px; top:115px; width:30px; height:20px; "/>
  3783. <bool id="bool38" checkvalue="Y,N" ref="/root/main/ep/chk7" style="left:395px; top:115px; width:30px; height:20px; "/>
  3784. <bool id="bool39" checkvalue="Y,N" ref="/root/main/ep/chk8" style="left:585px; top:115px; width:30px; height:20px; "/>
  3785. <bool id="bool40" checkvalue="Y,N" ref="/root/main/ep/chk1" style="left:15px; top:85px; width:30px; height:20px; "/>
  3786. <bool id="bool41" checkvalue="Y,N" ref="/root/main/ep/chk2" style="left:205px; top:85px; width:30px; height:20px; "/>
  3787. <bool id="bool42" checkvalue="Y,N" ref="/root/main/ep/chk3" style="left:395px; top:85px; width:30px; height:20px; "/>
  3788. <bool id="bool43" checkvalue="Y,N" ref="/root/main/ep/chk4" style="left:585px; top:85px; width:30px; height:20px; "/>
  3789. <bool id="bool44" checkvalue="Y,N" ref="/root/main/ep/chk9" style="left:15px; top:145px; width:30px; height:20px; "/>
  3790. <caption id="caption164" style="left:40px; top:115px; width:100px; height:20px; ">SNRT</caption>
  3791. <caption id="caption165" style="left:230px; top:115px; width:100px; height:20px; ">Veno gram</caption>
  3792. <caption id="caption166" style="left:420px; top:115px; width:100px; height:20px; ">Cardiac Bx</caption>
  3793. <caption id="caption167" style="left:610px; top:115px; width:100px; height:20px; ">Cardiac Cath</caption>
  3794. <caption id="caption168" style="left:40px; top:85px; width:100px; height:20px; ">EP</caption>
  3795. <caption id="caption169" style="left:230px; top:85px; width:100px; height:20px; ">
  3796. <![CDATA[EP & Ablation]]>
  3797. </caption>
  3798. <caption id="caption170" style="left:420px; top:85px; width:100px; height:20px; ">CARTO</caption>
  3799. <caption id="caption171" style="left:610px; top:85px; width:100px; height:20px; ">VT induction</caption>
  3800. <caption id="caption172" style="left:40px; top:145px; width:100px; height:20px; ">CAG</caption>
  3801. </case>
  3802. <case id="case11">
  3803. <caption id="caption101" class="cell_1" style="left:220px; top:30px; width:100px; height:23px; text-align:center; vertical-align:middle; ">2nd physician</caption>
  3804. <caption id="caption107" class="tit_2" style="left:2px; top:228px; width:93px; height:13px; ">작성 내용</caption>
  3805. <datagrid id="grd_historypm" nodeset="/root/main/historylist/pmhistory" autoresize="true" caption="일자^시간^작성기록^분류^signno_h" colsep="^" colwidth="88, 54, 485, 80, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:2px; top:370px; width:733px; height:270px; ">
  3806. <col ref="wrtedd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
  3807. <col ref="wrtetm" type="output" format="hh:nn" style="text-align:center; "/>
  3808. <col ref="wrtecnts" type="output"/>
  3809. <col disabled="true" ref="goodclass" type="combo">
  3810. <choices>
  3811. <item>
  3812. <label/>
  3813. <value>N</value>
  3814. </item>
  3815. <item>
  3816. <label>Balloon</label>
  3817. <value>B</value>
  3818. </item>
  3819. <item>
  3820. <label>Puncture</label>
  3821. <value>P</value>
  3822. </item>
  3823. <item>
  3824. <label>재료</label>
  3825. <value>G</value>
  3826. </item>
  3827. <item>
  3828. <label>SEATH INSERTION</label>
  3829. <value>S</value>
  3830. </item>
  3831. </choices>
  3832. </col>
  3833. <col ref="signno" type="output" visibility="hidden"/>
  3834. <script type="javascript" ev:event="ondblclick">
  3835. <![CDATA[
  3836. // 수정하기 위한 Key값 Set
  3837. model.setValue("/root/main/pm/pid", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/pid") );
  3838. model.setValue("/root/main/pm/prcpdd", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/prcpdd") );
  3839. model.setValue("/root/main/pm/suppdeptcd", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/suppdeptcd") );
  3840. model.setValue("/root/main/pm/execprcpuniqno", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/execprcpuniqno") );
  3841. model.setValue("/root/main/pm/grupcd", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/grupcd") );
  3842. model.setValue("/root/main/pm/seq", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/seq") );
  3843. // 저장되었던 변경이 가능한 대상항목 보여주기
  3844. model.setValue("/root/main/pm/studycd", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/studycd") );
  3845. model.setValue("/root/main/pm/studynm", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/studynm") );
  3846. model.setValue("/root/main/pm/diagcd", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/diagcd") );
  3847. model.setValue("/root/main/pm/diagnm", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/diagnm") );
  3848. model.setValue("/root/main/pm/examkindcd", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/examkindcd") );
  3849. model.setValue("/root/main/pm/examkindnm", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/examkindnm") );
  3850. model.setValue("/root/main/pm/erinrmtm", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/erinrmtm") );
  3851. model.setValue("/root/main/pm/eroutrmtm", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/eroutrmtm") );
  3852. model.setValue("/root/main/pm/puncturetm", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/puncturetm") );
  3853. model.setValue("/root/main/pm/fstballoontm", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/fstballoontm") );
  3854. model.setValue("/root/main/pm/doortoballoontm", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/doortoballoontm") );
  3855. model.setValue("/root/main/pm/delyresn", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/delyresn") );
  3856. model.setValue("/root/main/pm/wrtedd", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/wrtedd") );
  3857. model.setValue("/root/main/pm/wrtetm", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/wrtetm") );
  3858. model.setValue("/root/main/pm/goodclass", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/goodclass") );
  3859. model.setValue("/root/main/pm/wrtecnts", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/wrtecnts") );
  3860. //2011.10.19 탭추가로 수정
  3861. model.setValue("/root/main/pm/cnfmyn", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/cnfmyn") );
  3862. model.setValue("/root/main/pm/physicn1", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/physicn1") );
  3863. model.setValue("/root/main/pm/physicn2", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/physicn2") );
  3864. model.setValue("/root/main/pm/physicn3", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/physicn3") );
  3865. model.setValue("/root/main/pm/ergtst", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/ergtst") );
  3866. model.setValue("/root/main/pm/therapy", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/therapy") );
  3867. model.setValue("/root/main/pm/hemostsis", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/hemostsis") );
  3868. model.setValue("/root/main/pm/fluorotm", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/fluorotm") );
  3869. model.setValue("/root/main/pm/contrst", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/contrst") );
  3870. model.setValue("/root/main/pm/cmpnycd", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/cmpnycd") );
  3871. model.setValue("/root/main/pm/chk1", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/chk1") );
  3872. model.setValue("/root/main/pm/chk2", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/chk2") );
  3873. model.setValue("/root/main/pm/chk3", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/chk3") );
  3874. model.setValue("/root/main/pm/chk4", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/chk4") );
  3875. model.setValue("/root/main/pm/chk5", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/chk5") );
  3876. model.setValue("/root/main/pm/chk6", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/chk6") );
  3877. model.setValue("/root/main/pm/chk7", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/chk7") );
  3878. model.setValue("/root/main/pm/chk8", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/chk8") );
  3879. model.setValue("/root/main/pm/chk9", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/chk9") );
  3880. model.setValue("/root/main/pm/chk10", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/chk10") );
  3881. model.setValue("/root/main/pm/chk11", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/chk11") );
  3882. model.setValue("/root/main/pm/chk12", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/chk12") );
  3883. model.setValue("/root/main/pm/chk13", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/chk13") );
  3884. model.setValue("/root/main/pm/chk14", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/chk14") );
  3885. model.setValue("/root/main/pm/chk15", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/chk15") );
  3886. model.setValue("/root/main/pm/chk16", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/chk16") );
  3887. model.setValue("/root/main/pm/chk17", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/chk17") );
  3888. model.setValue("/root/main/pm/chk18", model.getValue("/root/main/historylist/pmhistory["+ grd_historypm.row +"]/chk18") );
  3889. //btn_save.disabled = true; // 저장버튼 비활성화
  3890. btn_delpm.disabled = false; // 삭제버튼 활성화
  3891. btn_updatepm.disabled = false; // 수정버튼 활성화
  3892. model.refresh();
  3893. ]]>
  3894. </script>
  3895. </datagrid>
  3896. <select1 id="combo23" ref="/root/main/pm/physicn1" navindex="1" appearance="minimal" style="left:102px; top:32px; width:105px; height:19px; ">
  3897. <choices>
  3898. <itemset nodeset="/root/init/cmbinfo/physicnlist">
  3899. <label ref="basecdflagdesc"/>
  3900. <value ref="basecd"/>
  3901. </itemset>
  3902. </choices>
  3903. </select1>
  3904. <select1 id="cmb_pmdiag" ref="/root/main/pm/diagcd" navindex="2" appearance="minimal" style="left:322px; top:4px; width:150px; height:19px; ">
  3905. <choices>
  3906. <itemset nodeset="/root/init/cmbinfo/diaglist">
  3907. <label ref="basecdflagdesc"/>
  3908. <value ref="basecd"/>
  3909. </itemset>
  3910. </choices>
  3911. <script type="javascript" ev:event="xforms-select">
  3912. <![CDATA[
  3913. // 아이템 갯수만큼 체크하면서 선택된 Value의 값과 동일한 순번의 코드를 가져오기 위해.
  3914. // 비교하지 않으면 무조건 첫번째 값을 가져오네. 그래서 체크로직 추가.
  3915. for(i = 1; i <= cmb_pmdiag.length; i++){
  3916. if(cmb_pmdiag.value == model.getValue("/root/init/cmbinfo/diaglist["+ i +"]/basecd")){
  3917. var basecd = model.getValue("/root/init/cmbinfo/diaglist["+ i +"]/basecd");
  3918. var basecdflagdesc = model.getValue("/root/init/cmbinfo/diaglist["+ i +"]/basecdflagdesc");
  3919. break;
  3920. }
  3921. }
  3922. model.setValue("/root/main/pm/diagcd", basecd);
  3923. model.setValue("/root/main/pm/diagnm", basecdflagdesc);
  3924. ]]>
  3925. </script>
  3926. </select1>
  3927. <caption id="caption108" class="cell_1" style="left:485px; top:30px; width:100px; height:23px; text-align:center; vertical-align:middle; ">3rd physician</caption>
  3928. <select1 id="combo27" ref="/root/main/pm/physicn2" navindex="1" appearance="minimal" style="left:322px; top:32px; width:105px; height:19px; ">
  3929. <choices>
  3930. <itemset nodeset="/root/init/cmbinfo/physicnlist">
  3931. <label ref="basecdflagdesc"/>
  3932. <value ref="basecd"/>
  3933. </itemset>
  3934. </choices>
  3935. </select1>
  3936. <line id="line67" class="line_2" style="x1:0px; y1:272px; x2:733px; y2:272px; "/>
  3937. <caption id="caption110" class="cell_1" style="left:485px; top:2px; width:100px; height:23px; text-align:center; vertical-align:middle; ">검사종류</caption>
  3938. <caption id="caption111" class="cell_1" style="left:220px; top:2px; width:100px; height:23px; text-align:center; vertical-align:middle; ">진단명</caption>
  3939. <line id="line68" class="line_2" style="x1:0px; y1:105px; x2:733px; y2:105px; "/>
  3940. <caption id="caption112" class="tit_2" style="left:0px; top:60px; width:177px; height:14px; ">시술 종류</caption>
  3941. <caption id="caption113" class="cell_1" style="left:400px; top:248px; width:100px; height:23px; text-align:center; vertical-align:middle; ">분류</caption>
  3942. <line id="line70" class="line_1" style="x1:0px; y1:75px; x2:733px; y2:75px; "/>
  3943. <caption id="caption114" class="cell_1" style="left:0px; top:2px; width:100px; height:23px; text-align:center; vertical-align:middle; ">study</caption>
  3944. <caption id="caption116" class="cell_1" style="left:0px; top:248px; width:100px; height:23px; text-align:center; vertical-align:middle; ">작성일자</caption>
  3945. <caption id="caption117" class="tit_2" style="left:2px; top:350px; width:162px; height:13px; ">작성기록</caption>
  3946. <line id="line72" class="line_3" style="x1:2px; y1:220px; x2:735px; y2:220px; "/>
  3947. <caption id="caption118" class="cell_1" style="left:0px; top:275px; width:100px; height:60px; text-align:center; vertical-align:middle; ">작성내용</caption>
  3948. <caption id="caption119" class="cell_1" style="left:0px; top:30px; width:100px; height:23px; text-align:center; vertical-align:middle; ">1st physician</caption>
  3949. <line id="line73" class="line_2" style="x1:0px; y1:27px; x2:733px; y2:27px; "/>
  3950. <input id="ipt_pmtime" ref="/root/main/pm/wrtetm" navindex="11" format="hh:nn" style="left:307px; top:250px; width:70px; height:19px; text-align:center; "/>
  3951. <input id="ipt_pmdate" ref="/root/main/pm/wrtedd" navindex="10" inputtype="date" style="left:102px; top:250px; width:90px; height:19px; "/>
  3952. <line id="line74" class="line_3" style="x1:0px; y1:337px; x2:733px; y2:337px; "/>
  3953. <select1 id="combo31" ref="/root/main/pm/physicn3" navindex="1" appearance="minimal" style="left:587px; top:32px; width:105px; height:19px; ">
  3954. <choices>
  3955. <itemset nodeset="/root/init/cmbinfo/physicnlist">
  3956. <label ref="basecdflagdesc"/>
  3957. <value ref="basecd"/>
  3958. </itemset>
  3959. </choices>
  3960. </select1>
  3961. <button id="btn_updatepm" class="btn2_letter2" disabled="true" style="left:606px; top:342px; width:42px; height:19px; ">
  3962. <caption>수정</caption>
  3963. <script type="javascript" ev:event="DOMActivate">
  3964. <![CDATA[
  3965. // 필수항목 입력 체크
  3966. if(PmCheck() == '0'){
  3967. return;
  3968. }
  3969. model.copyNode("/root/send/req/data", "/root/main/pm");
  3970. model.makeValue("/root/send/req/data/m", "u");
  3971. submit("TXAEA14001");
  3972. model.resetInstanceNode("/root/send/req/data");
  3973. // 저장 후 작성기록 재조회하기
  3974. model.makeValue("/root/send/req/data/pid", model.getValue("/root/main/pm/pid") );
  3975. model.makeValue("/root/send/req/data/prcpdd", model.getValue("/root/main/pm/prcpdd") );
  3976. model.makeValue("/root/send/req/data/execprcpuniqno", model.getValue("/root/main/pm/execprcpuniqno") );
  3977. model.makeValue("/root/send/req/data/prcpgenrflag", model.getValue("/root/main/pm/prcpgenrflag") );
  3978. model.makeValue("/root/send/req/data/cretno", model.getValue("/root/main/pm/cretno") );
  3979. model.makeValue("/root/send/req/data/orddd", model.getValue("/root/main/pm/orddd") );
  3980. model.makeValue("/root/send/req/data/grupcd", "PM");
  3981. DefaultSet(); // 화면 기본값 셋팅 및 환경설정
  3982. // 선택된 작성리스트의 상세작성기록 가져오기
  3983. submit("TRAER14009");
  3984. aezfSetRowStyle("grd_historypm", "2" , "0" , "signno" , "bigger" );
  3985. model.refresh();
  3986. ]]>
  3987. </script>
  3988. </button>
  3989. <select1 id="cmb_pmstudy" ref="/root/main/pm/studycd" navindex="1" appearance="minimal" style="left:102px; top:4px; width:105px; height:19px; ">
  3990. <choices>
  3991. <itemset nodeset="/root/init/cmbinfo/studylist">
  3992. <label ref="basecdflagdesc"/>
  3993. <value ref="basecd"/>
  3994. </itemset>
  3995. </choices>
  3996. <script type="javascript" ev:event="xforms-select">
  3997. <![CDATA[
  3998. // 아이템 갯수만큼 체크하면서 선택된 Value의 값과 동일한 순번의 코드를 가져오기 위해.
  3999. // 비교하지 않으면 무조건 첫번째 값을 가져오네. 그래서 체크로직 추가.
  4000. for(i = 1; i <= cmb_pmstudy.length; i++){
  4001. if(cmb_pmstudy.value == model.getValue("/root/init/cmbinfo/studylist["+ i +"]/basecd")){
  4002. var basecd = model.getValue("/root/init/cmbinfo/studylist["+ i +"]/basecd");
  4003. var basecdflagdesc = model.getValue("/root/init/cmbinfo/studylist["+ i +"]/basecdflagdesc");
  4004. break;
  4005. }
  4006. }
  4007. model.setValue("/root/main/pm/studycd", basecd);
  4008. model.setValue("/root/main/pm/studynm", basecdflagdesc);
  4009. ]]>
  4010. </script>
  4011. </select1>
  4012. <button id="btn_delpm" class="btn2_letter2" disabled="true" style="left:650px; top:342px; width:42px; height:19px; ">
  4013. <caption>삭제</caption>
  4014. <script type="javascript" ev:event="DOMActivate">
  4015. <![CDATA[
  4016. model.copyNode("/root/send/req/data", "/root/main/pm");
  4017. model.makeValue("/root/send/req/data/m", "d");
  4018. submit("TXAEA14001");
  4019. model.resetInstanceNode("/root/send/req/data");
  4020. // 저장 후 작성기록 재조회하기
  4021. model.makeValue("/root/send/req/data/pid", model.getValue("/root/main/pm/pid") );
  4022. model.makeValue("/root/send/req/data/prcpdd", model.getValue("/root/main/pm/prcpdd") );
  4023. model.makeValue("/root/send/req/data/execprcpuniqno", model.getValue("/root/main/pm/execprcpuniqno") );
  4024. model.makeValue("/root/send/req/data/prcpgenrflag", model.getValue("/root/main/pm/prcpgenrflag") );
  4025. model.makeValue("/root/send/req/data/cretno", model.getValue("/root/main/pm/cretno") );
  4026. model.makeValue("/root/send/req/data/orddd", model.getValue("/root/main/pm/orddd") );
  4027. model.makeValue("/root/send/req/data/grupcd", "PM");
  4028. DefaultSet(); // 화면 기본값 셋팅 및 환경설정
  4029. // 선택된 작성리스트의 상세작성기록 가져오기
  4030. submit("TRAER14009");
  4031. aezfSetRowStyle("grd_historypm", "2" , "0" , "signno" , "bigger" );
  4032. model.refresh();
  4033. ]]>
  4034. </script>
  4035. </button>
  4036. <textarea id="textarea5" ref="/root/main/pm/wrtecnts" navindex="12" style="left:102px; top:275px; width:625px; height:60px; "/>
  4037. <caption id="caption120" class="cell_1" style="left:205px; top:248px; width:100px; height:23px; text-align:center; vertical-align:middle; ">작업시간</caption>
  4038. <line id="line75" class="line_1" style="x1:2px; y1:243px; x2:735px; y2:243px; "/>
  4039. <button id="btn_savepm" class="btn2_letter2" disabled="true" style="left:693px; top:342px; width:42px; height:19px; ">
  4040. <caption>저장</caption>
  4041. <script type="javascript" ev:event="DOMActivate">
  4042. <![CDATA[
  4043. // 필수항목 입력 체크
  4044. if(PmCheck() == '0'){
  4045. return;
  4046. }
  4047. if (ipt_pmtime.value == "0000"){
  4048. ipt_pmtime.value = getCurrentTime().substr(0, 4); // ANGIO 작성시간
  4049. }
  4050. model.copyNode("/root/send/req/data", "/root/main/pm");
  4051. model.makeValue("/root/send/req/data/m", "i");
  4052. submit("TXAEA14001");
  4053. model.resetInstanceNode("/root/send/req/data");
  4054. // 저장 후 작성기록 재조회하기
  4055. model.makeValue("/root/send/req/data/pid", model.getValue("/root/main/pm/pid") );
  4056. model.makeValue("/root/send/req/data/prcpdd", model.getValue("/root/main/pm/prcpdd") );
  4057. model.makeValue("/root/send/req/data/execprcpuniqno", model.getValue("/root/main/pm/execprcpuniqno") );
  4058. model.makeValue("/root/send/req/data/prcpgenrflag", model.getValue("/root/main/pm/prcpgenrflag") );
  4059. model.makeValue("/root/send/req/data/cretno", model.getValue("/root/main/pm/cretno") );
  4060. model.makeValue("/root/send/req/data/orddd", model.getValue("/root/main/pm/orddd") );
  4061. model.makeValue("/root/send/req/data/grupcd", "PM");
  4062. DefaultSet(); // 화면 기본값 셋팅 및 환경설정
  4063. // 선택된 작성리스트의 상세작성기록 가져오기
  4064. submit("TRAER14009");
  4065. aezfSetRowStyle("grd_historypm", "2" , "0" , "signno" , "bigger" );
  4066. model.refresh();
  4067. ]]>
  4068. </script>
  4069. </button>
  4070. <select1 id="combo33" ref="/root/main/pm/goodclass" appearance="minimal" style="left:502px; top:250px; width:100px; height:19px; ">
  4071. <choices>
  4072. <item>
  4073. <label/>
  4074. <value>N</value>
  4075. </item>
  4076. <item>
  4077. <label>Balloon</label>
  4078. <value>B</value>
  4079. </item>
  4080. <item>
  4081. <label>Puncture</label>
  4082. <value>P</value>
  4083. </item>
  4084. <item>
  4085. <label>재료</label>
  4086. <value>G</value>
  4087. </item>
  4088. <item>
  4089. <label>SEATH INSERTION</label>
  4090. <value>S</value>
  4091. </item>
  4092. </choices>
  4093. </select1>
  4094. <select1 id="cmb_pmexamkind" ref="/root/main/pm/examkindcd" navindex="3" appearance="minimal" style="left:587px; top:4px; width:105px; height:19px; ">
  4095. <choices>
  4096. <itemset nodeset="/root/init/cmbinfo/examkindlist">
  4097. <label ref="basecdflagdesc"/>
  4098. <value ref="basecd"/>
  4099. </itemset>
  4100. </choices>
  4101. <script type="javascript" ev:event="xforms-select">
  4102. <![CDATA[
  4103. // 아이템 갯수만큼 체크하면서 선택된 Value의 값과 동일한 순번의 코드를 가져오기 위해.
  4104. // 비교하지 않으면 무조건 첫번째 값을 가져오네. 그래서 체크로직 추가.
  4105. for(i = 1; i <= cmb_pmexamkind.length; i++){
  4106. if(cmb_pmexamkind.value == model.getValue("/root/init/cmbinfo/examkindlist["+ i +"]/basecd")){
  4107. var basecd = model.getValue("/root/init/cmbinfo/examkindlist["+ i +"]/basecd");
  4108. var basecdflagdesc = model.getValue("/root/init/cmbinfo/examkindlist["+ i +"]/basecdflagdesc");
  4109. break;
  4110. }
  4111. }
  4112. model.setValue("/root/main/pm/examkindcd", basecd);
  4113. model.setValue("/root/main/pm/examkindnm", basecdflagdesc);
  4114. ]]>
  4115. </script>
  4116. </select1>
  4117. <line id="line76" class="line_1" style="x1:2px; y1:365px; x2:735px; y2:365px; "/>
  4118. <line id="line77" class="line_1" style="x1:0px; y1:160px; x2:733px; y2:160px; "/>
  4119. <caption id="caption115" class="tit_2" style="left:0px; top:145px; width:123px; height:14px; ">Pulse Generator</caption>
  4120. <line id="line69" class="line_2" style="x1:0px; y1:190px; x2:733px; y2:190px; "/>
  4121. <line id="line71" class="line_3" style="x1:0px; y1:135px; x2:733px; y2:135px; "/>
  4122. <line id="line63" class="line_3" style="x1:0px; y1:55px; x2:733px; y2:55px; "/>
  4123. <caption id="caption121" class="cell_1" style="left:485px; top:195px; width:100px; height:23px; text-align:center; vertical-align:middle; ">Company</caption>
  4124. <select1 id="combo19" ref="/root/main/pm/cmpnycd" navindex="1" appearance="minimal" style="left:587px; top:198px; width:105px; height:19px; ">
  4125. <choices>
  4126. <itemset nodeset="/root/init/cmbinfo/cmpnycdlist">
  4127. <label ref="basecdflagdesc"/>
  4128. <value ref="basecd"/>
  4129. </itemset>
  4130. </choices>
  4131. </select1>
  4132. <caption id="caption145" style="left:690px; top:225px; width:45px; height:20px; ">판독</caption>
  4133. <bool id="bool17" checkvalue="Y,N" ref="/root/main/pm/cnfmyn" style="left:665px; top:225px; width:30px; height:20px; "/>
  4134. <bool id="bool45" checkvalue="Y,N" ref="/root/main/pm/chk1" style="left:15px; top:85px; width:30px; height:20px; "/>
  4135. <bool id="bool46" checkvalue="Y,N" ref="/root/main/pm/chk2" style="left:205px; top:85px; width:30px; height:20px; "/>
  4136. <bool id="bool47" checkvalue="Y,N" ref="/root/main/pm/chk3" style="left:395px; top:85px; width:30px; height:20px; "/>
  4137. <bool id="bool48" checkvalue="Y,N" ref="/root/main/pm/chk4" style="left:585px; top:85px; width:30px; height:20px; "/>
  4138. <bool id="bool49" checkvalue="Y,N" ref="/root/main/pm/chk7" style="left:15px; top:170px; width:30px; height:20px; "/>
  4139. <bool id="bool50" checkvalue="Y,N" ref="/root/main/pm/chk8" style="left:205px; top:170px; width:30px; height:20px; "/>
  4140. <bool id="bool51" checkvalue="Y,N" ref="/root/main/pm/chk9" style="left:395px; top:170px; width:30px; height:20px; "/>
  4141. <bool id="bool52" checkvalue="Y,N" ref="/root/main/pm/chk10" style="left:585px; top:170px; width:30px; height:20px; "/>
  4142. <bool id="bool53" checkvalue="Y,N" ref="/root/main/pm/chk12" style="left:205px; top:200px; width:30px; height:20px; "/>
  4143. <bool id="bool54" checkvalue="Y,N" ref="/root/main/pm/chk13" style="left:395px; top:200px; width:30px; height:20px; "/>
  4144. <bool id="bool56" checkvalue="Y,N" ref="/root/main/pm/chk11" style="left:15px; top:200px; width:30px; height:20px; "/>
  4145. <bool id="bool57" checkvalue="Y,N" ref="/root/main/pm/chk6" style="left:205px; top:115px; width:30px; height:20px; "/>
  4146. <bool id="bool60" checkvalue="Y,N" ref="/root/main/pm/chk5" style="left:15px; top:115px; width:30px; height:20px; "/>
  4147. <caption id="caption173" style="left:40px; top:85px; width:100px; height:20px; ">ICD</caption>
  4148. <caption id="caption174" style="left:230px; top:85px; width:127px; height:20px; ">Permanent Pacemaker</caption>
  4149. <caption id="caption175" style="left:420px; top:85px; width:105px; height:20px; ">Generator Change</caption>
  4150. <caption id="caption176" style="left:610px; top:85px; width:100px; height:20px; ">CRT</caption>
  4151. <caption id="caption177" style="left:40px; top:115px; width:100px; height:20px; ">Temporary P.M</caption>
  4152. <caption id="caption178" style="left:230px; top:115px; width:100px; height:20px; ">Surface Pacing</caption>
  4153. <caption id="caption181" style="left:420px; top:170px; width:100px; height:20px; ">VVI</caption>
  4154. <caption id="caption182" style="left:610px; top:170px; width:100px; height:20px; ">VVIR</caption>
  4155. <caption id="caption183" style="left:40px; top:170px; width:100px; height:20px; ">AAI</caption>
  4156. <caption id="caption184" style="left:230px; top:170px; width:100px; height:20px; ">AAIR</caption>
  4157. <caption id="caption185" style="left:420px; top:200px; width:100px; height:20px; ">DDDR</caption>
  4158. <caption id="caption187" style="left:40px; top:200px; width:100px; height:20px; ">VDD</caption>
  4159. <caption id="caption188" style="left:230px; top:200px; width:100px; height:20px; ">DDD</caption>
  4160. </case>
  4161. </switch>
  4162. <button id="btn_save3" class="btn4_letter4" style="left:1105px; top:740px; width:80px; height:22px; ">
  4163. <caption>확정저장</caption>
  4164. <script type="javascript" ev:event="DOMActivate">
  4165. <![CDATA[
  4166. // 저장하기 전 기존 데이터 초기화
  4167. model.removeNodeset("/root/send/savedata");
  4168. // model.removeNodeset("/root/send/signdata");
  4169. model.removeNodeset("/root/temp/historylist");
  4170. if (btn_case7.selected == true){
  4171. if ( grd_ephistory.rows< grd_ephistory.fixedRows + 1){ // 작성리스트의 행이 없으면 리턴하기
  4172. messageBox("기록된 내역이 없습니다", "E999");
  4173. return;
  4174. }
  4175. for ( i = grd_ephistory.fixedRows; i < grd_ephistory.rows; i++ ) {
  4176. model.makeValue("/root/temp/historylist/history["+ i +"]/pid", model.getValue("/root/main/historylist/ephistory["+ i +"]/pid") );
  4177. model.makeValue("/root/temp/historylist/history["+ i +"]/prcpdd", model.getValue("/root/main/historylist/ephistory["+ i +"]/prcpdd") );
  4178. model.makeValue("/root/temp/historylist/history["+ i +"]/execprcpuniqno", model.getValue("/root/main/historylist/ephistory["+ i +"]/execprcpuniqno") );
  4179. model.makeValue("/root/temp/historylist/history["+ i +"]/orddd", model.getValue("/root/main/historylist/ephistory["+ i +"]/orddd") );
  4180. model.makeValue("/root/temp/historylist/history["+ i +"]/cretno", model.getValue("/root/main/historylist/ephistory["+ i +"]/cretno") );
  4181. model.makeValue("/root/temp/historylist/history["+ i +"]/signno", model.getValue("/root/main/historylist/ephistory["+ i +"]/signno") );
  4182. model.makeValue("/root/temp/historylist/history["+ i +"]/grupcd", "EP");
  4183. model.makeValue("/root/temp/historylist/history["+ i +"]/wrtedd", model.getValue("/root/main/historylist/ephistory["+ i +"]/wrtedd") + model.getValue("/root/main/historylist/ephistory["+ i +"]/wrtetm") );
  4184. model.makeValue("/root/temp/historylist/history["+ i +"]/wrtetm", model.getValue("/root/main/historylist/ephistory["+ i +"]/wrtetm") );
  4185. model.makeValue("/root/temp/historylist/history["+ i +"]/wrtecnts", model.getValue("/root/main/historylist/ephistory["+ i +"]/wrtecnts") );
  4186. model.makeValue("/root/temp/historylist/history["+ i +"]/ablationcnts", model.getValue("/root/main/historylist/ephistory["+ i +"]/ablationcnts") );
  4187. if ( model.getValue("/root/main/historylist/ephistory["+ i +"]/goodclass") == "G"){
  4188. model.makeValue("/root/temp/historylist/goodclasslist["+ i +"]/wrtecnts", model.getValue("/root/main/historylist/ephistory["+ i +"]/wrtecnts"));
  4189. }
  4190. } // for 종료
  4191. }else{
  4192. if ( grd_whistory.rows< grd_whistory.fixedRows + 1){ // 작성리스트의 행이 없으면 리턴하기
  4193. messageBox("기록된 내역이 없습니다", "E999");
  4194. return;
  4195. }
  4196. for ( i = grd_whistory.fixedRows; i < grd_whistory.rows; i++ ) {
  4197. model.makeValue("/root/temp/historylist/history["+ i +"]/pid", model.getValue("/root/main/historylist/angiohistory["+ i +"]/pid") );
  4198. model.makeValue("/root/temp/historylist/history["+ i +"]/prcpdd", model.getValue("/root/main/historylist/angiohistory["+ i +"]/prcpdd") );
  4199. model.makeValue("/root/temp/historylist/history["+ i +"]/execprcpuniqno", model.getValue("/root/main/historylist/angiohistory["+ i +"]/execprcpuniqno") );
  4200. model.makeValue("/root/temp/historylist/history["+ i +"]/orddd", model.getValue("/root/main/historylist/angiohistory["+ i +"]/orddd") );
  4201. model.makeValue("/root/temp/historylist/history["+ i +"]/cretno", model.getValue("/root/main/historylist/angiohistory["+ i +"]/cretno") );
  4202. model.makeValue("/root/temp/historylist/history["+ i +"]/signno", model.getValue("/root/main/historylist/angiohistory["+ i +"]/signno") );
  4203. model.makeValue("/root/temp/historylist/history["+ i +"]/grupcd", "ANGIO");
  4204. model.makeValue("/root/temp/historylist/history["+ i +"]/wrtedd", model.getValue("/root/main/historylist/angiohistory["+ i +"]/wrtedd") + model.getValue("/root/main/historylist/angiohistory["+ i +"]/wrtetm") );
  4205. model.makeValue("/root/temp/historylist/history["+ i +"]/wrtetm", model.getValue("/root/main/historylist/angiohistory["+ i +"]/wrtetm") );
  4206. model.makeValue("/root/temp/historylist/history["+ i +"]/wrtecnts", model.getValue("/root/main/historylist/angiohistory["+ i +"]/wrtecnts") );
  4207. model.makeValue("/root/temp/historylist/history["+ i +"]/ablationcnts", model.getValue("/root/main/historylist/angiohistory["+ i +"]/ablationcnts") );
  4208. if ( model.getValue("/root/main/historylist/angiohistory["+ i +"]/goodclass") == "G"){
  4209. model.makeValue("/root/temp/historylist/goodclasslist["+ i +"]/wrtecnts", model.getValue("/root/main/historylist/angiohistory["+ i +"]/wrtecnts"));
  4210. }
  4211. } // for 종료
  4212. }
  4213. // 인증내역 저장실행
  4214. fExeMakeCertPrcs();
  4215. ]]>
  4216. </script>
  4217. </button>
  4218. <button id="btn_del2" class="btn4_letter4" visibility="hidden" style="left:1010px; top:740px; width:80px; height:22px; ">
  4219. <caption>확정삭제</caption>
  4220. <script type="javascript" ev:event="onclick">
  4221. <![CDATA[
  4222. /*
  4223. // 삭제하기 전 기존 데이터 초기화
  4224. model.removeNodeset("/root/send/savedata");
  4225. model.removeNodeset("/root/send/signdata");
  4226. model.removeNodeset("/root/temp/historylist");
  4227. if (btn_case7.selected == true){
  4228. if ( grd_ephistory.rows< grd_ephistory.fixedRows + 1){ // 작성리스트의 행이 없으면 리턴하기
  4229. messageBox("기록된 내역이 없습니다", "E999");
  4230. return;
  4231. }
  4232. for ( i = grd_ephistory.fixedRows; i < grd_ephistory.rows; i++ ) {
  4233. model.setValue("/root/hidden/signdelyn", "Y"); // 인증데이터 삭제 적용여부
  4234. model.makeValue("/root/temp/historylist/history["+ i +"]/pid", model.getValue("/root/main/historylist/ephistory["+ i +"]/pid") );
  4235. model.makeValue("/root/temp/historylist/history["+ i +"]/prcpdd", model.getValue("/root/main/historylist/ephistory["+ i +"]/prcpdd") );
  4236. model.makeValue("/root/temp/historylist/history["+ i +"]/execprcpuniqno", model.getValue("/root/main/historylist/ephistory["+ i +"]/execprcpuniqno") );
  4237. model.makeValue("/root/temp/historylist/history["+ i +"]/orddd", model.getValue("/root/main/historylist/ephistory["+ i +"]/orddd") );
  4238. model.makeValue("/root/temp/historylist/history["+ i +"]/cretno", model.getValue("/root/main/historylist/ephistory["+ i +"]/cretno") );
  4239. model.makeValue("/root/temp/historylist/history["+ i +"]/signno", model.getValue("/root/main/historylist/ephistory["+ i +"]/signno") );
  4240. model.makeValue("/root/temp/historylist/history["+ i +"]/grupcd", "EP");
  4241. model.makeValue("/root/temp/historylist/history["+ i +"]/wrtedd", model.getValue("/root/main/historylist/ephistory["+ i +"]/wrtedd") + model.getValue("/root/main/historylist/ephistory["+ i +"]/wrtetm") );
  4242. model.makeValue("/root/temp/historylist/history["+ i +"]/wrtetm", model.getValue("/root/main/historylist/ephistory["+ i +"]/wrtetm") );
  4243. model.makeValue("/root/temp/historylist/history["+ i +"]/wrtecnts", model.getValue("/root/main/historylist/ephistory["+ i +"]/wrtecnts") );
  4244. model.makeValue("/root/temp/historylist/history["+ i +"]/ablationcnts", model.getValue("/root/main/historylist/ephistory["+ i +"]/ablationcnts") );
  4245. if ( model.getValue("/root/main/historylist/ephistory["+ i +"]/goodclass") == "G"){
  4246. model.makeValue("/root/temp/historylist/goodclasslist["+ i +"]/wrtecnts", model.getValue("/root/main/historylist/ephistory["+ i +"]/wrtecnts"));
  4247. }
  4248. } // for 종료
  4249. }else{
  4250. if ( grd_whistory.rows< grd_whistory.fixedRows + 1){ // 작성리스트의 행이 없으면 리턴하기
  4251. messageBox("기록된 내역이 없습니다", "E999");
  4252. return;
  4253. }
  4254. for ( i = grd_whistory.fixedRows; i < grd_whistory.rows; i++ ) {
  4255. model.setValue("/root/hidden/signdelyn", "Y"); // 인증데이터 삭제 적용여부
  4256. model.makeValue("/root/temp/historylist/history["+ i +"]/pid", model.getValue("/root/main/historylist/angiohistory["+ i +"]/pid") );
  4257. model.makeValue("/root/temp/historylist/history["+ i +"]/prcpdd", model.getValue("/root/main/historylist/angiohistory["+ i +"]/prcpdd") );
  4258. model.makeValue("/root/temp/historylist/history["+ i +"]/execprcpuniqno", model.getValue("/root/main/historylist/angiohistory["+ i +"]/execprcpuniqno") );
  4259. model.makeValue("/root/temp/historylist/history["+ i +"]/orddd", model.getValue("/root/main/historylist/angiohistory["+ i +"]/orddd") );
  4260. model.makeValue("/root/temp/historylist/history["+ i +"]/cretno", model.getValue("/root/main/historylist/angiohistory["+ i +"]/cretno") );
  4261. model.makeValue("/root/temp/historylist/history["+ i +"]/signno", model.getValue("/root/main/historylist/angiohistory["+ i +"]/signno") );
  4262. model.makeValue("/root/temp/historylist/history["+ i +"]/grupcd", "ANGIO");
  4263. model.makeValue("/root/temp/historylist/history["+ i +"]/wrtedd", model.getValue("/root/main/historylist/angiohistory["+ i +"]/wrtedd") + model.getValue("/root/main/historylist/angiohistory["+ i +"]/wrtetm") );
  4264. model.makeValue("/root/temp/historylist/history["+ i +"]/wrtetm", model.getValue("/root/main/historylist/angiohistory["+ i +"]/wrtetm") );
  4265. model.makeValue("/root/temp/historylist/history["+ i +"]/wrtecnts", model.getValue("/root/main/historylist/angiohistory["+ i +"]/wrtecnts") );
  4266. model.makeValue("/root/temp/historylist/history["+ i +"]/ablationcnts", model.getValue("/root/main/historylist/angiohistory["+ i +"]/ablationcnts") );
  4267. if ( model.getValue("/root/main/historylist/angiohistory["+ i +"]/goodclass") == "G"){
  4268. model.makeValue("/root/temp/historylist/goodclasslist["+ i +"]/wrtecnts", model.getValue("/root/main/historylist/angiohistory["+ i +"]/wrtecnts"));
  4269. }
  4270. } // for 종료
  4271. }
  4272. // 인증내역 저장실행
  4273. fExeDelCertPrcs();
  4274. model.setValue("/root/hidden/signdelyn", "N"); // 인증데이터 삭제 적용여부
  4275. */
  4276. ]]>
  4277. </script>
  4278. </button>
  4279. <button id="btn_case6" class="btn_sw" group="tab2" selected="true" style="left:450px; top:56px; width:80px; height:22px; ">
  4280. <caption>ANGIO</caption>
  4281. <toggle case="case8" ev:event="onclick"/>
  4282. <script type="javascript" ev:event="DOMActivate">
  4283. <![CDATA[
  4284. model.setValue("/root/send/dispnm","AG"); //ANGIO default로 셋팅
  4285. submit("TRAER14003"); // 검사종류등의 마스터로 관리되는 리스트박스 내역 가져오기
  4286. ]]>
  4287. </script>
  4288. </button>
  4289. <button id="btn_case7" class="btn_sw" group="tab2" style="left:530px; top:56px; width:140px; height:22px; ">
  4290. <caption>
  4291. <![CDATA[Cath & Intervention]]>
  4292. </caption>
  4293. <toggle case="case9" ev:event="onclick"/>
  4294. <script type="javascript" ev:event="DOMActivate">
  4295. <![CDATA[
  4296. model.setValue("/root/send/dispnm","CATH"); //ANGIO default로 셋팅
  4297. submit("TRAER14003"); // 검사종류등의 마스터로 관리되는 리스트박스 내역 가져오기
  4298. ]]>
  4299. </script>
  4300. </button>
  4301. <button id="button8" class="icon_clock" visibility="hidden" style="left:1115px; top:55px; width:16px; height:16px; ">
  4302. <caption/>
  4303. <script type="javascript" ev:event="DOMActivate">
  4304. <![CDATA[
  4305. model.setValue("/root/main/ep/wrtetm", getCurrentTime().substr(0,4));
  4306. ipt_epwrtetm.refresh();
  4307. ]]>
  4308. </script>
  4309. </button>
  4310. <shape id="roundrect3" class="roundrect_example" appearance="roundrect" style="left:450px; top:740px; width:445px; height:24px; background-color:#fffbf2; border-color:#7cbbdd; "/>
  4311. <caption id="caption33" style="left:460px; top:743px; width:35px; height:20px; ">범례 :</caption>
  4312. <caption id="caption34" style="left:779px; top:745px; width:20px; height:15px; background-color:#ffe79d; "/>
  4313. <caption id="caption35" style="left:504px; top:744px; width:20px; height:15px; background-color:#FF9A00; "/>
  4314. <caption id="caption36" style="left:805px; top:745px; width:95px; height:15px; ">인증저장 완료</caption>
  4315. <caption id="caption37" style="left:664px; top:745px; width:20px; height:15px; background-color:#ccffcc; "/>
  4316. <caption id="caption38" style="left:530px; top:744px; width:45px; height:15px; ">미수납</caption>
  4317. <caption id="caption39" style="left:690px; top:745px; width:70px; height:15px; ">오늘 결과</caption>
  4318. <caption id="caption52" style="left:579px; top:744px; width:20px; height:15px; background-color:#ffff00; "/>
  4319. <caption id="caption55" style="left:605px; top:744px; width:55px; height:15px; ">수납 VIP</caption>
  4320. <button id="button1" class="icon_list" style="left:1175px; top:60px; width:14px; height:16px; text-align:left; ">
  4321. <caption/>
  4322. <hint>
  4323. <![CDATA[### ANGIO
  4324. : 첫 Balloon 시간 - 입력된 balloon 시간 중 가장 먼저 입력된 시간을 보여 줌. 단 작성기록에서 선택시 해당 기록의 시간으로 보여 줌
  4325. : Door to Balloon - ER입실시간 ~ 첫balloon 까지의 지연시간. 단 작성기록에서 선택시 해당 기록의 시간으로 보여 줌
  4326. ]]>
  4327. </hint>
  4328. </button>
  4329. <button id="btn_case8" class="btn_sw" group="tab2" style="left:670px; top:55px; width:80px; height:22px; ">
  4330. <caption>EP</caption>
  4331. <toggle case="case10" ev:event="onclick"/>
  4332. <script type="javascript" ev:event="DOMActivate">
  4333. <![CDATA[
  4334. model.setValue("/root/send/dispnm","EP"); //ANGIO default로 셋팅
  4335. submit("TRAER14003"); // 검사종류등의 마스터로 관리되는 리스트박스 내역 가져오기
  4336. ]]>
  4337. </script>
  4338. </button>
  4339. <button id="btn_case9" class="btn_sw" group="tab2" style="left:750px; top:55px; width:80px; height:22px; ">
  4340. <caption>
  4341. <![CDATA[PM & ICD]]>
  4342. </caption>
  4343. <toggle case="case11" ev:event="onclick"/>
  4344. <script type="javascript" ev:event="DOMActivate">
  4345. <![CDATA[
  4346. model.setValue("/root/send/dispnm","PM"); //ANGIO default로 셋팅
  4347. submit("TRAER14003"); // 검사종류등의 마스터로 관리되는 리스트박스 내역 가져오기
  4348. ]]>
  4349. </script>
  4350. </button>
  4351. </xhtml:body>
  4352. </xhtml:html>