SMLBD01900_업무내역등록.xrw 186 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLBD01900_업무내역등록.xrw
  4. * 설 명 : 업무내역등록
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : (주)에이씨케이 - 박정은
  7. * 작 성 일 : 2007.10.16
  8. * 수정이력 : 2008.03.05 박정은
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>업무내역등록</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root>
  18. <main>
  19. <ptinfo>
  20. <patinfo>
  21. <patnm/>
  22. <rrgstno/>
  23. <sexage/>
  24. <ord/>
  25. <wardroom/>
  26. <orddept/>
  27. <orddrnm/>
  28. <ht/>
  29. <kg/>
  30. <jindan/>
  31. <btype/>
  32. <tnsrpid/>
  33. <orddd/>
  34. <cretno/>
  35. <prcpgenrflag/>
  36. <natno/>
  37. <orddeptcd/>
  38. <acptseqno/>
  39. <instcd/>
  40. <orgorddd/>
  41. <wardcd/>
  42. <wardnm/>
  43. <roomcd/>
  44. </patinfo>
  45. <dnorinfo>
  46. <chk/>
  47. <prcpdd/>
  48. <dnornm/>
  49. <rrgstno/>
  50. <sexage/>
  51. <bdht/>
  52. <bdwt/>
  53. <btype/>
  54. <panjung/>
  55. <rectdondd/>
  56. <homeaddr/>
  57. <hometel/>
  58. <dnorno/>
  59. <dnorseqno/>
  60. </dnorinfo>
  61. <history>
  62. <execdd/>
  63. <exectm/>
  64. <recrid/>
  65. <usernm/>
  66. <kind/>
  67. <hist/>
  68. <bizlrgkind/>
  69. <bizmdlkind/>
  70. <signno/>
  71. <tnsrpid/>
  72. <uh/>
  73. <dnorno/>
  74. </history>
  75. <kind>
  76. <kind1/>
  77. <kind2/>
  78. </kind>
  79. </ptinfo>
  80. <chkdnor>
  81. <chkdnorrslt>
  82. <dnornm/>
  83. <rrgstno/>
  84. <sexage/>
  85. <bdht/>
  86. <bdwt/>
  87. <btype/>
  88. <panjung/>
  89. <homeaddr/>
  90. <hometel/>
  91. <dnorno/>
  92. <dnorseqno/>
  93. </chkdnorrslt>
  94. </chkdnor>
  95. <bcnorslt>
  96. <rsltlist>
  97. </rsltlist>
  98. </bcnorslt>
  99. <rsltview>
  100. <rslt>
  101. <rsltdd/>
  102. <rslt01/>
  103. <rslt02/>
  104. <rslt03/>
  105. <rslt04/>
  106. <rslt05/>
  107. <rslt06/>
  108. <rslt07/>
  109. <rslt08/>
  110. <rslt09/>
  111. <rslt10/>
  112. <rslt11/>
  113. </rslt>
  114. </rsltview>
  115. <rsltview2>
  116. <rslt>
  117. <rsltdd/>
  118. <rslt01/>
  119. <rslt02/>
  120. <rslt03/>
  121. <rslt04/>
  122. <rslt05/>
  123. <rslt06/>
  124. <rslt07/>
  125. <rslt08/>
  126. <rslt09/>
  127. <rslt10/>
  128. <rslt11/>
  129. </rslt>
  130. <rslt>
  131. <rsltdd/>
  132. <rslt01/>
  133. <rslt02/>
  134. <rslt03/>
  135. <rslt04/>
  136. <rslt05/>
  137. <rslt06/>
  138. <rslt07/>
  139. <rslt08/>
  140. <rslt09/>
  141. <rslt10/>
  142. <rslt11/>
  143. </rslt>
  144. </rsltview2>
  145. <bizlist>
  146. <u1list>
  147. <execdt/>
  148. <tnsrpid/>
  149. <dnorno/>
  150. <dnorseqno/>
  151. <bizlrgkind/>
  152. <bizmdlkind/>
  153. <bizstartdd/>
  154. <bizstarttm/>
  155. <bizenddd/>
  156. <bizendtm/>
  157. <recrid/>
  158. <eqmtcd/>
  159. <antdkindcd/>
  160. <antduseqty/>
  161. <veslptnccd/>
  162. <seffcyn/>
  163. <seffccd/>
  164. <seffccnts/>
  165. <seffctretcnts/>
  166. <btype/>
  167. <donvol/>
  168. <fitnyn/>
  169. <brgstno/>
  170. <rplabfld/>
  171. <coll/>
  172. <elmn/>
  173. <curegoal/>
  174. <movewardyn/>
  175. <ngdtyn/>
  176. <uvadex/>
  177. <ecv/>
  178. <cycle/>
  179. <remain_lamp_life/>
  180. <uvar_xts_sn/>
  181. <photoactiveation_time/>
  182. <rc_tm/>
  183. <rc_frdd/>
  184. <rc_tvol/>
  185. <rc_acvolused/>
  186. <rc_vitalsign/>
  187. <cmplt01/>
  188. <cmplt02/>
  189. <cmplt03/>
  190. <cmplt04/>
  191. <apuoutdd/>
  192. <apuouttm/>
  193. <apuoutid/>
  194. <confdd/>
  195. <conftm/>
  196. <confid/>
  197. <bcollkit1/>
  198. <bcollkit2/>
  199. <bcollkit3/>
  200. <uhapp/>
  201. </u1list>
  202. <u2list>
  203. <execdt/>
  204. <tnsrpid/>
  205. <dnorno/>
  206. <dnorseqno/>
  207. <bizlrgkind/>
  208. <bizmdlkind/>
  209. <bizstartdd/>
  210. <bizstarttm/>
  211. <bizenddd/>
  212. <bizendtm/>
  213. <recrid/>
  214. <eqmtcd/>
  215. <antdkindcd/>
  216. <antduseqty/>
  217. <veslptnccd/>
  218. <seffcyn/>
  219. <seffccd/>
  220. <seffccnts/>
  221. <seffctretcnts/>
  222. <btype/>
  223. <donvol/>
  224. <fitnyn/>
  225. <brgstno/>
  226. <rplabfld/>
  227. <coll/>
  228. <elmn/>
  229. <curegoal/>
  230. <movewardyn/>
  231. <ngdtyn/>
  232. <uvadex/>
  233. <ecv/>
  234. <cycle/>
  235. <remain_lamp_life/>
  236. <uvar_xts_sn/>
  237. <photoactiveation_time/>
  238. <rc_tm/>
  239. <rc_frdd/>
  240. <rc_tvol/>
  241. <rc_acvolused/>
  242. <rc_vitalsign/>
  243. <cmplt01/>
  244. <cmplt02/>
  245. <cmplt03/>
  246. <cmplt04/>
  247. <apuoutdd/>
  248. <apuouttm/>
  249. <apuoutid/>
  250. <confdd/>
  251. <conftm/>
  252. <confid/>
  253. <bcollkit1/>
  254. <bcollkit2/>
  255. <bcollkit3/>
  256. <uhapp/>
  257. </u2list>
  258. <u3list>
  259. <execdt/>
  260. <tnsrpid/>
  261. <dnorno/>
  262. <dnorseqno/>
  263. <bizlrgkind/>
  264. <bizmdlkind/>
  265. <bizstartdd/>
  266. <bizstarttm/>
  267. <bizenddd/>
  268. <bizendtm/>
  269. <recrid/>
  270. <eqmtcd/>
  271. <antdkindcd/>
  272. <antduseqty/>
  273. <veslptnccd/>
  274. <seffcyn/>
  275. <seffccd/>
  276. <seffccnts/>
  277. <seffctretcnts/>
  278. <btype/>
  279. <donvol/>
  280. <fitnyn/>
  281. <brgstno/>
  282. <rplabfld/>
  283. <coll/>
  284. <elmn/>
  285. <curegoal/>
  286. <movewardyn/>
  287. <ngdtyn/>
  288. <uvadex/>
  289. <ecv/>
  290. <cycle/>
  291. <remain_lamp_life/>
  292. <uvar_xts_sn/>
  293. <photoactiveation_time/>
  294. <rc_tm/>
  295. <rc_frdd/>
  296. <rc_tvol/>
  297. <rc_acvolused/>
  298. <rc_vitalsign/>
  299. <cmplt01/>
  300. <cmplt02/>
  301. <cmplt03/>
  302. <cmplt04/>
  303. <apuoutdd/>
  304. <apuouttm/>
  305. <apuoutid/>
  306. <confdd/>
  307. <conftm/>
  308. <confid/>
  309. <bcollkit1/>
  310. <bcollkit2/>
  311. <bcollkit3/>
  312. <uhapp/>
  313. </u3list>
  314. <u4list>
  315. <execdt/>
  316. <tnsrpid/>
  317. <dnorno/>
  318. <dnorseqno/>
  319. <bizlrgkind/>
  320. <bizmdlkind/>
  321. <bizstartdd/>
  322. <bizstarttm/>
  323. <bizenddd/>
  324. <bizendtm/>
  325. <recrid/>
  326. <eqmtcd/>
  327. <antdkindcd/>
  328. <antduseqty/>
  329. <veslptnccd/>
  330. <seffcyn/>
  331. <seffccd/>
  332. <seffccnts/>
  333. <seffctretcnts/>
  334. <btype/>
  335. <donvol/>
  336. <fitnyn/>
  337. <brgstno/>
  338. <rplabfld/>
  339. <coll/>
  340. <elmn/>
  341. <curegoal/>
  342. <movewardyn/>
  343. <ngdtyn/>
  344. <uvadex/>
  345. <ecv/>
  346. <cycle/>
  347. <remain_lamp_life/>
  348. <uvar_xts_sn/>
  349. <photoactiveation_time/>
  350. <rc_tm/>
  351. <rc_frdd/>
  352. <rc_tvol/>
  353. <rc_acvolused/>
  354. <rc_vitalsign/>
  355. <cmplt01/>
  356. <cmplt02/>
  357. <cmplt03/>
  358. <cmplt04/>
  359. <apuoutdd/>
  360. <apuouttm/>
  361. <apuoutid/>
  362. <confdd/>
  363. <conftm/>
  364. <confid/>
  365. <bcollkit1/>
  366. <bcollkit2/>
  367. <bcollkit3/>
  368. <uhapp/>
  369. </u4list>
  370. <vital1>
  371. <insptm/>
  372. <bp1/>
  373. <bp2/>
  374. <pluse/>
  375. <breth/>
  376. <bdtp/>
  377. <seq/>
  378. </vital1>
  379. <nurrec>
  380. <recdt/>
  381. <recrid/>
  382. <recrnm/>
  383. <reccnts/>
  384. <seq/>
  385. </nurrec>
  386. <cycle>
  387. <cycle1>
  388. <title>시간</title>
  389. <cnt1/>
  390. <cnt2/>
  391. <cnt3/>
  392. <cnt4/>
  393. <cnt5/>
  394. <cnt6/>
  395. </cycle1>
  396. <cycle1>
  397. <title>Flow rate During Draw</title>
  398. <cnt1/>
  399. <cnt2/>
  400. <cnt3/>
  401. <cnt4/>
  402. <cnt5/>
  403. <cnt6/>
  404. </cycle1>
  405. <cycle1>
  406. <title>Treatment volume</title>
  407. <cnt1/>
  408. <cnt2/>
  409. <cnt3/>
  410. <cnt4/>
  411. <cnt5/>
  412. <cnt6/>
  413. </cycle1>
  414. <cycle1>
  415. <title>AC volume used (10,000 heparin + 500ml NS)</title>
  416. <cnt1/>
  417. <cnt2/>
  418. <cnt3/>
  419. <cnt4/>
  420. <cnt5/>
  421. <cnt6/>
  422. </cycle1>
  423. <cycle1>
  424. <title>Vital sign</title>
  425. <cnt1/>
  426. <cnt2/>
  427. <cnt3/>
  428. <cnt4/>
  429. <cnt5/>
  430. <cnt6/>
  431. </cycle1>
  432. </cycle>
  433. </bizlist>
  434. <rec>
  435. <vital1>
  436. <insptm/>
  437. <bp1/>
  438. <bp2/>
  439. <pluse/>
  440. <breth/>
  441. <bdtp/>
  442. <seq/>
  443. </vital1>
  444. <nurrec>
  445. <recdt/>
  446. <recrid/>
  447. <recrnm/>
  448. <reccnts/>
  449. <seq/>
  450. </nurrec>
  451. </rec>
  452. <history>
  453. <execdd/>
  454. <exectm/>
  455. <recrid/>
  456. <usernm/>
  457. <kind/>
  458. </history>
  459. <brgstno>
  460. <brgstnoseq/>
  461. </brgstno>
  462. <natno1>
  463. <natno/>
  464. </natno1>
  465. <barcdprntsetup>
  466. <prntsetupinfo>
  467. <setupinfo/>
  468. </prntsetupinfo>
  469. </barcdprntsetup>
  470. <return>
  471. <return>
  472. <execdt/>
  473. </return>
  474. </return>
  475. <barcodeinfo>
  476. <blodno/>
  477. <tnsrpid/>
  478. <tnsrnm/>
  479. <tnssexage/>
  480. <tnsrbtype/>
  481. <dnornm/>
  482. <dnsexage/>
  483. <dnbtype/>
  484. <panjung/>
  485. <bcolldt/>
  486. </barcodeinfo>
  487. <nurinfo>
  488. <nurnm/>
  489. </nurinfo>
  490. </main>
  491. <send>
  492. <codeflag/>
  493. <pid/>
  494. <senddata/>
  495. <uh/>
  496. <histdd/>
  497. <scrnid/>
  498. <ddkind/>
  499. <noflag1/>
  500. <blodlabel/>
  501. <iud/>
  502. <dnorno/>
  503. <vital/>
  504. <nurrec/>
  505. <bizcntshistcd/>
  506. <orddeptcd/>
  507. <orddeptnm/>
  508. <wardcd/>
  509. <wardnm/>
  510. <roomcd/>
  511. <comboselect/>
  512. <iudgbn/>
  513. <signno/>
  514. <signdata/>
  515. <execdt2/>
  516. <histgbn/>
  517. <nurid/>
  518. </send>
  519. <init>
  520. </init>
  521. <hidden>
  522. <prcpgbn>
  523. <prcp/>
  524. <kind/>
  525. </prcpgbn>
  526. <pid/>
  527. <workgbn/>
  528. <dongbn/>
  529. <caregbn/>
  530. <bmtgbn/>
  531. <uhyung/>
  532. <transmdlcd/>
  533. <histdd/>
  534. <tmprslt1/>
  535. <tmprslt2/>
  536. <tmprsdd1/>
  537. <tmprsdd2/>
  538. <patnm/>
  539. <sexage/>
  540. <brgstno>
  541. <brgstno1/>
  542. <brgstno2/>
  543. <brgstno3/>
  544. </brgstno>
  545. <barcode>
  546. <barcodeinfo>
  547. <blodno/>
  548. <tnsrpid/>
  549. <tnsrnm/>
  550. <tnssexage/>
  551. <tnsrbtype/>
  552. <dnornm/>
  553. <dnsexage/>
  554. <dnbtype/>
  555. <panjung/>
  556. <bcolldt/>
  557. <prtdd/>
  558. <prttm/>
  559. <abocd/>
  560. <blodbarcd/>
  561. <blodbarnm/>
  562. </barcodeinfo>
  563. </barcode>
  564. <tnsrpid/>
  565. <viewgbn>
  566. <view>up</view>
  567. </viewgbn>
  568. <patinfolist/>
  569. <iudgbn/>
  570. </hidden>
  571. <signdata/>
  572. </root>
  573. </instance>
  574. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  575. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  576. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  577. <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
  578. <script type="javascript" src="../../../lis/commonweb/js/LZZ001.js"/>
  579. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  580. <script type="javascript" src="../../../emr/carecomweb/js/ENRSignEngine.js"/>
  581. <!--<script type="javascript" src="../../../com/signweb/js/ZES001.js"/>-->
  582. <script type="javascript" ev:event="xforms-ready">
  583. <![CDATA[
  584. //초기화
  585. fSetInit("init");
  586. ]]>
  587. </script>
  588. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0119"/>
  589. <submission id="TRLBD01901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ptinfo"/>
  590. <submission id="TXLBD01901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/return"/>
  591. <submission id="TRLBD01902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/history"/>
  592. <submission id="TRLBD01903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/bizlist"/>
  593. <submission id="TRLLC90101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/barcdprntsetup"/>
  594. <submission id="TRLBD01904" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/brgstno"/>
  595. <submission id="TRLBD01905" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/bcnorslt/rsltlist"/>
  596. <submission id="TRLBD01906" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rec"/>
  597. <submission id="TXLRR00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/signdata"/>
  598. <submission id="TRLBD01907" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/natno1"/>
  599. <submission id="TRLBD01908" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/nurinfo"/>
  600. <submission id="TRLBD01910" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ptinfo/history"/>
  601. <submission id="TRLBD01909" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ptinfo/patinfo"/>
  602. </model>
  603. <script type="javascript">
  604. <![CDATA[
  605. //초기화
  606. function fSetInit(ref){
  607. //공통코드
  608. model.setValue("/root/send/codeflag", "0119|"); // 0119 헌혈구분 // 0120| 혈액형
  609. submit("TRLZZ00101");
  610. cmb_care.choices.itemset.attribute("nodeset") = "/root/init/LB0119[cd='L0090']"; //치료콤보
  611. model.removeNodeset("/root/main/rec/vital1");
  612. model.removeNodeset("/root/main/rec/nurrec");
  613. // 기록조회 기록일자 setting
  614. model.setValue("/root/hidden/histdd", getCurrentDate());
  615. //if(getPatientInfo("pid") == ""){
  616. // 초기값 유형2 TPE
  617. model.setValue("/root/hidden/workgbn", "2"); // 2치료
  618. model.setValue("/root/hidden/uhyung", "3");
  619. cmb_care.value = "L00901"; // TPE
  620. cmb_don.disabled = true;
  621. cmb_bmt.disabled = true;
  622. grp_3.visible = true;
  623. btn_save.disabled = true; // 유형1일때만 활성화
  624. btn_ij.disabled = false; //인증저장버튼
  625. //}
  626. if(ref=="init"){
  627. if(getPatientInfo("pid") != ""){ // 상단정보 있을때
  628. model.setValue("/root/hidden/pid", getPatientInfo("pid"));
  629. ipt_pid.refresh();
  630. //환자정보조회
  631. //fGetPatInfo();
  632. //fGetPatInfo2("top");
  633. //fGetBizPatInfo(); // 환자정보 + 공여자리스트(유형1일때)
  634. }
  635. }else if(ref=="btn"){
  636. delPatientInfos(); //환자정보 전체 삭제
  637. model.setValue("/root/hidden/pid", "");
  638. fSetResetInstance("ready");
  639. }
  640. model.setFocus("ipt_pid");
  641. // 바코드 기본설정
  642. fGetBarcdInfo();
  643. //바코드 OCX
  644. //lzzfMakeBrcdPrntObj("CommAX");
  645. lzzfMakeBrcdPrntObjHanDo("CommAX");
  646. }
  647. // 초기값 설정
  648. function fSetResetInstance(gbn){
  649. model.removeNodeset("/root/main/ptinfo/history");
  650. datagrid2.refresh();
  651. // vital 지우기
  652. model.removeNodeset("/root/main/rec/vital1");
  653. grd_vital1.refresh();
  654. grd_vital2.refresh();
  655. grd_vital3.refresh();
  656. // 간호기록 지우기
  657. model.removeNodeset("/root/main/rec/nurrec");
  658. grd_nur1.refresh();
  659. grd_nur2.refresh();
  660. grd_nur3.refresh();
  661. grd_nur4.refresh();
  662. if(gbn =="ready"){
  663. if(getPatientInfo("pid")== ""){
  664. //model.setValue("/root/hidden/pid","");
  665. model.resetInstanceNode("/root/main/ptinfo/patinfo");
  666. model.resetInstanceNode("/root/main/ptinfo/dnorinfo");
  667. model.resetInstanceNode("/root/main/chkdnor/chkdnorrslt");
  668. model.resetInstanceNode("/root/main/rsltview/rslt");
  669. model.resetInstanceNode("/root/main/rsltview2/rslt");
  670. model.resetInstanceNode("/root/main/bizlist/u1list");
  671. model.resetInstanceNode("/root/main/bizlist/u2list");
  672. model.resetInstanceNode("/root/main/bizlist/u3list");
  673. model.resetInstanceNode("/root/main/bizlist/u4list");
  674. //model.resetInstanceNode("/root/main/history");
  675. model.setValue("/root/hidden/patnm","");
  676. model.setValue("/root/hidden/sexage","");
  677. model.removeNodeset("/root/main/ptinfo/history");
  678. datagrid2.refresh();
  679. }
  680. }else{
  681. //var uh = model.getValue("/root/hidden/uhyung");
  682. model.resetInstanceNode("/root/main/ptinfo/patinfo");
  683. model.resetInstanceNode("/root/main/ptinfo/dnorinfo");
  684. model.resetInstanceNode("/root/main/chkdnor/chkdnorrslt");
  685. model.resetInstanceNode("/root/main/rsltview/rslt");
  686. model.resetInstanceNode("/root/main/rsltview2/rslt");
  687. model.resetInstanceNode("/root/main/bizlist/u1list");
  688. model.resetInstanceNode("/root/main/bizlist/u2list");
  689. model.resetInstanceNode("/root/main/bizlist/u3list");
  690. model.resetInstanceNode("/root/main/bizlist/u4list");
  691. //model.resetInstanceNode("/root/main/history");
  692. model.setValue("/root/hidden/patnm","");
  693. model.setValue("/root/hidden/sexage","");
  694. model.removeNodeset("/root/main/ptinfo/history");
  695. datagrid2.refresh();
  696. }
  697. model.setValue("/root/hidden/brgstno/brgstno1", "");
  698. model.setValue("/root/hidden/brgstno/brgstno2", "");
  699. model.setValue("/root/main/brgstno/brgstnoseq", "");
  700. model.refresh();
  701. }
  702. function fGetBarcdInfo(){
  703. model.setValue("/root/send/scrnid", getScreenID());
  704. submit("TRLLC90101");
  705. }
  706. // 환자정보 + 공여자리스트(유형1일때)
  707. function fGetBizPatInfo(){
  708. if(datagrid2.rows> 1){ // 기록있을때만
  709. model.removeNodeset("/root/main/ptinfo/dnorinfo");
  710. model.setValue("/root/send/pid", model.getValue("/root/main/ptinfo/history/tnsrpid"));
  711. model.setValue("/root/send/uh", model.getValue("/root/main/ptinfo/history/uh"));
  712. model.setValue("/root/send/execdt2", model.getValue("/root/main/ptinfo/history/execdd")+model.getValue("/root/main/ptinfo/history/exectm"));
  713. submit("TRLBD01909");
  714. model.setValue("/root/hidden/uhyung", model.getValue("/root/main/ptinfo/history/uh"));
  715. if(model.getValue("/root/hidden/uhyung")=="1"){
  716. for(i=1; i<grd_dnor.rows; i++){
  717. if(model.getValue("/root/main/ptinfo/dnorinfo["+i+"]/dnorno")==model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/dnorno")){
  718. model.setValue("/root/main/ptinfo/dnorinfo["+i+"]/chk", "Y");
  719. grd_dnor.row= i;
  720. }
  721. }
  722. }
  723. model.setValue("/root/hidden/uhyung", model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/uh"));
  724. fSetGroupView();
  725. //검사결과조회
  726. model.setValue("/root/hidden/pid", model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/tnsrpid"));
  727. fGetBcnoRslt();
  728. //업무내역등록 조회
  729. fGetBizListRgst();
  730. //유형4는
  731. if(model.getValue("/root/hidden/uhyung")=="4"){
  732. fGetRturnCycle();
  733. fSetGrdCycle();
  734. fSetReturnCycle();
  735. }
  736. if(model.getValue("/root/hidden/uhyung")=="1"){
  737. model.setValue("/root/main/bizlist/u1list/brgstno", model.getValue("/root/main/bizlist/u1list/brgstno"));
  738. model.setValue("/root/hidden/brgstno/brgstno1", model.getValue("/root/main/bizlist/u1list/brgstno").substr(0,2));
  739. model.setValue("/root/hidden/brgstno/brgstno2", model.getValue("/root/main/bizlist/u1list/brgstno").substr(2,2));
  740. model.setValue("/root/main/brgstno/brgstnoseq", model.getValue("/root/main/bizlist/u1list/brgstno").substr(4,6));
  741. }else if(model.getValue("/root/hidden/uhyung")=="2"){
  742. model.setValue("/root/main/bizlist/u2list/brgstno", model.getValue("/root/main/bizlist/u2list/brgstno"));
  743. model.setValue("/root/hidden/brgstno/brgstno1", model.getValue("/root/main/bizlist/u2list/brgstno").substr(0,2));
  744. model.setValue("/root/hidden/brgstno/brgstno2", model.getValue("/root/main/bizlist/u2list/brgstno").substr(2,2));
  745. model.setValue("/root/main/brgstno/brgstnoseq", model.getValue("/root/main/bizlist/u2list/brgstno").substr(4,6));
  746. }
  747. model.refresh();
  748. }
  749. }
  750. // 업무내역 등록 조회
  751. function fGetBizListRgst(){
  752. model.setValue("/root/send/execdt2", model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/execdd") + model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/exectm"));
  753. submit("TRLBD01903");
  754. fGetVitalNurrec();
  755. }
  756. // 업무종류 선택
  757. function fSetWorkGbn(){
  758. if(model.getValue("/root/hidden/workgbn")=="1"){ // 헌혈
  759. cmb_don.disabled = false;
  760. cmb_care.disabled = true;
  761. cmb_bmt.disabled = true;
  762. cmb_don.choices.itemset.attribute("nodeset") = "/root/init/LB0119[cd='L0091']"; // 헌혈콤보
  763. model.setValue("/root/hidden/caregbn", "");
  764. model.setValue("/root/hidden/bmtgbn", "");
  765. }else if(model.getValue("/root/hidden/workgbn")=="2"){ // 치료
  766. cmb_don.disabled = true;
  767. cmb_care.disabled = false;
  768. cmb_bmt.disabled = true;
  769. cmb_care.choices.itemset.attribute("nodeset") = "/root/init/LB0119[cd='L0090']"; //치료콤보
  770. model.setValue("/root/hidden/bmtgbn", "");
  771. model.setValue("/root/hidden/dongbn", "");
  772. }else if(model.getValue("/root/hidden/workgbn")=="3"){ // 헌혈
  773. cmb_don.disabled = true;
  774. cmb_care.disabled = true;
  775. cmb_bmt.disabled = false;
  776. cmb_bmt.choices.itemset.attribute("nodeset") = "/root/init/LB0119[cd='L0092']"; //bmt콤보
  777. model.setValue("/root/hidden/caregbn", "");
  778. model.setValue("/root/hidden/dongbn", "");
  779. }
  780. cmb_don.refresh();
  781. cmb_care.refresh();
  782. cmb_bmt.refresh();
  783. }
  784. // 업무유형 구분
  785. function fSetWorkUhung(cmbgbn, ref){
  786. // 업무바뀔때 초기화
  787. //fSetSelectReset();
  788. fSetResetInstance();
  789. if ( cmbgbn == "don"){
  790. if ( (model.getValue("/root/hidden/dongbn")=="L00911") ||
  791. (model.getValue("/root/hidden/dongbn")=="L00912") ||
  792. (model.getValue("/root/hidden/dongbn")=="L00915") ){
  793. model.setValue("/root/hidden/uhyung", "1");
  794. }else if( (model.getValue("/root/hidden/dongbn")=="L00913") ||
  795. (model.getValue("/root/hidden/dongbn")=="L00914") ){
  796. model.setValue("/root/hidden/uhyung", "2");
  797. }
  798. }else if(cmbgbn == "care"){
  799. if( (model.getValue("/root/hidden/caregbn")=="L00901") ||
  800. (model.getValue("/root/hidden/caregbn")=="L00902") ||
  801. (model.getValue("/root/hidden/caregbn")=="L00903") ||
  802. (model.getValue("/root/hidden/caregbn")=="L00905") ){
  803. model.setValue("/root/hidden/uhyung", "3");
  804. }else if(model.getValue("/root/hidden/caregbn")=="L00904"){
  805. model.setValue("/root/hidden/uhyung", "4");
  806. }
  807. }else if ( cmbgbn == "bmt"){
  808. model.setValue("/root/hidden/uhyung", "3");
  809. }else{
  810. model.setValue("/root/hidden/uhyung", "1");
  811. }
  812. fSetGroupView();
  813. if(ref=="C"){
  814. datagrid2.isSelected(datagrid2.row) = false;
  815. model.setValue("/root/hidden/iudgbn", "i");
  816. }
  817. //환자정보조회
  818. if(model.getValue("/root/hidden/pid")!= ""){
  819. if(ref == "C"){
  820. //fGetPatInfo("C");
  821. fGetPatInfo2("C");
  822. }else{
  823. //fGetPatInfo();
  824. fGetPatInfo2();
  825. }
  826. }
  827. // 유형1일때
  828. if(model.getValue("/root/hidden/uhyung")=="1"){
  829. fSetBtypepanjung();
  830. //헌혈증번호 조회
  831. if(grd_dnor.row > 0){
  832. fGetBrgstno();
  833. }
  834. }else if(model.getValue("/root/hidden/uhyung")=="2"){
  835. fSetBtypepanjung();
  836. fGetBrgstno();
  837. }
  838. if(model.getValue("/root/hidden/uhyung")=="1"){
  839. btn_save.disabled = false;
  840. btn_ij.disabled = true;
  841. if(grd_dnor.rows < 2){
  842. alert("매핑된 공여자가 없습니다. ");
  843. return;
  844. }
  845. }else{
  846. btn_save.disabled = true;
  847. btn_ij.disabled = false;
  848. }
  849. }
  850. // 업무종류바꿀때 초기화
  851. function fSetSelectReset(){
  852. model.resetInstanceNode("/root/main/ptinfo/patinfo");
  853. model.resetInstanceNode("/root/main/ptinfo/dnorinfo");
  854. model.resetInstanceNode("/root/main/chkdnor/chkdnorrslt");
  855. model.resetInstanceNode("/root/main/rsltview/rslt");
  856. model.resetInstanceNode("/root/main/rsltview2/rslt");
  857. model.resetInstanceNode("/root/main/bizlist/u1list");
  858. model.resetInstanceNode("/root/main/bizlist/u2list");
  859. model.resetInstanceNode("/root/main/bizlist/u3list");
  860. model.resetInstanceNode("/root/main/bizlist/u4list");
  861. model.resetInstanceNode("/root/main/rec/vital1");
  862. model.resetInstanceNode("/root/main/rec/nurrec");
  863. model.resetInstanceNode("/root/main/brgstno/brgstnoseq");
  864. model.resetInstanceNode("/root/hidden/brgstno/brgstno1");
  865. model.resetInstanceNode("/root/hidden/brgstno/brgstno2");
  866. model.refresh();
  867. }
  868. // 적합여부 set
  869. function fSetBtypepanjung(){
  870. // 유형1일때
  871. if(model.getValue("/root/hidden/uhyung")=="1"){
  872. //혈액형
  873. //model.makeValue("/root/main/bizlist/u1list/btype", model.getValue("/root/main/rsltview/rslt/rslt06"));
  874. model.makeValue("/root/main/bizlist/u1list/btype", model.getValue("/root/main/chkdnor/chkdnorrslt/btype"));
  875. //적합여부
  876. if(model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/panjung")=="적합"){
  877. model.makeValue("/root/main/bizlist/u1list/fitnyn", "Y");
  878. }else{
  879. model.makeValue("/root/main/bizlist/u1list/fitnyn", "N");
  880. }
  881. //model.makeValue("/root/main/bizlist/u1list/fitnyn", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/panjung"));
  882. }else if(model.getValue("/root/hidden/uhyung")=="2"){
  883. //혈액형
  884. model.makeValue("/root/main/bizlist/u2list/btype", model.getValue("/root/main/ptinfo/patinfo/btype"));
  885. //적합여부
  886. model.makeValue("/root/main/bizlist/u2list/fitnyn", "Y");
  887. }
  888. if(model.getValue("/root/hidden/uhyung") =="1"){
  889. if(grd_dnor.row > 0){
  890. fGetBrgstno();
  891. }
  892. }
  893. }
  894. // 헌혈증 번호 조회
  895. function fGetBrgstno(){
  896. /*
  897. if(model.getValue("/root/main/ptinfo/patinfo/natno") != ""){
  898. if(model.getValue("/root/hidden/uhyung")=="1"){
  899. model.setValue("/root/main/bizlist/u1list/brgstno", model.getValue("/root/main/ptinfo/patinfo/natno"));
  900. model.setValue("/root/hidden/brgstno/brgstno1", model.getValue("/root/main/ptinfo/patinfo/natno").substr(0,2));
  901. model.setValue("/root/hidden/brgstno/brgstno2", model.getValue("/root/main/ptinfo/patinfo/natno").substr(2,2));
  902. model.setValue("/root/main/brgstno/brgstnoseq", model.getValue("/root/main/ptinfo/patinfo/natno").substr(4,10));
  903. }else if(model.getValue("/root/hidden/uhyung")=="2"){
  904. model.setValue("/root/main/bizlist/u2list/brgstno", model.getValue("/root/main/ptinfo/patinfo/natno"));
  905. model.setValue("/root/hidden/brgstno/brgstno1", model.getValue("/root/main/ptinfo/patinfo/natno").substr(0,2));
  906. model.setValue("/root/hidden/brgstno/brgstno2", model.getValue("/root/main/ptinfo/patinfo/natno").substr(2,2));
  907. model.setValue("/root/main/brgstno/brgstnoseq", model.getValue("/root/main/ptinfo/patinfo/natno").substr(4,10));
  908. }
  909. }else{ */
  910. /*
  911. var blodcomgbn = "";
  912. var today = getCurrentDate();
  913. if(model.getValue("/root/hidden/workgbn")=="1"){
  914. if(model.getValue("/root/hidden/dongbn")=="L00911"){ // 혈소판
  915. blodcomgbn = "A3";
  916. }else if(model.getValue("/root/hidden/dongbn")=="L00912"){ // DGI
  917. blodcomgbn = "A4";
  918. }else if(model.getValue("/root/hidden/dongbn")=="L00913"){ // 자가
  919. blodcomgbn = "A0"; //숫자0
  920. }else if(model.getValue("/root/hidden/dongbn")=="L00914"){ // 사혈 헌혈증번호 없음
  921. blodcomgbn = "00";
  922. }else if(model.getValue("/root/hidden/dongbn")=="L00915"){ // 전혈
  923. blodcomgbn = "02";
  924. }else{
  925. blodcomgbn = "00";
  926. }
  927. }else if(model.getValue("/root/hidden/workgbn")=="3"){
  928. if(model.getValue("/root/hidden/bmtgbn")=="L00924"){
  929. blodcomgbn = "A5";
  930. }else{
  931. blodcomgbn = "00";
  932. }
  933. }else{
  934. blodcomgbn = "00";
  935. }
  936. model.setValue("/root/hidden/brgstno/brgstno1", blodcomgbn);
  937. model.setValue("/root/hidden/brgstno/brgstno2", today.substring(2,4));
  938. model.setValue("/root/send/ddkind" , getCurrentDate());
  939. model.setValue("/root/send/noflag1", blodcomgbn);
  940. */
  941. //model.setValue("/root/send/pid", model.getValue("/root/hidden/pid"));
  942. //model.setValue("/root/send/dnorno", model.getValue("/root/main/ptinfo/dnorinfo["++"]/dnorno"));
  943. //submit("TRLBD01904");
  944. //}
  945. model.setValue("/root/send/pid", model.getValue("/root/hidden/pid"));
  946. if(model.getValue("/root/hidden/uhyung")=="1"){
  947. for(q=1; q<=grd_dnor.rows; q++){
  948. if(model.getValue("/root/main/ptinfo/dnorinfo["+q+"]/chk")=="Y"){
  949. model.setValue("/root/send/dnorno", model.getValue("/root/main/ptinfo/dnorinfo["+q+"]/dnorno"));
  950. model.makeValue("/root/send/dnorseqno", model.getValue("/root/main/ptinfo/dnorinfo["+q+"]/dnorseqno"));
  951. }
  952. }
  953. }else{
  954. model.setValue("/root/send/dnorno", "-");
  955. model.makeValue("/root/send/dnorseqno", "-");
  956. }
  957. model.setValue("/root/send/ddkind" , getCurrentDate());
  958. if(model.getValue("/root/hidden/workgbn")=="1"){
  959. if((cmb_don.value =="L00911") || (cmb_don.value =="L00912")){
  960. model.setValue("/root/send/noflag1", "nat");
  961. }else{
  962. model.setValue("/root/send/noflag1", "seq");
  963. }
  964. }
  965. submit("TRLBD01907");
  966. if(model.getValue("/root/hidden/uhyung")=="1"){
  967. model.setValue("/root/main/bizlist/u1list/brgstno", model.getValue("/root/main/natno1/natno"));
  968. model.setValue("/root/hidden/brgstno/brgstno1", model.getValue("/root/main/natno1/natno").substr(0,2));
  969. model.setValue("/root/hidden/brgstno/brgstno2", model.getValue("/root/main/natno1/natno").substr(2,2));
  970. model.setValue("/root/main/brgstno/brgstnoseq", model.getValue("/root/main/natno1/natno").substr(4,6));
  971. }else if(model.getValue("/root/hidden/uhyung")=="2"){
  972. model.setValue("/root/main/bizlist/u2list/brgstno", model.getValue("/root/main/natno1/natno"));
  973. model.setValue("/root/hidden/brgstno/brgstno1", model.getValue("/root/main/natno1/natno").substr(0,2));
  974. model.setValue("/root/hidden/brgstno/brgstno2", model.getValue("/root/main/natno1/natno").substr(2,2));
  975. model.setValue("/root/main/brgstno/brgstnoseq", model.getValue("/root/main/natno1/natno").substr(4,6));
  976. }
  977. model.refresh();
  978. }
  979. // 공통코드 중분류로 바꾸기
  980. function fGetworkmdlkind(){
  981. if(model.getValue("/root/hidden/workgbn")=="1"){
  982. model.setValue("/root/hidden/transmdlcd", cmb_don.value.substring(5,6));
  983. }else if(model.getValue("/root/hidden/workgbn")=="2"){
  984. model.setValue("/root/hidden/transmdlcd", cmb_care.value.substring(5,6));
  985. }else if(model.getValue("/root/hidden/workgbn")=="3"){
  986. model.setValue("/root/hidden/transmdlcd", cmb_bmt.value.substring(5,6));
  987. }
  988. }
  989. //중분류 공통코드로
  990. function fGetUhmdlkind(){
  991. if(model.getValue("/root/hidden/workgbn")=="1"){
  992. model.setValue("/root/hidden/dongbn", "L0091" + model.getValue("/root/main/bizlist/ugbn/bizmdlkind"));
  993. }else if(model.getValue("/root/hidden/workgbn")=="2"){
  994. model.setValue("/root/hidden/caregbn", "L0090" + model.getValue("/root/main/bizlist/ugbn/bizmdlkind"));
  995. }else if(model.getValue("/root/hidden/workgbn")=="3"){
  996. model.setValue("/root/hidden/bmtgbn", "L0092" + model.getValue("/root/main/bizlist/ugbn/bizmdlkind"));
  997. }
  998. cmb_don.refresh();
  999. cmb_care.refresh();
  1000. cmb_bmt.refresh();
  1001. }
  1002. //유형별로 그룹 보이기
  1003. function fSetGroupView(){
  1004. var uh = model.getValue("/root/hidden/uhyung");
  1005. if(uh ==""){
  1006. uh = "1";
  1007. }
  1008. if(uh =="1"){
  1009. grp_1.visible = true;
  1010. grp_2.visible = false;
  1011. grp_3.visible = false;
  1012. grp_4.visible = false;
  1013. }else if(uh == "2"){
  1014. grp_1.visible = false;
  1015. grp_2.visible = true;
  1016. grp_3.visible = false;
  1017. grp_4.visible = false;
  1018. if(grd_self_rslt.rows <= 2){
  1019. grd_self_rslt.addRow();
  1020. }
  1021. }else if(uh == "3"){
  1022. grp_1.visible = false;
  1023. grp_2.visible = false;
  1024. grp_3.visible = true;
  1025. grp_4.visible = false;
  1026. if(grd_cure_rslt.rows <= 2){
  1027. grd_cure_rslt.addRow();
  1028. }
  1029. }else if(uh == "4"){
  1030. grp_1.visible = false;
  1031. grp_2.visible = false;
  1032. grp_3.visible = false;
  1033. grp_4.visible = true;
  1034. if(datagrid1.rows <= 2){
  1035. datagrid1.addRow();
  1036. }
  1037. model.removeNodeset("/root/main/bizlist/cycle/cycle1");
  1038. model.makeNode("/root/main/bizlist/cycle");
  1039. for(i=1; i<6; i++){
  1040. grd_cycle.addRow(0);
  1041. }
  1042. var cycle = model.getValue("/root/main/bizlist/u4list/cycle");
  1043. if(cycle !=""){
  1044. for(i=1; i<cycle; i++){
  1045. grd_cycle.colHidden(i) = false;
  1046. }
  1047. }else{
  1048. for(i=1; i<7; i++){
  1049. grd_cycle.colHidden(i) = true;
  1050. }
  1051. }
  1052. model.makeValue("/root/main/bizlist/cycle/cycle1[1]/title", "시간");
  1053. model.makeValue("/root/main/bizlist/cycle/cycle1[2]/title", "Flow rate During Draw");
  1054. model.makeValue("/root/main/bizlist/cycle/cycle1[3]/title", "Treatment volume");
  1055. model.makeValue("/root/main/bizlist/cycle/cycle1[4]/title", "AC volume used (10,000 heparin + 500ml NS)");
  1056. model.makeValue("/root/main/bizlist/cycle/cycle1[5]/title", "Vital sign");
  1057. grd_cycle.refresh();
  1058. }
  1059. model.refresh();
  1060. }
  1061. // 유형4 return cycle 그리드 셋팅하기
  1062. function fGetRturnCycle(){
  1063. if(grd_cycle.rows <6){
  1064. model.removeNodeset("/root/main/bizlist/cycle/cycle1");
  1065. model.makeNode("/root/main/bizlist/cycle");
  1066. for(i=1; i<=5; i++){
  1067. grd_cycle.addRow(0);
  1068. }
  1069. grd_cycle.refresh();
  1070. }
  1071. //for(i=1; i<7; i++){
  1072. // grd_cycle.colHidden(i) = true;
  1073. //}
  1074. model.makeValue("/root/main/bizlist/cycle/cycle1[1]/title", "시간");
  1075. model.makeValue("/root/main/bizlist/cycle/cycle1[2]/title", "Flow rate During Draw");
  1076. model.makeValue("/root/main/bizlist/cycle/cycle1[3]/title", "Treatment volume");
  1077. model.makeValue("/root/main/bizlist/cycle/cycle1[4]/title", "AC volume used (10,000 heparin + 500ml NS)");
  1078. model.makeValue("/root/main/bizlist/cycle/cycle1[5]/title", "Vital sign");
  1079. }
  1080. function fGetPatInfo2(gbn){
  1081. fSetResetInstance();
  1082. model.setValue("/root/send/pid", model.getValue("/root/hidden/pid"));
  1083. model.setValue("/root/send/histdd", model.getValue("/root/hidden/histdd"));
  1084. model.setValue("/root/send/histgbn", gbn);
  1085. if(gbn=="C"){ // 업무종류 클릭
  1086. if(model.getValue("/root/hidden/uhyung")=="1"){
  1087. model.setValue("/root/send/comboselect","Y");
  1088. }
  1089. }
  1090. submit("TRLBD01901");
  1091. model.makeValue("/root/hidden/patnm", model.getValue("/root/main/ptinfo/patinfo/patnm"));
  1092. model.makeValue("/root/hidden/sexage", model.getValue("/root/main/ptinfo/patinfo/sexage"));
  1093. var pid = model.getValue("/root/hidden/pid");
  1094. if(gbn=="C"){ //콤보선택
  1095. datagrid2.isSelected(datagrid2.row) = false;
  1096. if(datagrid2.row > 0){
  1097. model.setValue("/root/hidden/iudgbn", "u"); // 기록 없으면 insert 해야함
  1098. }else{
  1099. model.setValue("/root/hidden/iudgbn", "i"); // 기록 없으면 insert 해야함
  1100. }
  1101. }else{ //자동
  1102. if(datagrid2.rows > 1){
  1103. datagrid2.row = (datagrid2.rows-1);
  1104. if(datagrid2.row > 0){
  1105. model.setValue("/root/hidden/iudgbn", "u"); // 이미 기록 있으면 update 해야함
  1106. }else{
  1107. model.setValue("/root/hidden/iudgbn", "i"); // 이미 기록 있으면 update 해야함
  1108. }
  1109. var lrgkind = model.getValue("/root/main/ptinfo/history["+(datagrid2.rows-1)+"]/bizlrgkind");
  1110. var mdlkind = model.getValue("/root/main/ptinfo/history["+(datagrid2.rows-1)+"]/bizmdlkind");
  1111. if(lrgkind =="1"){ //헌혈
  1112. model.setValue("/root/hidden/workgbn","1");
  1113. if(mdlkind=="1"){
  1114. model.setValue("/root/hidden/dongbn", "L00911");
  1115. model.setValue("/root/hidden/uhyung","1");
  1116. }else if(mdlkind=="2"){
  1117. model.setValue("/root/hidden/dongbn", "L00912");
  1118. model.setValue("/root/hidden/uhyung","1");
  1119. }else if(mdlkind=="3"){
  1120. model.setValue("/root/hidden/dongbn", "L00913");
  1121. model.setValue("/root/hidden/uhyung","2");
  1122. }else if(mdlkind=="4"){
  1123. model.setValue("/root/hidden/dongbn", "L00914");
  1124. model.setValue("/root/hidden/uhyung","2");
  1125. }else if(mdlkind=="5"){
  1126. model.setValue("/root/hidden/dongbn", "L00915");
  1127. model.setValue("/root/hidden/uhyung","1");
  1128. }
  1129. }else if(lrgkind =="2"){ //치료
  1130. model.setValue("/root/hidden/workgbn","2");
  1131. if(mdlkind =="1"){
  1132. model.setValue("root/hidden/caregbn","L00901");
  1133. model.setValue("/root/hidden/uhyung","3");
  1134. }else if(mdlkind =="2"){
  1135. model.setValue("root/hidden/caregbn","L00902");
  1136. model.setValue("/root/hidden/uhyung","3");
  1137. }else if(mdlkind =="3"){
  1138. model.setValue("root/hidden/caregbn","L00903");
  1139. model.setValue("/root/hidden/uhyung","3");
  1140. }else if(mdlkind =="4"){
  1141. model.setValue("root/hidden/caregbn","L00904");
  1142. model.setValue("/root/hidden/uhyung","4");
  1143. }else if(mdlkind =="5"){
  1144. model.setValue("root/hidden/caregbn","L00905");
  1145. model.setValue("/root/hidden/uhyung","3");
  1146. }
  1147. }else if(lrgkind =="3"){ //BMT
  1148. model.setValue("/root/hidden/workgbn","3");
  1149. model.setValue("/root/hidden/uhyung","3");
  1150. if(mdlkind =="1"){
  1151. model.setValue("/root/hidden/bmtgbn", "L00921");
  1152. }else if(mdlkind =="2"){
  1153. model.setValue("/root/hidden/bmtgbn", "L00922");
  1154. }else if(mdlkind =="3"){
  1155. model.setValue("/root/hidden/bmtgbn", "L00923");
  1156. }else if(mdlkind =="4"){
  1157. model.setValue("/root/hidden/bmtgbn", "L00924");
  1158. }
  1159. }
  1160. }else{
  1161. model.setValue("/root/hidden/iudgbn", "i"); // 이미 기록 있으면 update 해야함
  1162. //btn_save.disabled = false;
  1163. /*
  1164. if(model.getValue("/root/main/ptinfo/kind/kind1")=="1"){
  1165. model.setValue("/root/hidden/workgbn","1");
  1166. if(model.getValue("/root/main/ptinfo/kind/kind2")=="1"){
  1167. model.setValue("/root/hidden/dongbn", "L00911");
  1168. model.setValue("/root/hidden/uhyung","1");
  1169. }else if(model.getValue("/root/main/ptinfo/kind/kind2")=="2"){
  1170. model.setValue("/root/hidden/dongbn", "L00912");
  1171. model.setValue("/root/hidden/uhyung","1");
  1172. }else if(model.getValue("/root/main/ptinfo/kind/kind2")=="3"){
  1173. model.setValue("/root/hidden/dongbn", "L00913");
  1174. model.setValue("/root/hidden/uhyung","2");
  1175. }else if(model.getValue("/root/main/ptinfo/kind/kind2")=="4"){
  1176. model.setValue("/root/hidden/dongbn", "L00914");
  1177. model.setValue("/root/hidden/uhyung","2");
  1178. }else if(model.getValue("/root/main/ptinfo/kind/kind2")=="5"){
  1179. model.setValue("/root/hidden/dongbn", "L00915");
  1180. model.setValue("/root/hidden/uhyung","1");
  1181. }
  1182. }else if(model.getValue("/root/main/ptinfo/kind/kind1")=="2"){
  1183. model.setValue("/root/hidden/workgbn","3");
  1184. model.setValue("/root/hidden/uhyung","3");
  1185. if(model.getValue("/root/main/ptinfo/kind/kind2")=="1"){
  1186. model.setValue("/root/hidden/bmtgbn", "L00921");
  1187. }else if(model.getValue("/root/main/ptinfo/kind/kind2")=="2"){
  1188. model.setValue("/root/hidden/bmtgbn", "L00922");
  1189. }else if(model.getValue("/root/main/ptinfo/kind/kind2")=="3"){
  1190. model.setValue("/root/hidden/bmtgbn", "L00923");
  1191. }else if(model.getValue("/root/main/ptinfo/kind/kind2")=="4"){
  1192. model.setValue("/root/hidden/bmtgbn", "L00924");
  1193. }
  1194. }else{
  1195. //model.setValue("/root/hidden/workgbn","1");
  1196. //model.setValue("/root/hidden/dongbn", "L00911");
  1197. //model.setValue("/root/hidden/uhyung","1");
  1198. }
  1199. */
  1200. }
  1201. //model.setValue("/root/hidden/iudgbn", "i"); // 이미 기록 있으면 update 해야함
  1202. }
  1203. fSetWorkGbn();
  1204. fSetGroupView();
  1205. if((model.getValue("/root/hidden/uhyung")=="2") || (model.getValue("/root/hidden/uhyung")=="3") || (model.getValue("/root/hidden/uhyung")=="4")){
  1206. fGetBcnoRslt("234");
  1207. }
  1208. if(gbn != "C"){
  1209. if(datagrid2.rows > 1){
  1210. //datagrid2.row = (datagrid2.rows-1);
  1211. model.makeValue("/root/send/execdt2", model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/execdd") + model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/exectm"));
  1212. submit("TRLBD01903");
  1213. if(model.getValue("/root/hidden/uhyung")=="1"){
  1214. for(i=1; i< grd_dnor.rows; i++){
  1215. if(model.getValue("/root/main/ptinfo/dnorinfo["+i+"]/dnorno")==model.getValue("/root/main/bizlist/u1list/dnorno")){
  1216. grd_dnor.row = i;
  1217. }
  1218. }
  1219. fDnorSelect("auto", grd_dnor.row );
  1220. // vital + 간호기록 조회
  1221. fGetVitalNurrec("1");
  1222. }else{
  1223. // vital + 간호기록 조회
  1224. fGetVitalNurrec("2");
  1225. }
  1226. //유형4는
  1227. if(model.getValue("/root/hidden/uhyung")=="4"){
  1228. fGetRturnCycle();
  1229. fSetGrdCycle();
  1230. fSetReturnCycle();
  1231. }
  1232. // vital + 간호기록 조회
  1233. //fGetVitalNurrec("2");
  1234. }
  1235. }else{
  1236. fGetVitalNurrec("2");
  1237. }
  1238. if(model.getValue("/root/hidden/uhyung")=="1"){
  1239. model.setValue("/root/main/bizlist/u1list/brgstno", model.getValue("/root/main/bizlist/u1list/brgstno"));
  1240. model.setValue("/root/hidden/brgstno/brgstno1", model.getValue("/root/main/bizlist/u1list/brgstno").substr(0,2));
  1241. model.setValue("/root/hidden/brgstno/brgstno2", model.getValue("/root/main/bizlist/u1list/brgstno").substr(2,2));
  1242. model.setValue("/root/main/brgstno/brgstnoseq", model.getValue("/root/main/bizlist/u1list/brgstno").substr(4,6));
  1243. }else if(model.getValue("/root/hidden/uhyung")=="2"){
  1244. model.setValue("/root/main/bizlist/u2list/brgstno", model.getValue("/root/main/bizlist/u2list/brgstno"));
  1245. model.setValue("/root/hidden/brgstno/brgstno1", model.getValue("/root/main/bizlist/u2list/brgstno").substr(0,2));
  1246. model.setValue("/root/hidden/brgstno/brgstno2", model.getValue("/root/main/bizlist/u2list/brgstno").substr(2,2));
  1247. model.setValue("/root/main/brgstno/brgstnoseq", model.getValue("/root/main/bizlist/u2list/brgstno").substr(4,6));
  1248. }
  1249. model.refresh();
  1250. }
  1251. // 환자정보조회
  1252. function fGetPatInfo(combo){
  1253. model.resetInstanceNode("/root/main/ptinfo/patinfo");
  1254. model.resetInstanceNode("/root/main/ptinfo/dnorinfo");
  1255. model.resetInstanceNode("/root/main/ptinfo/history");
  1256. model.resetInstanceNode("/root/main/chkdnor/chkdnorrslt");
  1257. model.resetInstanceNode("/root/main/bizlist/u1list");
  1258. model.resetInstanceNode("/root/main/bizlist/u2list");
  1259. model.resetInstanceNode("/root/main/bizlist/u3list");
  1260. model.resetInstanceNode("/root/main/bizlist/u4list");
  1261. model.removeNodeset("/root/main/rec/vital1");
  1262. model.removeNodeset("/root/main/rec/nurrec");
  1263. model.resetInstanceNode("/root/main/rsltview/rslt");
  1264. model.resetInstanceNode("/root/main/rsltview2/rslt");
  1265. model.setValue("/root/send/pid", model.getValue("/root/hidden/pid"));
  1266. model.setValue("/root/send/histdd", model.getValue("/root/hidden/histdd"));
  1267. submit("TRLBD01901");
  1268. model.makeValue("/root/hidden/patnm", model.getValue("/root/main/ptinfo/patinfo/patnm"));
  1269. model.makeValue("/root/hidden/sexage", model.getValue("/root/main/ptinfo/patinfo/sexage"));
  1270. var pid = model.getValue("/root/hidden/pid");
  1271. if(datagrid2.rows > 1){
  1272. if(combo != "C"){
  1273. datagrid2.row = (datagrid2.rows-1);
  1274. model.setValue("/root/hidden/iudgbn", "u"); // 이미 기록 있으면 update 해야함
  1275. var lrgkind = model.getValue("/root/main/ptinfo/history["+(datagrid2.rows-1)+"]/bizlrgkind");
  1276. var mdlkind = model.getValue("/root/main/ptinfo/history["+(datagrid2.rows-1)+"]/bizmdlkind");
  1277. /*
  1278. setRowStyle("datagrid2", "9", "O", "hist", "equal"); // 0 - 붉으죽죽한색
  1279. setRowStyle("datagrid2", "7", "L", "hist", "equal"); // 0 - 붉으죽죽한색
  1280. setRowStyle("datagrid2", "6", "C", "hist", "equal"); // 0 - 붉으죽죽한색
  1281. if(model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/hist")=="C"){
  1282. datagrid2.focusColor = "#fec33D";
  1283. }else if(model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/hist")=="O"){
  1284. datagrid2.focusColor = "#43c8f7";
  1285. }else if(model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/hist")=="L"){
  1286. datagrid2.focusColor = "#dec6a6";
  1287. }
  1288. */
  1289. if(lrgkind =="1"){ //헌혈
  1290. model.setValue("/root/hidden/workgbn","1");
  1291. if(mdlkind=="1"){
  1292. model.setValue("/root/hidden/dongbn", "L00911");
  1293. model.setValue("/root/hidden/uhyung","1");
  1294. }else if(mdlkind=="2"){
  1295. model.setValue("/root/hidden/dongbn", "L00912");
  1296. model.setValue("/root/hidden/uhyung","1");
  1297. }else if(mdlkind=="3"){
  1298. model.setValue("/root/hidden/dongbn", "L00913");
  1299. model.setValue("/root/hidden/uhyung","2");
  1300. }else if(mdlkind=="4"){
  1301. model.setValue("/root/hidden/dongbn", "L00914");
  1302. model.setValue("/root/hidden/uhyung","2");
  1303. }else if(mdlkind=="5"){
  1304. model.setValue("/root/hidden/dongbn", "L00915");
  1305. model.setValue("/root/hidden/uhyung","1");
  1306. }
  1307. }else if(lrgkind =="2"){ //치료
  1308. model.setValue("/root/hidden/workgbn","2");
  1309. if(mdlkind =="1"){
  1310. model.setValue("root/hidden/caregbn","L00901");
  1311. model.setValue("/root/hidden/uhyung","3");
  1312. }else if(mdlkind =="2"){
  1313. model.setValue("root/hidden/caregbn","L00902");
  1314. model.setValue("/root/hidden/uhyung","3");
  1315. }else if(mdlkind =="3"){
  1316. model.setValue("root/hidden/caregbn","L00903");
  1317. model.setValue("/root/hidden/uhyung","3");
  1318. }else if(mdlkind =="4"){
  1319. model.setValue("root/hidden/caregbn","L00904");
  1320. model.setValue("/root/hidden/uhyung","4");
  1321. }else if(mdlkind =="5"){
  1322. model.setValue("root/hidden/caregbn","L00905");
  1323. model.setValue("/root/hidden/uhyung","3");
  1324. }
  1325. }else if(lrgkind =="3"){ //BMT
  1326. model.setValue("/root/hidden/workgbn","3");
  1327. model.setValue("/root/hidden/uhyung","3");
  1328. if(mdlkind =="1"){
  1329. model.setValue("/root/hidden/bmtgbn", "L00921");
  1330. }else if(mdlkind =="2"){
  1331. model.setValue("/root/hidden/bmtgbn", "L00922");
  1332. }else if(mdlkind =="3"){
  1333. model.setValue("/root/hidden/bmtgbn", "L00923");
  1334. }else if(mdlkind =="4"){
  1335. model.setValue("/root/hidden/bmtgbn", "L00924");
  1336. }
  1337. }
  1338. }else if(combo=="C"){
  1339. model.setValue("/root/hidden/iudgbn", "i"); // 기록 없으면 insert 해야함
  1340. }
  1341. fSetWorkGbn();
  1342. fSetGroupView();
  1343. if((model.getValue("/root/hidden/uhyung")=="2") || (model.getValue("/root/hidden/uhyung")=="3") || (model.getValue("/root/hidden/uhyung")=="4")){
  1344. fGetBcnoRslt("234");
  1345. }
  1346. if(combo != "C"){
  1347. datagrid2.row = (datagrid2.rows-1);
  1348. model.makeValue("/root/send/execdt2", model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/execdd") + model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/exectm"));
  1349. submit("TRLBD01903");
  1350. // vital + 간호기록 조회
  1351. fGetVitalNurrec("2");
  1352. }
  1353. return;
  1354. }
  1355. if(model.getValue("/root/main/ptinfo/kind/kind1")=="1"){
  1356. model.setValue("/root/hidden/workgbn","1");
  1357. if(model.getValue("/root/main/ptinfo/kind/kind2")=="1"){
  1358. model.setValue("/root/hidden/dongbn", "L00911");
  1359. model.setValue("/root/hidden/uhyung","1");
  1360. }else if(model.getValue("/root/main/ptinfo/kind/kind2")=="2"){
  1361. model.setValue("/root/hidden/dongbn", "L00912");
  1362. model.setValue("/root/hidden/uhyung","1");
  1363. }else if(model.getValue("/root/main/ptinfo/kind/kind2")=="3"){
  1364. model.setValue("/root/hidden/dongbn", "L00913");
  1365. model.setValue("/root/hidden/uhyung","2");
  1366. }else if(model.getValue("/root/main/ptinfo/kind/kind2")=="4"){
  1367. model.setValue("/root/hidden/dongbn", "L00914");
  1368. model.setValue("/root/hidden/uhyung","2");
  1369. }else if(model.getValue("/root/main/ptinfo/kind/kind2")=="5"){
  1370. model.setValue("/root/hidden/dongbn", "L00915");
  1371. model.setValue("/root/hidden/uhyung","1");
  1372. }
  1373. }else if(model.getValue("/root/main/ptinfo/kind/kind1")=="2"){
  1374. model.setValue("/root/hidden/workgbn","3");
  1375. model.setValue("/root/hidden/uhyung","3");
  1376. if(model.getValue("/root/main/ptinfo/kind/kind2")=="1"){
  1377. model.setValue("/root/hidden/bmtgbn", "L00921");
  1378. }else if(model.getValue("/root/main/ptinfo/kind/kind2")=="2"){
  1379. model.setValue("/root/hidden/bmtgbn", "L00922");
  1380. }else if(model.getValue("/root/main/ptinfo/kind/kind2")=="3"){
  1381. model.setValue("/root/hidden/bmtgbn", "L00923");
  1382. }else if(model.getValue("/root/main/ptinfo/kind/kind2")=="4"){
  1383. model.setValue("/root/hidden/bmtgbn", "L00924");
  1384. }
  1385. }else{
  1386. model.setValue("/root/hidden/workgbn","1");
  1387. model.setValue("/root/hidden/dongbn", "L00911");
  1388. model.setValue("/root/hidden/uhyung","1");
  1389. }
  1390. //업무종류선택
  1391. fSetWorkGbn();
  1392. fSetGroupView();
  1393. // vital + 간호기록 조회
  1394. //fGetVitalNurrec("2");
  1395. if((model.getValue("/root/hidden/uhyung")=="2") || (model.getValue("/root/hidden/uhyung")=="3") || (model.getValue("/root/hidden/uhyung")=="4")){
  1396. fGetBcnoRslt("234");
  1397. // fSetBtypepanjung();
  1398. }
  1399. // 탑정보
  1400. fSetTopInfo();
  1401. }
  1402. // vital + 간호기록 조회
  1403. function fGetVitalNurrec(ref){
  1404. model.setValue("/root/send/pid",model.getValue("/root/hidden/pid"));
  1405. if(ref=="1"){
  1406. model.setValue("/root/send/dnorno", model.getValue("/root/main/chkdnor/chkdnorrslt/dnorno"));
  1407. model.makeValue("/root/send/dnorseqno", model.getValue("/root/main/chkdnor/chkdnorrslt/dnorseqno"));
  1408. model.makeValue("/root/send/dnoruh", "1");
  1409. }else{
  1410. model.makeValue("/root/send/dnoruh", "2");
  1411. }
  1412. submit("TRLBD01906");
  1413. model.makeNode("/root/main/bizlist");
  1414. model.makeNode("/root/main/bizlist");
  1415. model.copyNode("/root/main/bizlist/vital1", "/root/main/rec/vital1");
  1416. model.copyNode("/root/main/bizlist/nurrec", "/root/main/rec/nurrec");
  1417. }
  1418. // 저장
  1419. function fInsWorkList(ref, injeng){
  1420. var lrgkind = model.getValue("/root/hidden/workgbn");
  1421. var blodbarcd = "-";
  1422. fGetworkmdlkind();
  1423. //var injeng = injeng;
  1424. if(injeng != "X"){
  1425. if(model.getValue("/root/hidden/iudgbn")=="u"){
  1426. if(model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/signno") > 0){
  1427. var rtn = messageBox("이미 인증저장 되어있습니다. 인증내용도 수정하시겠습니까? \n", "S001" );
  1428. if(rtn == "6" ){//인증
  1429. injeng = "X";
  1430. }else if(rtn=="7"){//안함
  1431. injeng = "";
  1432. }
  1433. }
  1434. }
  1435. }
  1436. if(ref=="I"){
  1437. if(injeng=="X"){ //인증저장
  1438. model.setValue("/root/send/bizcntshistcd", "C");
  1439. }else{ //저장
  1440. model.setValue("/root/send/bizcntshistcd", "O");
  1441. }
  1442. if(datagrid2.row > 0){
  1443. ref = "U";
  1444. }else{
  1445. ref = "I";
  1446. }
  1447. }else if(ref=="D"){ //삭제
  1448. model.setValue("/root/send/bizcntshistcd", "L");
  1449. }else if(ref =="U"){ //수정
  1450. model.setValue("/root/send/bizcntshistcd", "O");
  1451. }
  1452. if(model.getValue("/root/hidden/uhyung")=="1"){
  1453. //if(model.getValue("")== ""){
  1454. // messageBox("공여자를 ", "C002"); // 선택하십시오.
  1455. // return;
  1456. //}
  1457. model.setValue("/root/main/bizlist/u1list/brgstno", model.getValue("/root/hidden/brgstno/brgstno1") + model.getValue("/root/hidden/brgstno/brgstno2") + model.getValue("/root/main/brgstno/brgstnoseq"));
  1458. if(model.getValue("/root/main/bizlist/u1list/bizenddd")==""){
  1459. model.setValue("/root/main/bizlist/u1list/bizenddd", "00000000");
  1460. model.setValue("/root/main/bizlist/u1list/bizendtm", "0000");
  1461. }
  1462. model.copyNode("/root/send/senddata", "/root/main/bizlist/u1list");
  1463. //var vital1 = grd_vital1.getUpdateData();
  1464. var vital1 = getGridUpdateData(grd_vital1);
  1465. model.setValue("/root/send/vital", vital1);
  1466. var nur1 = getGridUpdateData(grd_nur1);
  1467. model.setValue("/root/send/nurrec", nur1);
  1468. if(cmb_don.value == "L00911"){
  1469. blodbarcd = "A0003";
  1470. }else if(cmb_don.value == "L00912"){
  1471. blodbarcd = "A0004"
  1472. }else if(cmb_don.value == "L00913"){
  1473. blodbarcd = "A0001";
  1474. }else if(cmb_don.value == "L00914"){
  1475. blodbarcd = "-";
  1476. }else if(cmb_don.value == "L00915"){
  1477. blodbarcd = "04064";
  1478. }
  1479. }else if(model.getValue("/root/hidden/uhyung")=="2"){
  1480. model.setValue("/root/main/bizlist/u2list/brgstno", model.getValue("/root/hidden/brgstno/brgstno1") + model.getValue("/root/hidden/brgstno/brgstno2") + model.getValue("/root/main/brgstno/brgstnoseq"));
  1481. if(model.getValue("/root/main/bizlist/u2list/bizenddd")==""){
  1482. model.setValue("/root/main/bizlist/u2list/bizenddd", "00000000");
  1483. model.setValue("/root/main/bizlist/u2list/bizendtm", "0000");
  1484. }
  1485. model.copyNode("/root/send/senddata", "/root/main/bizlist/u2list");
  1486. var vital2 = grd_vital2.getUpdateData();
  1487. model.setValue("/root/send/vital", vital2);
  1488. var nur2 = getGridUpdateData(grd_nur2);
  1489. model.setValue("/root/send/nurrec", nur2);
  1490. if(cmb_don.value == "L00911"){
  1491. blodbarcd = "A0003";
  1492. }else if(cmb_don.value == "L00912"){
  1493. blodbarcd = "A0004"
  1494. }else if(cmb_don.value == "L00913"){
  1495. blodbarcd = "A0001";
  1496. }else if(cmb_don.value == "L00914"){
  1497. blodbarcd = "-";
  1498. }else if(cmb_don.value == "L00915"){
  1499. blodbarcd = "04064";
  1500. }
  1501. }else if(model.getValue("/root/hidden/uhyung")=="3"){
  1502. if(model.getValue("/root/main/bizlist/u3list/bizenddd")==""){
  1503. model.setValue("/root/main/bizlist/u3list/bizenddd", "00000000");
  1504. model.setValue("/root/main/bizlist/u3list/bizendtm", "0000");
  1505. }
  1506. model.copyNode("/root/send/senddata", "/root/main/bizlist/u3list");
  1507. var vital3 = grd_vital3.getUpdateData();
  1508. model.setValue("/root/send/vital", vital3);
  1509. var nur3 = getGridUpdateData(grd_nur3);
  1510. model.setValue("/root/send/nurrec", nur3);
  1511. }else if(model.getValue("/root/hidden/uhyung")=="4"){
  1512. var ttime = "";
  1513. var during = "";
  1514. var treatment = "";
  1515. var used = "";
  1516. var vital = "";
  1517. var cnt = model.getValue("/root/main/bizlist/u4list/cycle");
  1518. // return cycle
  1519. for(i=1; i<=cnt; i++){
  1520. ttime += model.getValue("/root/main/bizlist/cycle/cycle1[1]/cnt"+i) + "▦";
  1521. during += model.getValue("/root/main/bizlist/cycle/cycle1[2]/cnt"+i) + "▦";
  1522. treatment += model.getValue("/root/main/bizlist/cycle/cycle1[3]/cnt"+i) + "▦";
  1523. used += model.getValue("/root/main/bizlist/cycle/cycle1[4]/cnt"+i) + "▦";
  1524. vital += model.getValue("/root/main/bizlist/cycle/cycle1[5]/cnt"+i) + "▦";
  1525. }
  1526. model.setValue("/root/main/bizlist/u4list/rc_tm", ttime);
  1527. model.setValue("/root/main/bizlist/u4list/rc_frdd", during);
  1528. model.setValue("/root/main/bizlist/u4list/rc_tvol", treatment);
  1529. model.setValue("/root/main/bizlist/u4list/rc_acvolused", used);
  1530. model.setValue("/root/main/bizlist/u4list/rc_vitalsign", vital);
  1531. model.copyNode("/root/send/senddata", "/root/main/bizlist/u4list");
  1532. var nur4 = getGridUpdateData(grd_nur4);
  1533. model.setValue("/root/send/nurrec", nur4);
  1534. }
  1535. model.setValue("/root/send/pid", model.getValue("/root/hidden/pid"));
  1536. model.setValue("/root/send/uh", model.getValue("/root/hidden/uhyung"));
  1537. model.setValue("/root/send/iud", ref);
  1538. model.setValue("/root/send/senddata/bizlrgkind", lrgkind);
  1539. model.setValue("/root/send/senddata/bizmdlkind", model.getValue("/root/hidden/transmdlcd"));
  1540. model.setValue("/root/send/senddata/btype", model.getValue("/root/main/ptinfo/patinfo/btype"));
  1541. model.makeValue("/root/send/barcd", blodbarcd);
  1542. model.setValue("/root/send/orddeptcd", model.getValue("/root/main/ptinfo/patinfo/orddeptcd"));
  1543. model.setValue("/root/send/orddeptnm", model.getValue("/root/main/ptinfo/patinfo/orddept"));
  1544. model.setValue("/root/send/wardcd", model.getValue("/root/main/ptinfo/patinfo/wardcd"));
  1545. model.setValue("/root/send/wardnm", model.getValue("/root/main/ptinfo/patinfo/wardnm"));
  1546. model.setValue("/root/send/roomcd", model.getValue("/root/main/ptinfo/patinfo/roomcd"));
  1547. model.setValue("/root/send/iudgbn", model.getValue("/root/hidden/iudgbn"));
  1548. fSetBcdInstance();
  1549. if(model.getValue("/root/send/senddata/fitnyn")=="적합"){
  1550. model.setValue("/root/send/senddata/fitnyn", "Y");
  1551. }else{
  1552. model.setValue("/root/send/senddata/fitnyn", "N");
  1553. }
  1554. if(injeng =="X"){
  1555. //인증
  1556. model.makenode("/root/main/bizlist/etcinfo");
  1557. model.makeValue("/root/main/bizlist/etcinfo/eqmt2", cmb_self_eqmt.label); //2
  1558. model.makeValue("/root/main/bizlist/etcinfo/vesl2", cmb_self_vesl.label); //2
  1559. model.makeValue("/root/main/bizlist/etcinfo/antkind2", cmb_self_acs.label); //2
  1560. model.makeValue("/root/main/bizlist/etcinfo/sefyn2", rdo_self_seffc.label); //2
  1561. model.makeValue("/root/main/bizlist/etcinfo/sefcnts2", cmb_bu2.label); //2
  1562. model.makeValue("/root/main/bizlist/etcinfo/eqmt3", combo3.label); //3
  1563. model.makeValue("/root/main/bizlist/etcinfo/vesl3", combo1.label); //3
  1564. model.makeValue("/root/main/bizlist/etcinfo/antkind3", combo4.label); //3
  1565. model.makeValue("/root/main/bizlist/etcinfo/sefyn3", rdo_seffc.label); //3
  1566. model.makeValue("/root/main/bizlist/etcinfo/sefcnts3", cmb_bu3.label); //3
  1567. model.makeValue("/root/main/bizlist/etcinfo/rplab3", combo5.label); //3
  1568. model.makeValue("/root/main/bizlist/etcinfo/curegoal3", cmb_cure_goal.label); // 3
  1569. model.makeNode("/root/main/bizlist/etcrsltlist");
  1570. if(model.getValue("/root/hidden/uhyung")=="1"){
  1571. model.makeValue("/root/main/bizlist/etcrsltlist/rslt01", model.getValue("/root/main/rsltview/rslt/rslt01"));
  1572. model.makeValue("/root/main/bizlist/etcrsltlist/rslt02", model.getValue("/root/main/rsltview/rslt/rslt02"));
  1573. model.makeValue("/root/main/bizlist/etcrsltlist/rslt03", model.getValue("/root/main/rsltview/rslt/rslt03"));
  1574. model.makeValue("/root/main/bizlist/etcrsltlist/rslt04", model.getValue("/root/main/rsltview/rslt/rslt04"));
  1575. model.makeValue("/root/main/bizlist/etcrsltlist/rslt05", model.getValue("/root/main/rsltview/rslt/rslt05"));
  1576. model.makeValue("/root/main/bizlist/etcrsltlist/rslt06", model.getValue("/root/main/rsltview/rslt/rslt06"));
  1577. model.makeValue("/root/main/bizlist/etcrsltlist/rslt07", model.getValue("/root/main/rsltview/rslt/rslt07"));
  1578. model.makeValue("/root/main/bizlist/etcrsltlist/rslt08", model.getValue("/root/main/rsltview/rslt/rslt08"));
  1579. model.makeValue("/root/main/bizlist/etcrsltlist/rslt09", model.getValue("/root/main/rsltview/rslt/rslt09"));
  1580. model.makeValue("/root/main/bizlist/etcrsltlist/rslt10", model.getValue("/root/main/rsltview/rslt/rslt10"));
  1581. model.makeValue("/root/main/bizlist/etcrsltlist/rslt11", model.getValue("/root/main/rsltview/rslt/rslt11"));
  1582. }else{
  1583. model.makeValue("/root/main/bizlist/etcrsltlist/rslt01", model.getValue("/root/main/rsltview2/rslt/rslt01"));
  1584. //alert("1= " + model.getValue("/root/main/bizlist/etcrsltlist/rslt01") + " 2= "+ model.getValue("/root/main/rsltview2/rslt/rslt01") + " 3= " + model.getValue("/root/main/rsltview2/rslt[1]/rslt01"));
  1585. model.makeValue("/root/main/bizlist/etcrsltlist/rslt02", model.getValue("/root/main/rsltview2/rslt/rslt02"));
  1586. model.makeValue("/root/main/bizlist/etcrsltlist/rslt03", model.getValue("/root/main/rsltview2/rslt/rslt03"));
  1587. model.makeValue("/root/main/bizlist/etcrsltlist/rslt04", model.getValue("/root/main/rsltview2/rslt/rslt04"));
  1588. model.makeValue("/root/main/bizlist/etcrsltlist/rslt05", model.getValue("/root/main/rsltview2/rslt/rslt05"));
  1589. model.makeValue("/root/main/bizlist/etcrsltlist/rslt06", model.getValue("/root/main/rsltview2/rslt/rslt06"));
  1590. model.makeValue("/root/main/bizlist/etcrsltlist/rslt07", model.getValue("/root/main/rsltview2/rslt/rslt07"));
  1591. model.makeValue("/root/main/bizlist/etcrsltlist/rslt08", model.getValue("/root/main/rsltview2/rslt/rslt08"));
  1592. model.makeValue("/root/main/bizlist/etcrsltlist/rslt09", model.getValue("/root/main/rsltview2/rslt/rslt09"));
  1593. model.makeValue("/root/main/bizlist/etcrsltlist/rslt10", model.getValue("/root/main/rsltview2/rslt/rslt10"));
  1594. model.makeValue("/root/main/bizlist/etcrsltlist/rslt11", model.getValue("/root/main/rsltview2/rslt/rslt11"));
  1595. }
  1596. if(model.getValue("/root/hidden/workgbn")=="1"){
  1597. //model.makeValue("/root/main/bizlist/etcinfo/title", cmb_don.label);
  1598. if("L00911" == cmb_don.value){
  1599. model.makeValue("/root/main/bizlist/etcinfo/title", "H.PC Flow sheet");
  1600. }else if("L00912" ==cmb_don.value){
  1601. model.makeValue("/root/main/bizlist/etcinfo/title", "DGI Flow sheet");
  1602. }else if("L00913" ==cmb_don.value){
  1603. model.makeValue("/root/main/bizlist/etcinfo/title", "자가헌혈기록");
  1604. }else if("L00914" ==cmb_don.value){
  1605. model.makeValue("/root/main/bizlist/etcinfo/title", "사혈기록");
  1606. }else if("L00915" ==cmb_don.value){
  1607. model.makeValue("/root/main/bizlist/etcinfo/title", "전혈기록");
  1608. }
  1609. }else if(model.getValue("/root/hidden/workgbn")=="2"){
  1610. if("L00901" == cmb_care.value){
  1611. model.makeValue("/root/main/bizlist/etcinfo/title", "TPE Flow sheet");
  1612. }else if("L00902" == cmb_care.value){
  1613. model.makeValue("/root/main/bizlist/etcinfo/title", "Tx. L-P Flow sheet");
  1614. }else if("L00903" == cmb_care.value){
  1615. model.makeValue("/root/main/bizlist/etcinfo/title", "Tx. P-P Flow sheet");
  1616. }else if("L00904" == cmb_care.value){
  1617. model.makeValue("/root/main/bizlist/etcinfo/title", "Photopheresis Flow sheet");
  1618. }else if("L00905" == cmb_care.value){
  1619. model.makeValue("/root/main/bizlist/etcinfo/title", "PCPP Flow sheet");
  1620. }
  1621. //model.makeNode("/root/main/bizlist/etcinfo/title", cmb_care.label);
  1622. }else if(model.getValue("/root/hidden/workgbn")=="3"){
  1623. if("L00921" == cmb_bmt.value){
  1624. model.makeValue("/root/main/bizlist/etcinfo/title", "기타업무기록");
  1625. }else if("L00922" == cmb_bmt.value){
  1626. model.makeValue("/root/main/bizlist/etcinfo/title", "Donor PBSC Flow sheet");
  1627. }else if("L00923" == cmb_bmt.value){
  1628. model.makeValue("/root/main/bizlist/etcinfo/title", "Auto PBSC Flow sheet");
  1629. }else if("L00924" == cmb_bmt.value){
  1630. model.makeValue("/root/main/bizlist/etcinfo/title", "DLI Flow sheet");
  1631. }
  1632. //model.makeNode("/root/main/bizlist/etcinfo/title", cmb_bmt.label);
  1633. }
  1634. //인증
  1635. if(Sign.signprocess()){
  1636. var signno = 0;
  1637. var recsaveflag = "N";
  1638. if(model.getValue("/root/hidden/iudgbn")=="u"){
  1639. signno = model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/signno");
  1640. recsaveflag = "Y";
  1641. }else{
  1642. signno = 0;
  1643. }
  1644. //model.makeNode("/root/send/signdata");
  1645. model.makeValue("/root/send/signdata/pid", model.getValue("/root/main/ptinfo/patinfo/tnsrpid")); //등록번호
  1646. model.makeValue("/root/send/signdata/orddd", model.getValue("/root/main/ptinfo/patinfo/orddd")); //입원, 응급 : 입원일자, 외래 : 진료일자
  1647. //model.makeValue("/root/send/signdata/signno", signno); //서명번호
  1648. model.makeNode("/root/send/signdata/signno");
  1649. model.setValue("/root/send/signdata/signno", signno); //서명번호
  1650. model.makeValue("/root/send/signdata/cretno", model.getValue("/root/main/ptinfo/patinfo/cretno")); //생성번호
  1651. model.makeValue("/root/send/signdata/recdd", getCurrentDate()); // 실제기록이 이루어진 기록일자
  1652. model.makeValue("/root/send/signdata/rectm", getCurrentTime()); //실제기록이 이루어진 기록시간
  1653. model.makeValue("/root/send/signdata/recsaveflag", recsaveflag); // 전자서명 인적정보 변경여부(기록일시 변경되는 경우 : Y, 그외 : N)
  1654. model.makeValue("/root/send/signdata/signflag", "02"); // 서명자료구분(01 : 진료, 02 : 간호)
  1655. model.makeValue("/root/send/signdata/signgenrflag", model.getValue("/root/main/ptinfo/patinfo/prcpgenrflag")); //입원, 외래구분
  1656. //model.makeValue("/root/send/signdata/formcd", ""); //각 기록지별 서식코드 0000002916 : BM
  1657. if(model.getValue("/root/hidden/workgbn")=="1"){
  1658. var donV = cmb_don.value;
  1659. if( (donV =="L00911") || (donV =="L00912") || (donV =="L00915") ){
  1660. model.makeValue("/root/send/signdata/formcd", "0000002485"); // 혈소판 // DGI // 전혈
  1661. }else if((donV =="L00913") || (donV =="L00914")){
  1662. model.makeValue("/root/send/signdata/formcd", "0000002492"); //자가 // 사혈
  1663. }
  1664. }else if(model.getValue("/root/hidden/workgbn")=="2"){
  1665. var careV = cmb_care.value;
  1666. if(careV =="L00904"){
  1667. model.makeValue("/root/send/signdata/formcd", "0000002491"); //Photopheresis
  1668. }else{
  1669. model.makeValue("/root/send/signdata/formcd", "0000002487"); //TPE //L-P //P-P //PCPP
  1670. }
  1671. }else if(model.getValue("/root/hidden/workgbn")=="3"){
  1672. var bmtV = cmb_bmt.value;
  1673. if(bmtV == "L00921"){
  1674. model.makeValue("/root/send/signdata/formcd", "0000002491"); //기타
  1675. }else{
  1676. model.makeValue("/root/send/signdata/formcd", "0000002487"); //Donor //Auto //DLI
  1677. }
  1678. }
  1679. model.makeValue("/root/send/signdata/orddeptcd", model.getValue("/root/main/ptinfo/patinfo/orddeptcd")); //진료과
  1680. model.makeValue("/root/send/signdata/orddrid", model.getValue("/root/main/ptinfo/patinfo/orddrnm")); //진료의ID
  1681. model.makeValue("/root/send/signdata/signbfcnts", Sign.signedInfos[1]); // 인증할 데이터 정보(미기록 노드 제거된 정보), 미기록 노드 제거전 원본 노드 정보 : Sign.signedInfos[3]
  1682. model.makeValue("/root/send/signdata/signaftcnts", Sign.signedInfos[2]); //공인인증 처리후 데이터
  1683. }else{
  1684. alert("인증실패");
  1685. return false;
  1686. }
  1687. submit("TXLRR00401");
  1688. } // 인증 끝
  1689. //인증됐으면 인증번호 ★ ★ ★
  1690. if(injeng =="X"){
  1691. model.setValue("/root/send/signno", model.getValue("/root/signdata/signno"));
  1692. }else{
  1693. model.setValue("/root/send/signno", 0);
  1694. }
  1695. if(submit("TXLBD01901")){
  1696. if(ref == "I"){
  1697. //바코드출력
  1698. //fLisSpcBarcodePrint("/root/main/barcodeinfo");
  1699. //if(cmb_don.value != "L00914"){
  1700. if(model.getValue("/root/hidden/uhyung")=="1"){
  1701. copyNodeType("/root/hidden/barcode/barcodeinfo", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo", "after");
  1702. fLisTnsrBarcodePrintG("/root/hidden/barcode/barcodeinfo");
  1703. }
  1704. }
  1705. // 저장후 기록조회
  1706. fGetHistory("R");
  1707. }
  1708. }
  1709. // 바코드 출력용 인스턴스 생성
  1710. function fSetBcdInstance(){
  1711. //if(model.getValue("/root/hidden/uhyung")=="1"){
  1712. //var abocd =
  1713. model.setValue("/root/hidden/barcode/barcodeinfo/tnsrpid", model.getValue("/root/main/ptinfo/patinfo/tnsrpid")); //환자등록번호
  1714. model.setValue("/root/hidden/barcode/barcodeinfo/tnsrnm", model.getValue("/root/main/ptinfo/patinfo/patnm")); // 환자명
  1715. model.setValue("/root/hidden/barcode/barcodeinfo/tnssexage", model.getValue("/root/main/ptinfo/patinfo/sexage")); //환자성별나이
  1716. model.setValue("/root/hidden/barcode/barcodeinfo/tnsrbtype", model.getValue("/root/main/ptinfo/patinfo/btype")); //수혈자혈액형
  1717. if(model.getValue("/root/hidden/uhyung")=="1"){
  1718. model.setValue("/root/hidden/barcode/barcodeinfo/blodno", model.getValue("/root/main/bizlist/u1list/brgstno")); //혈액번호
  1719. //model.setValue("/root/hidden/barcode/barcodeinfo/dnornm", model.getValue("/root/main/chkdnor/chkdnorrslt/dnornm")); //공여자성명
  1720. //model.setValue("/root/hidden/barcode/barcodeinfo/dnsexage", model.getValue("/root/main/chkdnor/chkdnorrslt/sexage")); //공여자성별나이
  1721. //model.setValue("/root/hidden/barcode/barcodeinfo/dnbtype", model.getValue("/root/main/chkdnor/chkdnorrslt/btype")); //공여자혈액형
  1722. model.setValue("/root/hidden/barcode/barcodeinfo/dnornm", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/dnornm")); //공여자성명
  1723. model.setValue("/root/hidden/barcode/barcodeinfo/dnsexage", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/sexage")); //공여자성별나이
  1724. model.setValue("/root/hidden/barcode/barcodeinfo/dnbtype", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/btype")); //공여자혈액형
  1725. model.setValue("/root/hidden/barcode/barcodeinfo/panjung", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/panjung")); //교차시험
  1726. model.makeValue("/root/hidden/barcode/barcodeinfo/blodvol", model.getValue("/root/main/bizlist/u1list/donvol"));
  1727. var btype = model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/btype");
  1728. if(btype =="A+"){
  1729. model.setValue("/root/hidden/barcode/barcodeinfo/abocd", "6200");
  1730. }else if(btype =="B+"){
  1731. model.setValue("/root/hidden/barcode/barcodeinfo/abocd", "7300");
  1732. }else if(btype =="O+"){
  1733. model.setValue("/root/hidden/barcode/barcodeinfo/abocd", "5100");
  1734. }else if(btype=="AB+"){
  1735. model.setValue("/root/hidden/barcode/barcodeinfo/abocd", "8400");
  1736. }
  1737. if("L00911" == cmb_don.value){
  1738. model.setValue("/root/hidden/barcode/barcodeinfo/blodbarcd", "A0003");
  1739. model.setValue("/root/hidden/barcode/barcodeinfo/blodbarnm", "Haemonetic Platelet Concentrate");
  1740. }else if("L00912" == cmb_don.value){
  1741. model.setValue("/root/hidden/barcode/barcodeinfo/blodbarcd", "A0004");
  1742. model.setValue("/root/hidden/barcode/barcodeinfo/blodbarnm", "Donor Granulocyte Infusion");
  1743. }else if("L00915" == cmb_don.value){
  1744. model.setValue("/root/hidden/barcode/barcodeinfo/blodbarcd", "00163");
  1745. model.setValue("/root/hidden/barcode/barcodeinfo/blodbarnm", "Whole Blood");
  1746. }else{
  1747. model.setValue("/root/hidden/barcode/barcodeinfo/blodbarcd", "");
  1748. model.setValue("/root/hidden/barcode/barcodeinfo/blodbarnm", "");
  1749. }
  1750. }else if(model.getValue("/root/hidden/uhyung")=="2"){
  1751. model.setValue("/root/hidden/barcode/barcodeinfo/blodno", model.getValue("/root/main/bizlist/u2list/brgstno")); //혈액번호
  1752. model.makeValue("/root/hidden/barcode/barcodeinfo/blodvol", model.getValue("/root/main/bizlist/u2list/donvol"));
  1753. //model.setValue("/root/hidden/barcode/barcodeinfo/panjung", "적합");
  1754. if(model.getValue("/root/main/ptinfo/patinfo/btype")=="A+"){
  1755. model.setValue("/root/hidden/barcode/barcodeinfo/abocd", "6200");
  1756. }else if(model.getValue("/root/main/ptinfo/patinfo/btype")=="B+"){
  1757. model.setValue("/root/hidden/barcode/barcodeinfo/abocd", "7300");
  1758. }else if(model.getValue("/root/main/ptinfo/patinfo/btype")=="O+"){
  1759. model.setValue("/root/hidden/barcode/barcodeinfo/abocd", "5100");
  1760. }else if(model.getValue("/root/main/ptinfo/patinfo/btype")=="AB+"){
  1761. model.setValue("/root/hidden/barcode/barcodeinfo/abocd", "8400");
  1762. }
  1763. if("L00913" == cmb_don.value){
  1764. model.setValue("/root/hidden/barcode/barcodeinfo/blodbarcd", "A0001");
  1765. model.setValue("/root/hidden/barcode/barcodeinfo/blodbarnm", "Autologous Blood Transfusion");
  1766. }else{
  1767. model.setValue("/root/hidden/barcode/barcodeinfo/blodbarcd", "");
  1768. model.setValue("/root/hidden/barcode/barcodeinfo/blodbarnm", "");
  1769. }
  1770. }
  1771. model.setValue("/root/hidden/barcode/barcodeinfo/bcolldt", model.getValue("/root/main/rsltview/rslt/rsltdd")); //채혈일시
  1772. model.setValue("/root/hidden/barcode/barcodeinfo/prtdd", model.getValue("/root/main/bizlist/u1list/execdt").substr(0,8));
  1773. model.setValue("/root/hidden/barcode/barcodeinfo/prttm", model.getValue("/root/main/bizlist/u1list/execdt").substr(8,14));
  1774. model.makeValue("/root/hidden/barcode/barcodeinfo/bcolldd", getCurrentDate());
  1775. if(model.getValue("/root/hidden/workgbn")=="1"){
  1776. if(cmb_don.value=="L00911"){
  1777. model.makeValue("/root/hidden/barcode/barcodeinfo/title", "HPC");
  1778. }else{
  1779. model.makeValue("/root/hidden/barcode/barcodeinfo/title", cmb_don.label);
  1780. }
  1781. }else if(model.getValue("/root/hidden/workgbn")=="3"){
  1782. model.makeValue("/root/hidden/barcode/barcodeinfo/title", cmb_bmt.label);
  1783. }
  1784. //}
  1785. }
  1786. function fKeyEvent(){
  1787. if(event.keyCode == "13"){
  1788. if(event.target == "ipt_pid"){
  1789. model.setvalue("/root/hidden/pid", ipt_pid.currentText.substring(0,10));
  1790. //fGetPatInfo();
  1791. fGetPatInfo2("pid");
  1792. ipt_pid.selBegin = 0;
  1793. ipt_pid.selEnd = ipt_pid.currentText.length;
  1794. }
  1795. }
  1796. }
  1797. //기록조회
  1798. function fGetHistory(ref){
  1799. model.removeNodeset("/root/main/ptinfo/history");
  1800. //datagrid2.rebuild();
  1801. datagrid2.refresh();
  1802. model.setValue("/root/send/histdd", model.getValue("/root/hidden/histdd"));
  1803. model.setValue("/root/send/execdt2", model.getValue("/root/main/return/execdt"));
  1804. model.setValue("/root/send/histgbn", ref);
  1805. submit("TRLBD01902");
  1806. datagrid2.rebuildStyle();
  1807. if(datagrid2.rows > 1){
  1808. datagrid2.row = (datagrid2.rows-1);
  1809. /*
  1810. setRowStyle("datagrid2", "9", "O", "hist", "equal"); // 0 - 붉으죽죽한색
  1811. setRowStyle("datagrid2", "7", "L", "hist", "equal"); // 0 - 붉으죽죽한색
  1812. setRowStyle("datagrid2", "6", "C", "hist", "equal"); // 0 - 붉으죽죽한색
  1813. if(model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/hist")=="C"){
  1814. datagrid2.focusColor = "#fec33D";
  1815. }else if(model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/hist")=="O"){
  1816. datagrid2.focusColor = "#43c8f7";
  1817. }else if(model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/hist")=="L"){
  1818. datagrid2.focusColor = "#dec6a6";
  1819. }
  1820. */
  1821. }else{
  1822. fSetResetInstance("init");
  1823. model.setValue("/root/hidden/pid", "");
  1824. model.setFocus("ipt_pid");
  1825. }
  1826. //돋보기클릭시 맨밑에 row 선택되고 결과조회됨
  1827. if(datagrid2.rows >1){
  1828. if(ref=="R"){
  1829. fGetHistBiz("R");
  1830. }else{
  1831. fGetHistBiz("C");
  1832. }
  1833. }
  1834. }
  1835. // 기록 업무 조회
  1836. function fGetHistBiz(ref){
  1837. if(datagrid2.rows > 1){
  1838. if(ref=="C"){ // 기록에서 선택 조회
  1839. //model.makeValue("/root/send/execdt2", model.getValue("/root/main/history["+grd_rec.row+"]/execdd") + model.getValue("/root/main/history["+grd_rec.row+"]/exectm"));
  1840. model.makeValue("/root/send/execdt2", model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/execdd") + model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/exectm"));
  1841. }else if(ref=="R"){ //저장후 재조회
  1842. model.makeValue("/root/send/execdt2", model.getValue("/root/main/return/execdt"));
  1843. /*if(model.getValue("/root/hidden/uhyung")=="1"){
  1844. for(i=1; i< grd_dnor.rows; i++){
  1845. if(model.getValue("/root/main/ptinfo/dnorinfo["+i+"]/dnorno")==model.getValue("/root/send/dnorno")){
  1846. grd_dnor.row = i;
  1847. }
  1848. }
  1849. fDnorSelect("auto", grd_dnor.row );
  1850. }*/
  1851. }
  1852. if(model.getValue("/root/hidden/uhyung")=="1"){
  1853. }
  1854. submit("TRLBD01903");
  1855. model.setValue("/root/hidden/uhyung", model.getValue("/root/main/bizlist/ugbn/ugbn"));
  1856. model.setValue("/root/hidden/workgbn", model.getValue("/root/main/bizlist/ugbn/bizlrgkind"));
  1857. var pid = model.getValue("/root/main/bizlist/u1list/tnsrpid");
  1858. model.setValue("/root/hidden/pid", pid);
  1859. // 헌혈증번호 나눠서 표시
  1860. if(model.getValue("/root/hidden/uhyung")=="1"){
  1861. model.setValue("/root/hidden/brgstno/brgstno1", model.getValue("/root/main/bizlist/u1list/brgstno").substr(0,2));
  1862. model.setValue("/root/hidden/brgstno/brgstno2", model.getValue("/root/main/bizlist/u1list/brgstno").substr(2,2));
  1863. model.setValue("/root/main/brgstno/brgstnoseq", model.getValue("/root/main/bizlist/u1list/brgstno").substr(4,6));
  1864. }else if(model.getValue("/root/hidden/uhyung")=="2"){
  1865. model.setValue("/root/hidden/brgstno/brgstno1", model.getValue("/root/main/bizlist/u2list/brgstno").substr(0,2));
  1866. model.setValue("/root/hidden/brgstno/brgstno2", model.getValue("/root/main/bizlist/u2list/brgstno").substr(2,2));
  1867. model.setValue("/root/main/brgstno/brgstnoseq", model.getValue("/root/main/bizlist/u2list/brgstno").substr(4,6));
  1868. }
  1869. //fSetWorkGbn();
  1870. fGetUhmdlkind();
  1871. fSetGroupView();
  1872. if(model.getValue("/root/hidden/uhyung")=="1"){
  1873. model.setValue("/root/hidden/pid", model.getValue("/root/main/bizlist/u1list/tnsrpid"));
  1874. }else if(model.getValue("/root/hidden/uhyung")=="2"){
  1875. model.setValue("/root/hidden/pid", model.getValue("/root/main/bizlist/u2list/tnsrpid"));
  1876. }else if(model.getValue("/root/hidden/uhyung")=="3"){
  1877. model.setValue("/root/hidden/pid", model.getValue("/root/main/bizlist/u3list/tnsrpid"));
  1878. }else if(model.getValue("/root/hidden/uhyung")=="4"){
  1879. model.setValue("/root/hidden/pid", model.getValue("/root/main/bizlist/u4list/tnsrpid"));
  1880. fGetRturnCycle();
  1881. fSetReturnCycle();
  1882. }
  1883. model.setValue("/root/hidden/pid", pid);
  1884. //fGetPatInfo();
  1885. //fGetPatInfo2();
  1886. model.refresh();
  1887. }
  1888. /*if(ref=="R"){
  1889. if(model.getValue("/root/hidden/uhyung")=="1"){
  1890. for(i=1; i< grd_dnor.rows; i++){
  1891. if(model.getValue("/root/main/ptinfo/dnorinfo["+i+"]/dnorno")==model.getValue("/root/main/bizlist/u1list/dnorno")){
  1892. grd_dnor.row = i;
  1893. }
  1894. }
  1895. fDnorSelect("auto", grd_dnor.row );
  1896. }
  1897. }*/
  1898. if(model.getValue("/root/hidden/uhyung")=="1"){
  1899. for(i=1; i< grd_dnor.rows; i++){
  1900. if(model.getValue("/root/main/ptinfo/dnorinfo["+i+"]/dnorno")==model.getValue("/root/main/bizlist/u1list/dnorno")){
  1901. grd_dnor.row = i;
  1902. }
  1903. }
  1904. fDnorSelect("auto", grd_dnor.row );
  1905. }
  1906. //else{
  1907. // fGetBcnoRslt("234");
  1908. //}
  1909. // vital + 간호기록 조회
  1910. fGetVitalNurrec("2");
  1911. model.setValue("/root/hidden/iudgbn", "u"); // 이미 기록 있으면 update 해야함
  1912. }
  1913. //return cycle 그리드 표시
  1914. function fSetReturnCycle(){
  1915. var rc_tm = model.getValue("/root/main/bizlist/u4list/rc_tm");
  1916. var rc_frdd = model.getValue("/root/main/bizlist/u4list/rc_frdd");
  1917. var rc_tvol = model.getValue("/root/main/bizlist/u4list/rc_tvol");
  1918. var rc_acvolused = model.getValue("/root/main/bizlist/u4list/rc_acvolused");
  1919. var rc_vitalsign = model.getValue("/root/main/bizlist/u4list/rc_vitalsign");
  1920. var cnt = model.getValue("/root/main/bizlist/u4list/cycle");
  1921. var rc_tm2 = rc_tm.split("▦");
  1922. var rc_frdd2 = rc_frdd.split("▦");
  1923. var rc_tvol2 = rc_tvol.split("▦");
  1924. var rc_acvolused2 = rc_acvolused.split("▦");
  1925. var rc_vitalsign2 = rc_vitalsign.split("▦");
  1926. for(var i=0; i<=cnt; i++){
  1927. model.setValue("/root/main/bizlist/cycle/cycle1[1]/cnt"+(i+1), rc_tm2[i]);
  1928. model.setValue("/root/main/bizlist/cycle/cycle1[2]/cnt"+(i+1), rc_frdd2[i]);
  1929. model.setValue("/root/main/bizlist/cycle/cycle1[3]/cnt"+(i+1), rc_tvol2[i]);
  1930. model.setValue("/root/main/bizlist/cycle/cycle1[4]/cnt"+(i+1), rc_acvolused2[i]);
  1931. model.setValue("/root/main/bizlist/cycle/cycle1[5]/cnt"+(i+1), rc_vitalsign2[i]);
  1932. }
  1933. grd_cycle.refresh();
  1934. }
  1935. //프린터 설정
  1936. function fSetPrint() {
  1937. var count = getNodesetCount("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
  1938. if(count == 0) {
  1939. model.makeNode("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
  1940. }
  1941. open("SPLLC90100_바코드프린터설정.xrw", "", "", "", "", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
  1942. }
  1943. // 공여자선택 -> 선택공여자결과조회
  1944. function fDnorSelect(ref, row){
  1945. if(ref=="select"){
  1946. for(i=1; i< grd_dnor.rows; i++){
  1947. model.setValue("/root/main/ptinfo/dnorinfo["+i+"]/chk", "N");
  1948. }
  1949. if(grd_dnor.row > 0){
  1950. if(model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/chk")=="Y"){
  1951. model.setValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/chk", "N");
  1952. }else{
  1953. model.setValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/chk", "Y");
  1954. model.resetInstanceNode("/root/main/chkdnor/chkdnorrslt");
  1955. model.resetInstanceNode("/root/main/rsltview/rslt");
  1956. //grd_dnor_choi.rebuild();
  1957. //grd_dnor_rslt.rebuild();
  1958. //grd_dnor_choi.refresh();
  1959. grd_dnor_rslt.refresh();
  1960. }
  1961. }
  1962. if(grd_dnor.row > 0){
  1963. model.setValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/chk", "Y");
  1964. }
  1965. }else{
  1966. model.setValue("/root/main/ptinfo/dnorinfo["+row+"]/chk", "Y");
  1967. }
  1968. if(model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/chk")=="Y"){ // 선택된 공여자만
  1969. model.setValue("/root/main/chkdnor/chkdnorrslt/dnornm", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/dnornm"));
  1970. model.setValue("/root/main/chkdnor/chkdnorrslt/rrgstno", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/rrgstno"));
  1971. model.setValue("/root/main/chkdnor/chkdnorrslt/sexage", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/sexage"));
  1972. model.setValue("/root/main/chkdnor/chkdnorrslt/bdht", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/bdht"));
  1973. model.setValue("/root/main/chkdnor/chkdnorrslt/bdwt", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/bdwt"));
  1974. model.setValue("/root/main/chkdnor/chkdnorrslt/btype", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/btype"));
  1975. model.setValue("/root/main/chkdnor/chkdnorrslt/panjung", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/panjung"));
  1976. model.setValue("/root/main/chkdnor/chkdnorrslt/homeaddr", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/homeaddr"));
  1977. model.setValue("/root/main/chkdnor/chkdnorrslt/hometel", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/hometel"));
  1978. model.setValue("/root/main/chkdnor/chkdnorrslt/dnorno", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/dnorno"));
  1979. model.setValue("/root/main/chkdnor/chkdnorrslt/dnorseqno", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/dnorseqno"));
  1980. model.makeValue("/root/main/bizlist/u1list/dnorno", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/dnorno"));
  1981. model.makeValue("/root/main/bizlist/u1list/dnorseqno", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/dnorseqno"));
  1982. //grd_dnor_choi.rebuild();
  1983. //grd_dnor_choi.refresh();
  1984. fGetBcnoRslt("1");
  1985. }else{
  1986. model.resetInstanceNode("/root/main/rsltview/rslt");
  1987. //grd_dnor_rslt.rebuild();
  1988. grd_dnor_rslt.refresh();
  1989. }
  1990. //fGetBcnoRslt("1");
  1991. fSetBtypepanjung();
  1992. model.setValue("/root/hidden/uhyung", "1");
  1993. }
  1994. // 검체별 결과
  1995. function fGetBcnoRslt(ref){
  1996. model.setValue("/root/send/pid", model.getValue("/root/hidden/pid"));
  1997. model.setValue("/root/send/uh", model.getValue("/root/hidden/uhyung"));
  1998. //if(model.getValue("/root/hidden/uhyung")=="1"){ //유형1일때는 공여자 선택해야함
  1999. if((ref =="1") || (model.getValue("/root/hidden/uhyung")=="1")){
  2000. model.makeValue("/root/send/dnorno2", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/dnorno"));
  2001. }else{
  2002. model.makeValue("/root/send/dnorno2", "");
  2003. }
  2004. submit("TRLBD01905");
  2005. var count = getNodesetCount("/root/main/bcnorslt/rsltlist");
  2006. if(model.getValue("/root/hidden/uhyung")=="1"){
  2007. model.resetInstanceNode("/root/main/rsltview/rslt");
  2008. for(i=1; i<=count ; i++){
  2009. if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd") == "LHR102"){
  2010. //model.setValue("/root/main/rsltview/rslt/rslt01", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
  2011. model.setValue("/root/hidden/tmprslt1", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
  2012. }
  2013. if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LHR103"){
  2014. //model.setValue("/root/main/rsltview/rslt/rslt01", (model.getValue("/root/main/rsltview/rslt/rslt01") + " / " + model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt")));
  2015. model.setValue("/root/hidden/tmprslt2", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
  2016. }
  2017. if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LHR100"){
  2018. model.setValue("/root/main/rsltview/rslt/rslt02", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
  2019. }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LHR104"){
  2020. model.setValue("/root/main/rsltview/rslt/rslt03", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
  2021. }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LCR118"){
  2022. model.setValue("/root/main/rsltview/rslt/rslt04", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
  2023. }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LCR119"){
  2024. model.setValue("/root/main/rsltview/rslt/rslt05", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
  2025. }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LBR100"){
  2026. model.setValue("/root/main/rsltview/rslt/rslt06", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
  2027. }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LIR107"){
  2028. model.setValue("/root/main/rsltview/rslt/rslt07", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
  2029. }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LIR125"){
  2030. model.setValue("/root/main/rsltview/rslt/rslt08", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
  2031. }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LIR123"){
  2032. model.setValue("/root/main/rsltview/rslt/rslt09", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
  2033. }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LIR122"){
  2034. model.setValue("/root/main/rsltview/rslt/rslt10", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
  2035. }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LHR117"){
  2036. model.setValue("/root/main/rsltview/rslt/rslt11", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
  2037. }
  2038. model.setValue("/root/main/rsltview/rslt/rslt01", (model.getValue("/root/hidden/tmprslt1") + " / " + model.getValue("/root/hidden/tmprslt2")));
  2039. model.setValue("/root/main/rsltview/rslt/rsltdd", model.getValue("/root/main/bcnorslt/rsltlist[1]/lastreptdt2"));
  2040. }
  2041. }else if((model.getValue("/root/hidden/uhyung")=="2") || (model.getValue("/root/hidden/uhyung")=="3") || (model.getValue("/root/hidden/uhyung")=="4")){
  2042. //model.resetInstanceNode("/root/main/rsltview2/rslt");
  2043. for(k=1; k<3; k++){
  2044. model.makeValue("/root/main/rsltview2/rslt["+k+"]/rsltdd", "");
  2045. model.makeValue("/root/main/rsltview2/rslt["+k+"]/rslt01", "");
  2046. model.makeValue("/root/main/rsltview2/rslt["+k+"]/rslt02", "");
  2047. model.makeValue("/root/main/rsltview2/rslt["+k+"]/rslt03", "");
  2048. model.makeValue("/root/main/rsltview2/rslt["+k+"]/rslt04", "");
  2049. model.makeValue("/root/main/rsltview2/rslt["+k+"]/rslt05", "");
  2050. model.makeValue("/root/main/rsltview2/rslt["+k+"]/rslt06", "");
  2051. model.makeValue("/root/main/rsltview2/rslt["+k+"]/rslt07", "");
  2052. model.makeValue("/root/main/rsltview2/rslt["+k+"]/rslt08", "");
  2053. model.makeValue("/root/main/rsltview2/rslt["+k+"]/rslt09", "");
  2054. model.makeValue("/root/main/rsltview2/rslt["+k+"]/rslt10", "");
  2055. model.makeValue("/root/main/rsltview2/rslt["+k+"]/rslt11", "");
  2056. model.setValue("/root/hidden/tmprslt1", "");
  2057. model.setValue("/root/hidden/tmprslt2", "");
  2058. model.setValue("/root/hidden/tmprsdd1", "");
  2059. }
  2060. var tp = "";
  2061. var tb = "";
  2062. var alb = "";
  2063. var db = "";
  2064. for(i=1; i<=count ; i++){
  2065. model.setValue("/root/main/rsltview2/rslt[1]/rsltdd", "결과");
  2066. model.setValue("/root/main/rsltview2/rslt[2]/rsltdd", "검사일자");
  2067. if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LHR102"){ //Hb
  2068. //model.setValue("/root/main/rsltview2/rslt[1]/rslt01", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
  2069. //model.setValue("/root/main/rsltview2/rslt[2]/rslt01", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/lastreptdt"));
  2070. model.setValue("/root/hidden/tmprslt1", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
  2071. model.setValue("/root/hidden/tmprsdd1", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/lastreptdt2"));
  2072. }
  2073. if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LHR103"){
  2074. //model.setValue("/root/main/rsltview2/rslt[1]/rslt01", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
  2075. //model.setValue("/root/main/rsltview2/rslt[2]/rslt01", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/lastreptdt"));
  2076. model.setValue("/root/hidden/tmprslt2", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
  2077. model.setValue("/root/hidden/tmprsdd2", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/lastreptdt2"));
  2078. }
  2079. if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LHR100"){ //WBC
  2080. model.setValue("/root/main/rsltview2/rslt[1]/rslt02", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
  2081. model.setValue("/root/main/rsltview2/rslt[2]/rslt02", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/lastreptdt2"));
  2082. }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LHR104"){ //PLT
  2083. model.setValue("/root/main/rsltview2/rslt[1]/rslt03", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
  2084. model.setValue("/root/main/rsltview2/rslt[2]/rslt03", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/lastreptdt2"));
  2085. }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LCR118"){ //SGOT
  2086. model.setValue("/root/main/rsltview2/rslt[1]/rslt04", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
  2087. model.setValue("/root/main/rsltview2/rslt[2]/rslt04", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/lastreptdt2"));
  2088. }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LCR119"){ //SGPT
  2089. model.setValue("/root/main/rsltview2/rslt[1]/rslt05", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
  2090. model.setValue("/root/main/rsltview2/rslt[2]/rslt05", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/lastreptdt2"));
  2091. }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LCR109"){ //TP
  2092. if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt") != ""){
  2093. tp = model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt");
  2094. }
  2095. model.setValue("/root/main/rsltview2/rslt[2]/rslt06", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/lastreptdt2"));
  2096. }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LHR114"){ //MAHA
  2097. model.setValue("/root/main/rsltview2/rslt[1]/rslt07", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
  2098. model.setValue("/root/main/rsltview2/rslt[2]/rslt07", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/lastreptdt2"));
  2099. }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LCR116"){ //TB
  2100. if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt") != ""){
  2101. tb = model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt");
  2102. }
  2103. model.setValue("/root/main/rsltview2/rslt[2]/rslt08", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/lastreptdt2"));
  2104. }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LCR125"){ //Ca
  2105. model.setValue("/root/main/rsltview2/rslt[1]/rslt09", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
  2106. model.setValue("/root/main/rsltview2/rslt[2]/rslt09", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/lastreptdt2"));
  2107. }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LCR110"){ //Alb
  2108. if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt") != ""){
  2109. alb = model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt");
  2110. }
  2111. }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LCR117"){ //DB
  2112. if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt") != ""){
  2113. db = model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt");
  2114. }
  2115. }
  2116. //TP-LCR109 / Alb-LCR110 / TB-LCR116 / DB-LCR117 / Ca-LCR125 / MAHA-LHR114 임다.
  2117. }
  2118. model.setValue("/root/main/rsltview2/rslt[1]/rslt01", (model.getValue("/root/hidden/tmprslt1") + " / " + model.getValue("/root/hidden/tmprslt2")));
  2119. model.setValue("/root/main/rsltview2/rslt[2]/rslt01", model.getValue("/root/hidden/tmprsdd1"));
  2120. model.setValue("/root/main/rsltview2/rslt[1]/rslt06", tp + " / " + alb);
  2121. model.setValue("/root/main/rsltview2/rslt[1]/rslt08", tb + " / " + db);
  2122. }
  2123. //grd_dnor_rslt.rebuild();
  2124. grd_dnor_rslt.refresh();
  2125. }
  2126. // 혈액바코드발행
  2127. function fExeBlodBarcdPrint(){
  2128. fSetBcdInstance();
  2129. if(model.getValue("/root/hidden/workgbn")=="1"){
  2130. if(cmb_don.value != "L00914"){
  2131. copyNodeType("/root/hidden/barcode/barcodeinfo", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo", "after");
  2132. fLisTnsrBarcodePrintG("/root/hidden/barcode/barcodeinfo");
  2133. }
  2134. }
  2135. //copyNodeType("/root/hidden/barcode/barcodeinfo", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo", "after");
  2136. //fLisTnsrBarcodePrintG("/root/hidden/barcode/barcodeinfo");
  2137. }
  2138. // vital sign 추가
  2139. function fSetVital1(ref){
  2140. if(ref=="1"){
  2141. grd_vital1.addRow();
  2142. grd_vital1.row = grd_vital1.rows;
  2143. grd_vital1.rowStatus(grd_vital1.row) = 1;
  2144. }else if(ref=="2"){
  2145. grd_vital2.addRow();
  2146. grd_vital2.row = grd_vital2.rows;
  2147. grd_vital2.rowStatus(grd_vital2.row) = 1;
  2148. }else if(ref=="3"){
  2149. grd_vital3.addRow();
  2150. grd_vital3.row = grd_vital3.rows;
  2151. grd_vital3.rowStatus(grd_vital3.row) = 1;
  2152. }
  2153. }
  2154. function fDelVital1(ref){
  2155. if(ref=="1"){
  2156. //grd_vital1.deleteRow(grd_vital1.row);
  2157. grd_vital1.rowStatus(grd_vital1.row) = 4;
  2158. }else if(ref=="2"){
  2159. //grd_vital2.deleteRow(grd_vital2.row);
  2160. grd_vital2.rowStatus(grd_vital2.row) = 4;
  2161. }else if(ref=="3"){
  2162. //grd_vital3.deleteRow(grd_vital3.row);
  2163. grd_vital3.rowStatus(grd_vital3.row) = 4;
  2164. }
  2165. }
  2166. //간호기록 추가
  2167. function fSetNur1(ref){
  2168. if(ref=="1"){
  2169. grd_nur1.addRow();
  2170. grd_nur1.row = grd_nur1.rows;
  2171. grd_nur1.rowStatus(grd_nur1.row) = 1;
  2172. }else if(ref == "2"){
  2173. grd_nur2.addRow();
  2174. grd_nur2.row = grd_nur2.rows;
  2175. grd_nur2.rowStatus(grd_nur2.row) = 1;
  2176. }else if(ref == "3"){
  2177. grd_nur3.addRow();
  2178. grd_nur3.row = grd_nur3.rows;
  2179. grd_nur3.rowStatus(grd_nur3.row) = 1;
  2180. }else if(ref == "4"){
  2181. grd_nur4.addRow();
  2182. grd_nur4.row = grd_nur4.rows;
  2183. grd_nur4.rowStatus(grd_nur4.row) = 1;
  2184. }
  2185. }
  2186. //간호기록 삭제
  2187. function fDelNur1(ref){
  2188. if(ref=="1"){
  2189. grd_nur1.rowStatus(grd_nur1.row) = 4;
  2190. }else if(ref=="2"){
  2191. grd_nur2.rowStatus(grd_nur2.row) = 4;
  2192. }else if(ref=="3"){
  2193. grd_nur3.rowStatus(grd_nur3.row) = 4;
  2194. }else if(ref=="4"){
  2195. grd_nur4.rowStatus(grd_nur4.row) = 4;
  2196. }
  2197. }
  2198. // 인증저장
  2199. function fExeSignSave(){
  2200. model.makenode("/root/main/bizlist/etcinfo");
  2201. model.makeValue("/root/main/bizlist/etcinfo/eqmt2", cmb_self_eqmt.label); //2
  2202. model.makeValue("/root/main/bizlist/etcinfo/vesl2", cmb_self_vesl.label); //2
  2203. model.makeValue("/root/main/bizlist/etcinfo/antkind2", cmb_self_acs.label); //2
  2204. model.makeValue("/root/main/bizlist/etcinfo/sefyn2", rdo_self_seffc.label); //2
  2205. model.makeValue("/root/main/bizlist/etcinfo/sefcnts2", cmb_bu2.label); //2
  2206. model.makeValue("/root/main/bizlist/etcinfo/eqmt3", combo3.label); //3
  2207. model.makeValue("/root/main/bizlist/etcinfo/vesl3", combo1.label); //3
  2208. model.makeValue("/root/main/bizlist/etcinfo/antkind3", combo4.label); //3
  2209. model.makeValue("/root/main/bizlist/etcinfo/sefyn3", rdo_seffc.label); //3
  2210. model.makeValue("/root/main/bizlist/etcinfo/sefcnts3", cmb_bu3.label); //3
  2211. model.makeValue("/root/main/bizlist/etcinfo/rplab3", combo5.label); //3
  2212. model.makeValue("/root/main/bizlist/etcinfo/curegoal3", cmb_cure_goal.label); // 3
  2213. if(model.getValue("/root/hidden/workgbn")=="1"){
  2214. //model.makeValue("/root/main/bizlist/etcinfo/title", cmb_don.label);
  2215. if("L00911" == cmb_don.value){
  2216. model.makeValue("/root/main/bizlist/etcinfo/title", "H.PC Flow sheet");
  2217. }else if("L00912" ==cmb_don.value){
  2218. model.makeValue("/root/main/bizlist/etcinfo/title", "DGI Flow sheet");
  2219. }else if("L00913" ==cmb_don.value){
  2220. model.makeValue("/root/main/bizlist/etcinfo/title", "자가헌혈기록");
  2221. }else if("L00914" ==cmb_don.value){
  2222. model.makeValue("/root/main/bizlist/etcinfo/title", "사혈기록");
  2223. }else if("L00915" ==cmb_don.value){
  2224. model.makeValue("/root/main/bizlist/etcinfo/title", "전혈기록");
  2225. }
  2226. }else if(model.getValue("/root/hidden/workgbn")=="2"){
  2227. if("L00901" == cmb_care.value){
  2228. model.makeValue("/root/main/bizlist/etcinfo/title", "TPE Flow sheet");
  2229. }else if("L00902" == cmb_care.value){
  2230. model.makeValue("/root/main/bizlist/etcinfo/title", "Tx. L-P Flow sheet");
  2231. }else if("L00903" == cmb_care.value){
  2232. model.makeValue("/root/main/bizlist/etcinfo/title", "Tx. P-P Flow sheet");
  2233. }else if("L00904" == cmb_care.value){
  2234. model.makeValue("/root/main/bizlist/etcinfo/title", "Photopheresis Flow sheet");
  2235. }else if("L00905" == cmb_care.value){
  2236. model.makeValue("/root/main/bizlist/etcinfo/title", "PCPP Flow sheet");
  2237. }
  2238. //model.makeNode("/root/main/bizlist/etcinfo/title", cmb_care.label);
  2239. }else if(model.getValue("/root/hidden/workgbn")=="3"){
  2240. if("L00921" == cmb_bmt.value){
  2241. model.makeValue("/root/main/bizlist/etcinfo/title", "기타업무기록");
  2242. }else if("L00922" == cmb_bmt.value){
  2243. model.makeValue("/root/main/bizlist/etcinfo/title", "Donor PBSC Flow sheet");
  2244. }else if("L00923" == cmb_bmt.value){
  2245. model.makeValue("/root/main/bizlist/etcinfo/title", "Auto PBSC Flow sheet");
  2246. }else if("L00924" == cmb_bmt.value){
  2247. model.makeValue("/root/main/bizlist/etcinfo/title", "DLI Flow sheet");
  2248. }
  2249. //model.makeNode("/root/main/bizlist/etcinfo/title", cmb_bmt.label);
  2250. }
  2251. //인증
  2252. if(Sign.signprocess()){
  2253. model.makeNode("/root/send/signdata");
  2254. model.makeValue("/root/send/signdata/pid", model.getValue("/root/main/ptinfo/patinfo/tnsrpid")); //등록번호
  2255. model.makeValue("/root/send/signdata/orddd", model.getValue("/root/main/ptinfo/patinfo/orddd")); //입원, 응급 : 입원일자, 외래 : 진료일자
  2256. model.makeValue("/root/send/signdata/signno", ""); //서명번호
  2257. model.makeValue("/root/send/signdata/cretno", model.getValue("/root/main/ptinfo/patinfo/cretno")); //생성번호
  2258. model.makeValue("/root/send/signdata/recdd", getCurrentDate()); // 실제기록이 이루어진 기록일자
  2259. model.makeValue("/root/send/signdata/rectm", getCurrentTime()); //실제기록이 이루어진 기록시간
  2260. model.makeValue("/root/send/signdata/recsaveflag", "N"); // 전자서명 인적정보 변경여부(기록일시 변경되는 경우 : Y, 그외 : N)
  2261. model.makeValue("/root/send/signdata/signflag", "02"); // 서명자료구분(01 : 진료, 02 : 간호)
  2262. model.makeValue("/root/send/signdata/signgenrflag", model.getValue("/root/main/ptinfo/patinfo/prcpgenrflag")); //입원, 외래구분
  2263. //model.makeValue("/root/send/signdata/formcd", ""); //각 기록지별 서식코드 0000002916 : BM
  2264. if(model.getValue("/root/hidden/workgbn")=="1"){
  2265. if("L00911" == cmb_don.value){
  2266. model.makeValue("/root/send/signdata/formcd", "0000002485"); //혈소판
  2267. }else if("L00912" ==cmb_don.value){
  2268. model.makeValue("/root/send/signdata/formcd", "0000002485"); //DGI
  2269. }else if("L00913" ==cmb_don.value){
  2270. model.makeValue("/root/send/signdata/formcd", "0000002492"); //자가
  2271. }else if("L00914" ==cmb_don.value){
  2272. model.makeValue("/root/send/signdata/formcd", "0000002492"); //사혈
  2273. }else if("L00915" ==cmb_don.value){
  2274. model.makeValue("/root/send/signdata/formcd", "0000002485"); //전혈
  2275. }
  2276. }else if(model.getValue("/root/hidden/workgbn")=="2"){
  2277. if("L00901" == cmb_care.value){
  2278. model.makeValue("/root/send/signdata/formcd", "0000002487"); //TPE
  2279. }else if("L00902" == cmb_care.value){
  2280. model.makeValue("/root/send/signdata/formcd", "0000002487"); //L-P
  2281. }else if("L00903" == cmb_care.value){
  2282. model.makeValue("/root/send/signdata/formcd", "0000002487"); //P-P
  2283. }else if("L00904" == cmb_care.value){
  2284. model.makeValue("/root/send/signdata/formcd", "0000002491"); //Photopheresis
  2285. }else if("L00905" == cmb_care.value){
  2286. model.makeValue("/root/send/signdata/formcd", "0000002487"); //PCPP
  2287. }
  2288. }else if(model.getValue("/root/hidden/workgbn")=="3"){
  2289. if("L00921" == cmb_bmt.value){
  2290. model.makeValue("/root/send/signdata/formcd", "0000002491"); //기타
  2291. }else if("L00922" == cmb_bmt.value){
  2292. model.makeValue("/root/send/signdata/formcd", "0000002487"); //Donor
  2293. }else if("L00923" == cmb_bmt.value){
  2294. model.makeValue("/root/send/signdata/formcd", "0000002487"); //Auto
  2295. }else if("L00924" == cmb_bmt.value){
  2296. model.makeValue("/root/send/signdata/formcd", "0000002487"); //DLI
  2297. }
  2298. }
  2299. model.makeValue("/root/send/signdata/orddeptcd", model.getValue("/root/main/ptinfo/patinfo/orddeptcd")); //진료과
  2300. model.makeValue("/root/send/signdata/orddrid", model.getValue("/root/main/ptinfo/patinfo/orddrnm")); //진료의ID
  2301. model.makeValue("/root/send/signdata/signbfcnts", Sign.signedInfos[1]); // 인증할 데이터 정보(미기록 노드 제거된 정보), 미기록 노드 제거전 원본 노드 정보 : Sign.signedInfos[3]
  2302. model.makeValue("/root/send/signdata/signaftcnts", Sign.signedInfos[2]); //공인인증 처리후 데이터
  2303. }else{
  2304. return false;
  2305. }
  2306. if(submit("TXLRR00401")){
  2307. fGetHistory("R");
  2308. }
  2309. }
  2310. function fMake_SignData(){
  2311. Sign.addnode("/root/main");
  2312. }
  2313. // 오늘날짜 시간 박아주기
  2314. function fSetToddtm(ref, gbn){
  2315. if(gbn == "start"){
  2316. model.makeValue("/root/main/bizlist/u" + ref + "list/bizstartdd", getCurrentDate());
  2317. model.makeValue("/root/main/bizlist/u" + ref + "list/bizstarttm", getCurrentTime());
  2318. }else if(gbn == "end"){
  2319. model.makeValue("/root/main/bizlist/u" + ref + "list/bizenddd", getCurrentDate());
  2320. model.makeValue("/root/main/bizlist/u" + ref + "list/bizendtm", getCurrentTime());
  2321. }
  2322. if(ref=="1"){
  2323. ipt_dno_sdd.refresh();
  2324. ipt_dno_stm.refresh();
  2325. ipt_dno_edd.refresh();
  2326. ipt_dno_etm.refresh();
  2327. }else if(ref=="2"){
  2328. ipt_self_sdd.refresh();
  2329. ipt_self_stm.refresh();
  2330. ipt_self_edd.refresh();
  2331. ipt_self_etm.refresh();
  2332. }else if(ref=="3"){
  2333. ipt_cure_sdd.refresh();
  2334. ipt_cure_stm.refresh();
  2335. ipt_cure_edd.refresh();
  2336. ipt_cure_etm.refresh();
  2337. }
  2338. }
  2339. // 부작용유무 라디오버튼 선택시
  2340. function fSetBuJakYongYN(ref){
  2341. if(ref=="1"){
  2342. if(model.getValue("/root/main/bizlist/u1list/seffcyn")=="1"){ // 부작용유
  2343. cmb_bu1.disabled = false;
  2344. model.setValue("/root/main/bizlist/u1list/seffccnts", cmb_bu1.label);
  2345. }else{ //부작용무
  2346. cmb_bu1.disabled = true;
  2347. model.setValue("/root/main/bizlist/u1list/seffccnts", "");
  2348. }
  2349. }else if(ref=="2"){
  2350. if(model.getValue("/root/main/bizlist/u2list/seffcyn")=="1"){ // 부작용유
  2351. cmb_bu2.disabled = false;
  2352. model.setValue("/root/main/bizlist/u2list/seffccnts", cmb_bu2.label);
  2353. }else{ //부작용무
  2354. cmb_bu2.disabled = true;
  2355. model.setValue("/root/main/bizlist/u2list/seffccnts", "");
  2356. }
  2357. }else if(ref=="3"){
  2358. if(model.getValue("/root/main/bizlist/u3list/seffcyn")=="1"){ // 부작용유
  2359. cmb_bu3.disabled = false;
  2360. model.setValue("/root/main/bizlist/u3list/seffccnts", cmb_bu3.label);
  2361. }else{ //부작용무
  2362. cmb_bu3.disabled = true;
  2363. model.setValue("/root/main/bizlist/u3list/seffccnts", "");
  2364. }
  2365. }
  2366. }
  2367. function fSetBuCombo(ref){
  2368. if(ref=="1"){
  2369. model.setValue("/root/main/bizlist/u1list/seffccnts", cmb_bu1.label);
  2370. }else if(ref=="2"){
  2371. model.setValue("/root/main/bizlist/u2list/seffccnts", cmb_bu2.label);
  2372. }else if(ref=="3"){
  2373. model.setValue("/root/main/bizlist/u3list/seffccnts", cmb_bu3.label);
  2374. }
  2375. }
  2376. // 널값 체크
  2377. function fNullCheck(){
  2378. var nullyn = "true";
  2379. var msg = "";
  2380. /// ///DB변경되면 요렇게 막은거 지우기
  2381. if(model.getValue("/root/hidden/uhyung")=="1"){
  2382. if(model.getValue("/root/main/bizlist/u1list/bizenddd")==""){
  2383. model.setValue("/root/main/bizlist/u1list/bizenddd", "00000000");
  2384. model.setValue("/root/main/bizlist/u1list/bizendtm", "0000");
  2385. }else if(model.getValue("/root/main/bizlist/u1list/bizenddd")=="00000000"){
  2386. // 아무것도 안함
  2387. }else{
  2388. // 종료일시 입력시에만 체크
  2389. if(model.getValue("/root/main/bizlist/u1list/bizstartdd")==""){
  2390. msg = "시작일시를 ";
  2391. nullyn = "false";
  2392. }
  2393. if(model.getValue("/root/main/bizlist/u1list/bizstarttm")==""){
  2394. msg = "시작일시를 ";
  2395. nullyn = "false";
  2396. }
  2397. if(model.getValue("/root/main/bizlist/u1list/eqmtcd")==""){
  2398. msg = "장비를 ";
  2399. nullyn = "false";
  2400. }
  2401. if(model.getValue("/root/main/bizlist/u1list/veslptnccd")==""){
  2402. msg = "혈관확보를 ";
  2403. nullyn = "false";
  2404. }
  2405. if(model.getValue("/root/main/bizlist/u1list/antdkindcd")==""){
  2406. msg = "항응고제 종류를 ";
  2407. nullyn = "false";
  2408. }
  2409. if(model.getValue("/root/main/bizlist/u1list/antduseqty")==""){
  2410. msg = "항응고제 사용량을 ";
  2411. nullyn = "false";
  2412. }
  2413. if(model.getValue("/root/main/bizlist/u1list/seffcyn")==""){
  2414. msg = "부작용여부를 ";
  2415. nullyn = "false";
  2416. }
  2417. if(model.getValue("/root/main/bizlist/u1list/btype")==""){
  2418. msg = "혈액형을 ";
  2419. nullyn = "false";
  2420. }
  2421. if(model.getValue("/root/main/bizlist/u1list/fitnyn")==""){
  2422. msg = "적합여부를 ";
  2423. nullyn = "false";
  2424. }
  2425. if(model.getValue("/root/main/bizlist/u1list/donvol")==""){
  2426. msg = "헌혈량을 ";
  2427. nullyn = "false";
  2428. }
  2429. }
  2430. }else if(model.getValue("/root/hidden/uhyung")=="2"){
  2431. if(model.getValue("/root/main/bizlist/u2list/bizenddd")==""){
  2432. model.setValue("/root/main/bizlist/u2list/bizenddd", "00000000");
  2433. model.setValue("/root/main/bizlist/u2list/bizendtm", "0000");
  2434. }else if(model.getValue("/root/main/bizlist/u2list/bizenddd")=="00000000"){
  2435. // 아무것도 안함
  2436. }else{
  2437. if(model.getValue("/root/main/bizlist/u2list/bizstartdd")==""){
  2438. msg = "시작일시를 ";
  2439. nullyn = "false";
  2440. }
  2441. if(model.getValue("/root/main/bizlist/u2list/bizstarttm")==""){
  2442. msg = "시작일시를 ";
  2443. nullyn = "false";
  2444. }
  2445. if(model.getValue("/root/main/bizlist/u2list/eqmtcd")==""){
  2446. msg = "장비를 ";
  2447. nullyn = "false";
  2448. }
  2449. if(model.getValue("/root/main/bizlist/u2list/veslptnccd")==""){
  2450. msg = "혈관확보를 ";
  2451. nullyn = "false";
  2452. }
  2453. if(model.getValue("/root/main/bizlist/u2list/antdkindcd")==""){
  2454. msg = "항응고제종류를 ";
  2455. nullyn = "false";
  2456. }
  2457. if(model.getValue("/root/main/bizlist/u2list/antduseqty")==""){
  2458. msg = "항응고제사용량을 ";
  2459. nullyn = "false";
  2460. }
  2461. if(model.getValue("/root/main/bizlist/u2list/seffcyn")==""){
  2462. msg = "부작용여부를 ";
  2463. nullyn = "false";
  2464. }
  2465. if(model.getValue("/root/main/bizlist/u2list/donvol")==""){
  2466. msg = "헌혈량을 ";
  2467. nullyn = "false";
  2468. }
  2469. }
  2470. }else if(model.getValue("/root/hidden/uhyung")=="3"){
  2471. if(model.getValue("/root/main/bizlist/u3list/bizenddd")==""){
  2472. model.setValue("/root/main/bizlist/u3list/bizenddd", "00000000");
  2473. model.setValue("/root/main/bizlist/u3list/bizendtm", "0000");
  2474. }else if(model.getValue("/root/main/bizlist/u3list/bizenddd")=="00000000"){
  2475. // 아무것도 안함
  2476. }else{
  2477. if(model.getValue("/root/main/bizlist/u3list/bizstartdd")==""){
  2478. msg = "시작일시를 ";
  2479. nullyn = "false";
  2480. }
  2481. if(model.getValue("/root/main/bizlist/u3list/bizstarttm")==""){
  2482. msg = "시작일시를 ";
  2483. nullyn = "false";
  2484. }
  2485. if(model.getValue("/root/main/bizlist/u3list/eqmtcd")==""){
  2486. msg = "장비를 ";
  2487. nullyn = "false";
  2488. }
  2489. if(model.getValue("/root/main/bizlist/u3list/veslptnccd")==""){
  2490. msg = "혈관확보를 ";
  2491. nullyn = "false";
  2492. }
  2493. if(model.getValue("/root/main/bizlist/u3list/antdkindcd")==""){
  2494. msg = "항응고제종류를 ";
  2495. nullyn = "false";
  2496. }
  2497. if(model.getValue("/root/main/bizlist/u3list/antduseqty")==""){
  2498. msg = "항응고제사용량을 ";
  2499. nullyn = "false";
  2500. }
  2501. if(model.getValue("/root/main/bizlist/u3list/seffcyn")==""){
  2502. msg = "부작용여부를 ";
  2503. nullyn = "false";
  2504. }
  2505. if(model.getValue("/root/main/bizlist/u3list/rplabfld")==""){
  2506. msg = "대체액을 ";
  2507. nullyn = "false";
  2508. }
  2509. if(model.getValue("/root/main/bizlist/u3list/coll")==""){
  2510. msg = "채집을 ";
  2511. nullyn = "false";
  2512. }
  2513. if(model.getValue("/root/main/bizlist/u3list/elmn")==""){
  2514. msg = "제거를 ";
  2515. nullyn = "false";
  2516. }
  2517. if(model.getValue("/root/main/bizlist/u3list/curegoal")==""){
  2518. msg = "치료목적을 ";
  2519. nullyn = "false";
  2520. }
  2521. }
  2522. }else if(model.getValue("/root/hidden/uhyung")=="4"){
  2523. if(model.getValue("/root/main/bizlist/u4list/bizenddd")==""){
  2524. model.setValue("/root/main/bizlist/u4list/bizenddd", "00000000");
  2525. model.setValue("/root/main/bizlist/u4list/bizendtm", "0000");
  2526. }else if(model.getValue("/root/main/bizlist/u4list/bizenddd")=="00000000"){
  2527. // 아무것도 안함
  2528. }else{
  2529. if(model.getValue("/root/main/bizlist/u4list/uvadex")==""){
  2530. msg = "uvadex를 ";
  2531. nullyn = "false";
  2532. }
  2533. if(model.getValue("/root/main/bizlist/u4list/ecv")==""){
  2534. msg = "ecv를 ";
  2535. nullyn = "false";
  2536. }
  2537. if(model.getValue("/root/main/bizlist/u4list/cycle")==""){
  2538. msg = "cycle를 ";
  2539. nullyn = "false";
  2540. }
  2541. if(model.getValue("/root/main/bizlist/u4list/remain_lamp_life")==""){
  2542. msg = "remain lamp life를 ";
  2543. nullyn = "false";
  2544. }
  2545. if(model.getValue("/root/main/bizlist/u4list/uvar_xts_sn")==""){
  2546. msg = "uvar xts sn를 ";
  2547. nullyn = "false";
  2548. }
  2549. if(model.getValue("/root/main/bizlist/u4list/photoactiveation_time")==""){
  2550. msg = "photoactiveation time를 ";
  2551. nullyn = "false";
  2552. }
  2553. if(model.getValue("/root/main/bizlist/u4list/cmplt01")==""){
  2554. msg = "항응고제를 ";
  2555. nullyn = "false";
  2556. }
  2557. if(model.getValue("/root/main/bizlist/u4list/cmplt02")==""){
  2558. msg = "치료용량를 ";
  2559. nullyn = "false";
  2560. }
  2561. if(model.getValue("/root/main/bizlist/u4list/cmplt03")==""){
  2562. msg = "saline을 ";
  2563. nullyn = "false";
  2564. }
  2565. if(model.getValue("/root/main/bizlist/u4list/cmplt04")==""){
  2566. msg = "total in을 ";
  2567. nullyn = "false";
  2568. }
  2569. }
  2570. }
  2571. if(nullyn == "false"){
  2572. messageBox(msg, "C001", ""); //입력하십시오
  2573. }
  2574. return nullyn;
  2575. }
  2576. // photo cycle 콤보 선택시 그리드 숨기고 보이기
  2577. function fSetGrdCycle(){
  2578. for(i=1; i<7; i++){
  2579. grd_cycle.colHidden(i) = true;
  2580. }
  2581. var cols = cmb_cycle.value;
  2582. for(i=1; i<=cols; i++){
  2583. grd_cycle.colHidden(i) = false;
  2584. }
  2585. //grd_cycle.rebuild();
  2586. grd_cycle.refresh();
  2587. }
  2588. //photo 일때 uvadex 는 return cycle Treatment volume 마지막칸 X 0.017
  2589. function fSetPhotoUVADEX(){
  2590. var cyclecol = cmb_cycle.value;
  2591. var treatval = model.getValue("/root/main/bizlist/cycle/cycle1[3]/cnt" + cyclecol);
  2592. if( treatval == ""){
  2593. model.setValue("/root/main/bizlist/u4list/uvadex", "");
  2594. }else{
  2595. var uvadex = parseInt(treatval) * 0.017
  2596. model.setValue("/root/main/bizlist/u4list/uvadex", uvadex);
  2597. }
  2598. ipt_uvadex.refresh();
  2599. }
  2600. // 환자정보검색 팝업 띄우기
  2601. function fGetPatInfoPopUp(){
  2602. modal("SPLBD91300", "", "", "","", "/root/hidden/viewgbn/view", "/root/hidden/viewgbn/view");
  2603. model.setValue("/root/hidden/pid", model.getValue("/root/hidden/patinfolist/tnsrpid"));
  2604. ipt_pid.refresh();
  2605. fGetPatInfo("Y");
  2606. }
  2607. // vital 현재시간 넣기
  2608. function fSetVitaltoTime(gbn, row){
  2609. model.setValue("/root/main/rec/vital1["+row+"]/insptm", getCurrentTime().substring(0,4));
  2610. }
  2611. // nurrec 현재시간 넣기
  2612. function fSetNurtoTime(gbn, row){
  2613. model.setValue("/root/main/rec/nurrec["+row+"]/recdt", getCurrentTime().substring(0,4));
  2614. }
  2615. // 탑 정보
  2616. function fSetTopInfo(){
  2617. if(getPatientInfo("pid") != ""){
  2618. delPatientInfos(); //환자정보 전체 삭제
  2619. }
  2620. var ordtype = "";
  2621. var genrflag = model.getValue("/root/main/ptinfo/patinfo/prcpgenrflag");
  2622. if((genrflag == "I") || (genrflag =="E") || (genrflag =="D")){
  2623. ordtype = "I";
  2624. }else if ((genrflag =="O") || (genrflag =="S")){
  2625. ordtype = "O";
  2626. }
  2627. var today = getCurrentDate();
  2628. if(ordtype == "I"){
  2629. setParameter("condparam", genrflag + "▦" +
  2630. model.getValue("/root/main/ptinfo/patinfo/tnsrpid") + "▦" +
  2631. model.getValue("/root/main/ptinfo/patinfo/orddd") + "▦" +
  2632. model.getValue("/root/main/ptinfo/patinfo/cretno") + "▦" +
  2633. model.getValue("/root/main/ptinfo/patinfo/acptseqno") + "▦" + // seqno
  2634. today + "▦" +
  2635. model.getValue("/root/main/ptinfo/patinfo/instcd")); // 임시로
  2636. }else if(ordtype == "O"){
  2637. setParameter("condparam", genrflag + "▦" +
  2638. model.getValue("/root/main/ptinfo/patinfo/tnsrpid") + "▦" +
  2639. model.getValue("/root/main/ptinfo/patinfo/orddd") + "▦" +
  2640. model.getValue("/root/main/ptinfo/patinfo/cretno") + "▦" +
  2641. model.getValue("/root/main/ptinfo/patinfo/instcd") + "▦" +
  2642. model.getValue("/root/main/ptinfo/patinfo/acptseqno") + "▦" +
  2643. model.getValue("/root/main/ptinfo/patinfo/orgorddd") + "▦");
  2644. }
  2645. modal("SPMMO08900");
  2646. }
  2647. // 간호기록자명 조회
  2648. function fGetNurNm(){
  2649. var grdnm = "";
  2650. var gRow = "";
  2651. if(model.getValue("/root/hidden/uhyung")=="1"){
  2652. gRow = grd_nur1.row;
  2653. model.setvalue("/root/send/nurid", model.getValue("/root/main/rec/nurrec["+grd_nur1.row+"]/recrid"));
  2654. }else if(model.getValue("/root/hidden/uhyung")=="2"){
  2655. gRow = grd_nur2.row;
  2656. model.setvalue("/root/send/nurid", model.getValue("/root/main/rec/nurrec["+grd_nur2.row+"]/recrid"));
  2657. }else if(model.getValue("/root/hidden/uhyung")=="3"){
  2658. gRow = grd_nur3.row;
  2659. model.setvalue("/root/send/nurid", model.getValue("/root/main/rec/nurrec["+grd_nur3.row+"]/recrid"));
  2660. }else if(model.getValue("/root/hidden/uhyung")=="4"){
  2661. gRow = grd_nur4.row;
  2662. model.setvalue("/root/send/nurid", model.getValue("/root/main/rec/nurrec["+grd_nur4.row+"]/recrid"));
  2663. }
  2664. if(submit("TRLBD01908")){
  2665. model.setValue("/root/main/rec/nurrec["+gRow+"]/recrnm", model.getValue("/root/main/nurinfo/nurnm"));
  2666. }
  2667. }
  2668. // 기록일자 돋보기버튼클릭 2008-06-23
  2669. function fGetBizHistory(){
  2670. model.setValue("/root/send/histdd", model.getValue("/root/hidden/histdd"));
  2671. model.setValue("/root/send/pid", model.getValue("/root/hidden/pid"));
  2672. submit("TRLBD01910");
  2673. if(datagrid2.rows> 1){
  2674. datagrid2.row = (datagrid2.rows-1);
  2675. fGetBizPatInfo();
  2676. // 업무종류선택 변경
  2677. fSetBizKindSelect();
  2678. }
  2679. }
  2680. //업무종류선택 변경 2008-06-23
  2681. function fSetBizKindSelect(){
  2682. if(model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/bizlrgkind")=="1"){
  2683. model.setValue("/root/hidden/workgbn", "1");
  2684. model.setValue("/root/hidden/dongbn", "L0091"+model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/bizmdlkind"));
  2685. cmb_don.disabled = false;
  2686. cmb_care.disabled = true;
  2687. cmb_bmt.disabled = true;
  2688. }else if (model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/bizlrgkind")=="2"){
  2689. model.setValue("/root/hidden/workgbn", "2");
  2690. model.setValue("/root/hidden/caregbn", "L0090"+model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/bizmdlkind"));
  2691. cmb_don.disabled = true;
  2692. cmb_care.disabled = false;
  2693. cmb_bmt.disabled = true;
  2694. }else if(model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/bizlrgkind")=="3"){
  2695. model.setValue("/root/hidden/workgbn", "3");
  2696. model.setValue("/root/hidden/bmtgbn", "L0092"+model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/bizmdlkind"));
  2697. cmb_don.disabled = true;
  2698. cmb_care.disabled = true;
  2699. cmb_bmt.disabled = false;
  2700. }
  2701. rdo_work.refresh();
  2702. cmb_don.refresh();
  2703. cmb_care.refresh();
  2704. cmb_bmt.refresh();
  2705. //model.setValue("/root/hidden/uhyung", model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/uh"));
  2706. //fSetGroupView();
  2707. }
  2708. ]]>
  2709. </script>
  2710. </xhtml:head>
  2711. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  2712. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  2713. <group id="grp_4" style="left:255px; top:180px; width:939px; height:560px; ">
  2714. <caption id="caption42" class="tit_2" style="left:460px; top:106px; width:104px; height:13px; ">간호기록</caption>
  2715. <line id="line22" class="line_2" style="x1:1px; y1:196px; x2:452px; y2:196px; "/>
  2716. <line id="line23" class="line_2" style="x1:1px; y1:172px; x2:452px; y2:172px; "/>
  2717. <line id="line25" class="line_2" style="x1:1px; y1:148px; x2:452px; y2:148px; "/>
  2718. <line id="line27" class="line_2" style="x1:1px; y1:220px; x2:452px; y2:220px; "/>
  2719. <caption id="caption13" class="tit_2" style="left:6px; top:106px; width:104px; height:13px; ">업무내역등록</caption>
  2720. <datagrid id="datagrid1" nodeset="/root/main/rsltview2/rslt" caption="항목^Hb(g/㎗)/Hct(%)^WBC(10~9/L)^PLT(10~9/L)^SGOT^GPT^TP/Alb^MAHA^TB/DB^Ca" colsep="^" colwidth="80, 120, 100, 90, 80, 80, 100, 80, 100, 80" dataheight="23" defaultrows="1" extendlastcol="scroll" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:20px; width:937px; height:71px; ">
  2721. <col ref="rsltdd"/>
  2722. <col ref="rslt01"/>
  2723. <col ref="rslt02"/>
  2724. <col ref="rslt03"/>
  2725. <col ref="rslt04"/>
  2726. <col ref="rslt05"/>
  2727. <col ref="rslt06"/>
  2728. <col ref="rslt07"/>
  2729. <col ref="rslt08"/>
  2730. <col ref="rslt09"/>
  2731. </datagrid>
  2732. <line id="line28" class="line_1" style="x1:0px; y1:15px; x2:937px; y2:15px; "/>
  2733. <line id="line29" class="line_2" style="x1:1px; y1:453px; x2:452px; y2:453px; "/>
  2734. <line id="line32" class="line_1" style="x1:1px; y1:121px; x2:452px; y2:121px; "/>
  2735. <caption id="caption24" class="tit_2" style="left:5px; top:0px; width:118px; height:14px; ">결과</caption>
  2736. <caption id="caption34" class="cell_1" style="left:1px; top:198px; width:100px; height:23px; vertical-align:middle; ">Remain lamp life</caption>
  2737. <input id="input15" ref="/root/main/bizlist/u4list/photoactiveation_time" class="input_default" navindex="68" style="left:104px; top:432px; width:120px; height:19px; "/>
  2738. <caption id="caption35" class="cell_1" style="left:1px; top:174px; width:100px; height:23px; vertical-align:middle; ">Cycle</caption>
  2739. <input id="input23" ref="/root/main/bizlist/u4list/cmplt03" class="input_default" navindex="71" style="left:229px; top:504px; width:128px; height:19px; "/>
  2740. <input id="input24" ref="/root/main/bizlist/u4list/cmplt04" class="input_default" navindex="72" style="left:229px; top:528px; width:128px; height:19px; "/>
  2741. <line id="line33" class="line_2" style="x1:106px; y1:501px; x2:452px; y2:501px; "/>
  2742. <line id="line34" class="line_2" style="x1:107px; y1:525px; x2:453px; y2:525px; "/>
  2743. <caption id="caption38" class="cell_1" style="left:1px; top:455px; width:100px; height:95px; vertical-align:middle; ">Completion</caption>
  2744. <input id="input25" ref="/root/main/bizlist/u4list/uvar_xts_sn" class="input_default" navindex="67" style="left:104px; top:223px; width:160px; height:19px; "/>
  2745. <input id="input26" ref="/root/main/bizlist/u4list/cmplt02" class="input_default" navindex="70" style="left:229px; top:480px; width:128px; height:19px; "/>
  2746. <caption id="caption39" class="cell_1" style="left:1px; top:222px; width:100px; height:23px; vertical-align:middle; ">UVAR XTS SN</caption>
  2747. <caption id="caption40" class="cell_1" style="left:1px; top:431px; width:100px; height:23px; vertical-align:middle; ">Photoactivation</caption>
  2748. <select id="checkbox2" ref="/root/main/bizlist/u4list/movewardyn" navindex="73" overflow="visible" appearance="full" style="left:330px; top:103px; width:75px; height:15px; border-style:none; ">
  2749. <choices>
  2750. <item>
  2751. <label>이동병실</label>
  2752. <value>1</value>
  2753. </item>
  2754. </choices>
  2755. </select>
  2756. <select id="checkbox3" ref="/root/main/bizlist/u4list/ngdtyn" navindex="74" overflow="visible" appearance="full" style="left:412px; top:103px; width:50px; height:15px; border-style:none; ">
  2757. <choices>
  2758. <item>
  2759. <label>당직</label>
  2760. <value>1</value>
  2761. </item>
  2762. </choices>
  2763. </select>
  2764. <caption id="caption15" class="cell_1" style="left:1px; top:126px; width:100px; height:23px; vertical-align:middle; ">UVADEX</caption>
  2765. <caption id="caption26" class="cell_1" style="left:1px; top:150px; width:100px; height:23px; vertical-align:middle; ">ECV</caption>
  2766. <caption id="caption32" style="left:270px; top:128px; width:165px; height:20px; ">ml add to photoavlivation bag</caption>
  2767. <input id="input12" ref="/root/main/bizlist/u4list/ecv" class="input_default" navindex="64" style="left:104px; top:151px; width:160px; height:19px; "/>
  2768. <caption id="caption14" style="left:270px; top:152px; width:165px; height:20px; ">ml</caption>
  2769. <caption id="caption37" style="left:270px; top:176px; width:165px; height:20px; ">cycle</caption>
  2770. <input id="input14" ref="/root/main/bizlist/u4list/remain_lamp_life" class="input_default" navindex="66" style="left:104px; top:199px; width:160px; height:19px; "/>
  2771. <caption id="caption43" style="left:270px; top:200px; width:165px; height:20px; ">hrs</caption>
  2772. <line id="line35" class="line_2" style="x1:1px; y1:244px; x2:452px; y2:244px; "/>
  2773. <input id="input13" ref="/root/main/bizlist/u4list/cmplt01" class="input_default" navindex="69" style="left:229px; top:456px; width:128px; height:19px; "/>
  2774. <caption id="caption36" class="cell_1" style="left:104px; top:479px; width:120px; height:23px; vertical-align:middle; ">치료용량</caption>
  2775. <caption id="caption44" class="cell_1" style="left:104px; top:503px; width:120px; height:23px; vertical-align:middle; ">saline</caption>
  2776. <caption id="caption45" class="cell_1" style="left:104px; top:527px; width:120px; height:23px; vertical-align:middle; ">total in</caption>
  2777. <line id="line37" class="line_3" style="x1:1px; y1:549px; x2:452px; y2:549px; "/>
  2778. <line id="line36" class="line_2" style="x1:104px; y1:477px; x2:450px; y2:477px; "/>
  2779. <caption id="caption22" class="cell_1" style="left:104px; top:455px; width:120px; height:23px; vertical-align:middle; ">항응고제</caption>
  2780. <caption id="caption41" style="left:231px; top:432px; width:100px; height:20px; ">minutes</caption>
  2781. <caption id="caption46" style="left:360px; top:457px; width:75px; height:20px; ">ml</caption>
  2782. <caption id="caption47" style="left:360px; top:481px; width:75px; height:20px; ">ml</caption>
  2783. <caption id="caption48" style="left:360px; top:505px; width:75px; height:20px; ">ml</caption>
  2784. <caption id="caption49" style="left:360px; top:529px; width:75px; height:20px; ">ml</caption>
  2785. <caption id="caption86" visibility="hidden" style="left:115px; top:95px; width:90px; height:20px; color:#0000ff; ">유형4 (숨길꺼)</caption>
  2786. <line id="line24" class="line_1" style="x1:455px; y1:121px; x2:936px; y2:121px; "/>
  2787. <datagrid id="grd_nur4" nodeset="/root/main/rec/nurrec" class="datagrid_btype" caption="기록시간^기록자ID^기록자명^내용^seq" colsep="^" colwidth="82, 70, 60, 242, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:455px; top:126px; width:482px; height:432px; ">
  2788. <col autonext="true" ref="recdt" type="inputbutton" format="hh:nn" style="text-align:center; "/>
  2789. <col autonext="true" ref="recrid" type="input" style="text-align:center; "/>
  2790. <col autonext="true" ref="recrnm" type="input" style="text-align:center; "/>
  2791. <col autonext="true" ref="reccnts" type="input" style="text-align:left; "/>
  2792. <col ref="seq"/>
  2793. <script type="javascript" ev:event="onbuttonclick">
  2794. <![CDATA[
  2795. fSetNurtoTime("4", grd_nur4.row);
  2796. ]]>
  2797. </script>
  2798. <script type="javascript" ev:event="onkeypress">
  2799. <![CDATA[
  2800. if(grd_nur4.col = 2){
  2801. if(event.keyCode == "13"){
  2802. fGetNurNm();
  2803. }
  2804. }
  2805. ]]>
  2806. </script>
  2807. </datagrid>
  2808. <button id="button23" class="btn2_letter2" style="left:848px; top:101px; width:42px; height:19px; ">
  2809. <caption>추가</caption>
  2810. <script type="javascript" ev:event="DOMActivate">
  2811. <![CDATA[
  2812. fSetNur1("4");
  2813. ]]>
  2814. </script>
  2815. </button>
  2816. <button id="button24" class="btn2_letter2" style="left:894px; top:101px; width:42px; height:19px; ">
  2817. <caption>삭제</caption>
  2818. <script type="javascript" ev:event="DOMActivate">
  2819. <![CDATA[
  2820. fDelNur1("4");
  2821. ]]>
  2822. </script>
  2823. </button>
  2824. <datagrid id="grd_cycle" nodeset="/root/main/bizlist/cycle/cycle1" caption="return cycle^1st^2nd^3rd^4th^5th^6th" colsep="^" colwidth="150, 46, 46, 46, 46, 46, 46" ellipsis="true" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:250px; width:452px; height:180px; ">
  2825. <col ref="title" type="input"/>
  2826. <col autonext="true" ref="cnt1" type="input"/>
  2827. <col autonext="true" ref="cnt2" type="input"/>
  2828. <col autonext="true" ref="cnt3" type="input"/>
  2829. <col autonext="true" ref="cnt4" type="input"/>
  2830. <col autonext="true" ref="cnt5" type="input"/>
  2831. <col autonext="true" ref="cnt6" type="input"/>
  2832. <script type="javascript" ev:event="DOMFocusOut">
  2833. <![CDATA[
  2834. if((grd_cycle.row == 3) && (grd_cycle.col == cmb_cycle.value)){
  2835. fSetPhotoUVADEX();
  2836. }
  2837. ]]>
  2838. </script>
  2839. </datagrid>
  2840. <select1 id="cmb_cycle" ref="/root/main/bizlist/u4list/cycle" class="combo_essential" navindex="65" appearance="minimal" style="left:104px; top:175px; width:160px; height:19px; ">
  2841. <choices>
  2842. <item>
  2843. <label>1</label>
  2844. <value>1</value>
  2845. </item>
  2846. <item>
  2847. <label>2</label>
  2848. <value>2</value>
  2849. </item>
  2850. <item>
  2851. <label>3</label>
  2852. <value>3</value>
  2853. </item>
  2854. <item>
  2855. <label>4</label>
  2856. <value>4</value>
  2857. </item>
  2858. <item>
  2859. <label>5</label>
  2860. <value>5</value>
  2861. </item>
  2862. <item>
  2863. <label>6</label>
  2864. <value>6</value>
  2865. </item>
  2866. </choices>
  2867. <script type="javascript" ev:event="xforms-select">
  2868. <![CDATA[
  2869. fSetGrdCycle();
  2870. ]]>
  2871. </script>
  2872. </select1>
  2873. <input id="ipt_uvadex" ref="/root/main/bizlist/u4list/uvadex" class="input_default" navindex="63" style="left:104px; top:127px; width:160px; height:19px; "/>
  2874. </group>
  2875. <group id="grp_3" style="left:255px; top:180px; width:938px; height:560px; ">
  2876. <caption id="caption89" class="cell_1" style="left:0px; top:394px; width:100px; height:164px; vertical-align:middle; ">Vital Sign</caption>
  2877. <input id="ipt_cure_edd" ref="/root/main/bizlist/u3list/bizenddd" class="input_default" navindex="45" inputtype="date" style="left:302px; top:127px; width:85px; height:19px; "/>
  2878. <line id="line49" class="line_1" style="x1:0px; y1:15px; x2:937px; y2:15px; "/>
  2879. <line id="line50" class="line_2" style="x1:1px; y1:220px; x2:452px; y2:220px; "/>
  2880. <input id="ipt_cure_etm" ref="/root/main/bizlist/u3list/bizendtm" class="input_default" navindex="46" format="hh:nn" style="left:390px; top:127px; width:40px; height:19px; "/>
  2881. <line id="line51" class="line_2" style="x1:1px; y1:268px; x2:452px; y2:268px; "/>
  2882. <caption id="caption75" class="cell_1" style="left:229px; top:150px; width:100px; height:23px; vertical-align:middle; ">혈관확보</caption>
  2883. <line id="line52" class="line_1" style="x1:1px; y1:121px; x2:452px; y2:121px; "/>
  2884. <datagrid id="grd_cure_rslt" nodeset="/root/main/rsltview2/rslt" caption="항목^Hb(g/㎗)/Hct(%)^WBC(10~9/L)^PLT(10~9/L)^SGOT^SGPT^TP/Alb^MAHA^TB/DB^Ca" colsep="^" colwidth="80, 120, 100, 90, 80, 80, 100, 80, 100, 80" dataheight="23" defaultrows="1" extendlastcol="scroll" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:20px; width:937px; height:71px; ">
  2885. <col ref="rsltdd" format="yyyy-mm-dd"/>
  2886. <col ref="rslt01" format="yyyy-mm-dd hh:nn"/>
  2887. <col ref="rslt02" format="yyyy-mm-dd hh:nn"/>
  2888. <col ref="rslt03"/>
  2889. <col ref="rslt04"/>
  2890. <col ref="rslt05"/>
  2891. <col checkvalue="1,0" ref="rslt06"/>
  2892. <col ref="rslt07" format="yyyy-mm-dd"/>
  2893. <col ref="rslt08" format="yyyy-mm-dd"/>
  2894. <col ref="rslt09"/>
  2895. </datagrid>
  2896. <line id="line53" class="line_2" style="x1:1px; y1:148px; x2:452px; y2:148px; "/>
  2897. <input id="ipt_cure_sdd" ref="/root/main/bizlist/u3list/bizstartdd" class="input_default" navindex="43" inputtype="date" style="left:74px; top:127px; width:85px; height:19px; "/>
  2898. <line id="line54" class="line_2" style="x1:1px; y1:172px; x2:452px; y2:172px; "/>
  2899. <input id="ipt_cure_acs_vol" ref="/root/main/bizlist/u3list/antduseqty" class="input_default" navindex="50" style="left:332px; top:175px; width:120px; height:19px; "/>
  2900. <caption id="caption78" class="cell_1" style="left:229px; top:246px; width:100px; height:23px; vertical-align:middle; ">채집/ 제거</caption>
  2901. <line id="line55" class="line_2" style="x1:1px; y1:196px; x2:452px; y2:196px; "/>
  2902. <select1 id="cmb_cure_goal" ref="/root/main/bizlist/u3list/curegoal" class="combo_essential" navindex="57" appearance="minimal" style="left:104px; top:271px; width:120px; height:19px; ">
  2903. <choices>
  2904. <item>
  2905. <label>Pre BMT</label>
  2906. <value>1</value>
  2907. </item>
  2908. <item>
  2909. <label>Post BMT 합병증</label>
  2910. <value>2</value>
  2911. </item>
  2912. <item>
  2913. <label>세포공여</label>
  2914. <value>3</value>
  2915. </item>
  2916. <item>
  2917. <label>Depletion</label>
  2918. <value>4</value>
  2919. </item>
  2920. <item>
  2921. <label>기타</label>
  2922. <value>5</value>
  2923. </item>
  2924. </choices>
  2925. </select1>
  2926. <caption id="caption80" class="tit_2" style="left:5px; top:0px; width:118px; height:14px; ">결과</caption>
  2927. <caption id="caption81" class="cell_1" style="left:229px; top:126px; width:70px; height:23px; vertical-align:middle; ">종료일시</caption>
  2928. <caption id="caption82" class="tit_2" style="left:6px; top:106px; width:104px; height:13px; ">업무내역등록</caption>
  2929. <input id="ipt_cure2" ref="/root/main/bizlist/u3list/elmn" class="input_default" navindex="56" style="left:394px; top:247px; width:58px; height:19px; "/>
  2930. <input id="ipt_cure_stm" ref="/root/main/bizlist/u3list/bizstarttm" class="input_default" navindex="44" format="hh:nn" style="left:162px; top:127px; width:40px; height:19px; "/>
  2931. <input id="ipt_cure1" ref="/root/main/bizlist/u3list/coll" class="input_default" navindex="55" style="left:332px; top:247px; width:58px; height:19px; "/>
  2932. <caption id="caption84" class="cell_1" style="left:229px; top:174px; width:100px; height:23px; vertical-align:middle; ">항응고제 사용량</caption>
  2933. <select1 id="rdo_seffc" ref="/root/main/bizlist/u3list/seffcyn" navindex="51" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:106px; top:201px; width:105px; height:15px; border-style:none; ">
  2934. <choices>
  2935. <item>
  2936. <label>유</label>
  2937. <value>1</value>
  2938. </item>
  2939. <item>
  2940. <label>무</label>
  2941. <value>2</value>
  2942. </item>
  2943. </choices>
  2944. <script type="javascript" ev:event="xforms-value-changed">
  2945. <![CDATA[
  2946. fSetBuJakYongYN("3");
  2947. ]]>
  2948. </script>
  2949. </select1>
  2950. <select id="chk_cure_flag" ref="/root/main/bizlist/u3list/movewardyn" navindex="61" overflow="visible" appearance="full" cellspacing="25" cols="2" style="left:332px; top:104px; width:75px; height:20px; border-style:none; ">
  2951. <choices>
  2952. <item>
  2953. <label>이동병실</label>
  2954. <value>1</value>
  2955. </item>
  2956. </choices>
  2957. </select>
  2958. <select id="checkbox1" ref="/root/main/bizlist/u3list/ngdtyn" navindex="62" overflow="visible" appearance="full" cellspacing="25" cols="2" style="left:412px; top:104px; width:50px; height:20px; border-style:none; ">
  2959. <choices>
  2960. <item>
  2961. <label>당직</label>
  2962. <value>1</value>
  2963. </item>
  2964. </choices>
  2965. </select>
  2966. <caption id="caption9" visibility="hidden" style="left:125px; top:95px; width:100px; height:20px; ">유형3 (숨길꺼)</caption>
  2967. <caption id="caption83" class="cell_1" style="left:1px; top:246px; width:100px; height:23px; vertical-align:middle; ">대체액</caption>
  2968. <caption id="caption73" class="cell_1" style="left:1px; top:126px; width:70px; height:23px; vertical-align:middle; ">시작일시</caption>
  2969. <caption id="caption74" class="cell_1" style="left:1px; top:150px; width:100px; height:23px; vertical-align:middle; ">장비</caption>
  2970. <caption id="caption76" class="cell_1" style="left:1px; top:198px; width:100px; height:23px; vertical-align:middle; ">부작용</caption>
  2971. <caption id="caption77" class="cell_1" style="left:1px; top:174px; width:100px; height:23px; vertical-align:middle; ">항응고제 종류</caption>
  2972. <line id="line12" class="line_2" style="x1:1px; y1:244px; x2:452px; y2:244px; "/>
  2973. <caption id="caption10" class="cell_1" style="left:1px; top:222px; width:100px; height:23px; vertical-align:middle; ">부작용 처리사항</caption>
  2974. <input id="input5" ref="/root/main/bizlist/u3list/seffctretcnts" class="input_default" navindex="53" style="left:104px; top:223px; width:348px; height:19px; "/>
  2975. <line id="line16" class="line_2" style="x1:1px; y1:292px; x2:452px; y2:292px; "/>
  2976. <caption id="caption79" class="cell_1" style="left:1px; top:270px; width:100px; height:23px; vertical-align:middle; ">치료목적</caption>
  2977. <caption id="caption11" class="cell_1" style="left:1px; top:294px; width:100px; height:71px; vertical-align:middle; ">채혈 Kit</caption>
  2978. <line id="line56" class="line_3" style="x1:1px; y1:364px; x2:452px; y2:364px; "/>
  2979. <select1 id="combo1" ref="/root/main/bizlist/u3list/veslptnccd" class="combo_essential" navindex="48" appearance="minimal" style="left:332px; top:151px; width:120px; height:19px; ">
  2980. <choices>
  2981. <item>
  2982. <label>Peripheral Vein</label>
  2983. <value>1</value>
  2984. </item>
  2985. <item>
  2986. <label>Central Cath</label>
  2987. <value>2</value>
  2988. </item>
  2989. <item>
  2990. <label>Femoral Cath</label>
  2991. <value>3</value>
  2992. </item>
  2993. <item>
  2994. <label>Pheripheral + Central</label>
  2995. <value>4</value>
  2996. </item>
  2997. </choices>
  2998. </select1>
  2999. <input id="textarea3" ref="/root/main/bizlist/u3list/bcollkit1" navindex="58" appearance="input" style="left:104px; top:295px; width:348px; height:19px; "/>
  3000. <select1 id="combo3" ref="/root/main/bizlist/u3list/eqmtcd" class="combo_essential" navindex="47" appearance="minimal" style="left:104px; top:151px; width:120px; height:19px; ">
  3001. <choices>
  3002. <item>
  3003. <label>Spectra</label>
  3004. <value>1</value>
  3005. </item>
  3006. <item>
  3007. <label>MCS-3P + KM8300</label>
  3008. <value>2</value>
  3009. </item>
  3010. <item>
  3011. <label>KM8800</label>
  3012. <value>3</value>
  3013. </item>
  3014. <item>
  3015. <label>UVAR XTS</label>
  3016. <value>4</value>
  3017. </item>
  3018. </choices>
  3019. </select1>
  3020. <select1 id="combo4" ref="/root/main/bizlist/u3list/antdkindcd" class="combo_essential" navindex="49" appearance="minimal" style="left:104px; top:175px; width:120px; height:19px; ">
  3021. <choices>
  3022. <item>
  3023. <label>ACD-A(㎖)</label>
  3024. <value>1</value>
  3025. </item>
  3026. <item>
  3027. <label>Heparin(u)</label>
  3028. <value>2</value>
  3029. </item>
  3030. <item>
  3031. <label>10PS5 + TSC</label>
  3032. <value>3</value>
  3033. </item>
  3034. <item>
  3035. <label>ACD-A+HPR</label>
  3036. <value>4</value>
  3037. </item>
  3038. </choices>
  3039. </select1>
  3040. <select1 id="combo5" ref="/root/main/bizlist/u3list/rplabfld" class="combo_essential" navindex="54" appearance="minimal" style="left:104px; top:247px; width:120px; height:19px; ">
  3041. <choices>
  3042. <item>
  3043. <label>5%albumin + FFP</label>
  3044. <value>1</value>
  3045. </item>
  3046. <item>
  3047. <label>5%albumin + FP</label>
  3048. <value>2</value>
  3049. </item>
  3050. <item>
  3051. <label>CRYO + FFP</label>
  3052. <value>3</value>
  3053. </item>
  3054. <item>
  3055. <label>Others</label>
  3056. <value>4</value>
  3057. </item>
  3058. </choices>
  3059. </select1>
  3060. <line id="line21" class="line_1" style="x1:455px; y1:121px; x2:936px; y2:121px; "/>
  3061. <caption id="caption87" class="tit_2" style="left:460px; top:106px; width:104px; height:13px; ">간호기록</caption>
  3062. <button id="button4" class="btn2_letter2" navindex="-1" style="left:6px; top:395px; width:42px; height:19px; ">
  3063. <caption>추가</caption>
  3064. <script type="javascript" ev:event="DOMActivate">
  3065. <![CDATA[
  3066. fSetVital1("3");
  3067. ]]>
  3068. </script>
  3069. </button>
  3070. <button id="button6" class="btn2_letter2" navindex="-1" style="left:52px; top:395px; width:42px; height:19px; ">
  3071. <caption>삭제</caption>
  3072. <script type="javascript" ev:event="DOMActivate">
  3073. <![CDATA[
  3074. fDelVital1("3");
  3075. ]]>
  3076. </script>
  3077. </button>
  3078. <line id="line38" class="line_1" style="x1:0px; y1:389px; x2:451px; y2:389px; "/>
  3079. <button id="button12" class="icon_clock" navindex="-1" style="left:207px; top:128px; width:16px; height:16px; ">
  3080. <caption/>
  3081. <script type="javascript" ev:event="DOMActivate">
  3082. <![CDATA[
  3083. fSetToddtm("3", "start");
  3084. ]]>
  3085. </script>
  3086. </button>
  3087. <button id="button13" class="icon_clock" navindex="-1" style="left:434px; top:128px; width:16px; height:16px; ">
  3088. <caption/>
  3089. <script type="javascript" ev:event="DOMActivate">
  3090. <![CDATA[
  3091. fSetToddtm("3", "end");
  3092. ]]>
  3093. </script>
  3094. </button>
  3095. <input id="input11" ref="/root/main/bizlist/u3list/bcollkit2" navindex="59" appearance="input" style="left:104px; top:319px; width:348px; height:19px; "/>
  3096. <input id="input16" ref="/root/main/bizlist/u3list/bcollkit3" navindex="60" appearance="input" style="left:104px; top:343px; width:348px; height:19px; "/>
  3097. <line id="line57" class="line_2" style="x1:105px; y1:316px; x2:452px; y2:316px; "/>
  3098. <line id="line58" class="line_2" style="x1:105px; y1:340px; x2:452px; y2:340px; "/>
  3099. <datagrid id="grd_vital3" nodeset="/root/main/rec/vital1" caption="측정시간^혈압^혈압^맥박^호흡^체온^seq" colsep="^" colwidth="70, 46, 46, 46, 46, 46, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:103px; top:395px; width:348px; height:163px; ">
  3100. <col autonext="true" ref="insptm" type="inputbutton" format="hh:nn"/>
  3101. <col autonext="true" ref="bp1" type="input"/>
  3102. <col autonext="true" ref="bp2" type="input"/>
  3103. <col autonext="true" ref="pluse" type="input"/>
  3104. <col autonext="true" ref="breth" type="input"/>
  3105. <col autonext="true" ref="bdtp" type="input"/>
  3106. <col ref="seq"/>
  3107. <script type="javascript" ev:event="onbuttonclick">
  3108. <![CDATA[
  3109. fSetVitaltoTime("3", grd_vital3.row);
  3110. ]]>
  3111. </script>
  3112. </datagrid>
  3113. <select1 id="cmb_bu3" ref="/root/main/bizlist/u3list/seffccd" navindex="52" appearance="minimal" style="left:229px; top:199px; width:223px; height:19px; ">
  3114. <choices>
  3115. <item>
  3116. <label>혈관미주신경반응</label>
  3117. <value>1</value>
  3118. </item>
  3119. <item>
  3120. <label>피하출혈</label>
  3121. <value>2</value>
  3122. </item>
  3123. <item>
  3124. <label>구연산반응</label>
  3125. <value>3</value>
  3126. </item>
  3127. <item>
  3128. <label>접촉성피부염</label>
  3129. <value>4</value>
  3130. </item>
  3131. <item>
  3132. <label>혈전성정맥염(Thrombophlebitis)</label>
  3133. <value>5</value>
  3134. </item>
  3135. <item>
  3136. <label>과환기증후군</label>
  3137. <value>6</value>
  3138. </item>
  3139. <item>
  3140. <label>기타-free text 입력</label>
  3141. <value>7</value>
  3142. </item>
  3143. </choices>
  3144. <script type="javascript" ev:event="xforms-select">
  3145. <![CDATA[
  3146. fSetBuCombo("3");
  3147. ]]>
  3148. </script>
  3149. </select1>
  3150. <datagrid id="grd_nur3" nodeset="/root/main/rec/nurrec" class="datagrid_btype" caption="기록시간^기록자ID^기록자명^내용^seq" colsep="^" colwidth="80, 70, 70, 237, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:455px; top:126px; width:482px; height:432px; ">
  3151. <col autonext="true" ref="recdt" type="inputbutton" format="hh:nn"/>
  3152. <col autonext="true" ref="recrid" type="input"/>
  3153. <col autonext="true" ref="recrnm" type="input"/>
  3154. <col autonext="true" ref="reccnts" type="input"/>
  3155. <col ref="seq"/>
  3156. <script type="javascript" ev:event="onbuttonclick">
  3157. <![CDATA[
  3158. fSetNurtoTime("3", grd_nur3.row);
  3159. ]]>
  3160. </script>
  3161. <script type="javascript" ev:event="onkeypress">
  3162. <![CDATA[
  3163. if(grd_nur3.col = 2){
  3164. if(event.keyCode == "13"){
  3165. fGetNurNm();
  3166. }
  3167. }
  3168. ]]>
  3169. </script>
  3170. </datagrid>
  3171. <button id="button21" class="btn2_letter2" navindex="-1" style="left:848px; top:101px; width:42px; height:19px; ">
  3172. <caption>추가</caption>
  3173. <script type="javascript" ev:event="DOMActivate">
  3174. <![CDATA[
  3175. fSetNur1("3");
  3176. ]]>
  3177. </script>
  3178. </button>
  3179. <button id="button22" class="btn2_letter2" navindex="-1" style="left:894px; top:101px; width:42px; height:19px; ">
  3180. <caption>삭제</caption>
  3181. <script type="javascript" ev:event="DOMActivate">
  3182. <![CDATA[
  3183. fDelNur1("3");
  3184. ]]>
  3185. </script>
  3186. </button>
  3187. </group>
  3188. <group id="grp_2" style="left:255px; top:180px; width:939px; height:560px; ">
  3189. <caption id="caption90" class="cell_1" style="left:0px; top:399px; width:100px; height:156px; vertical-align:middle; ">Vital Sign</caption>
  3190. <input id="textarea2" ref="/root/main/bizlist/u2list/bcollkit1" navindex="40" appearance="input" style="left:104px; top:295px; width:348px; height:19px; "/>
  3191. <line id="line47" class="line_2" style="x1:1px; y1:196px; x2:452px; y2:196px; "/>
  3192. <line id="line46" class="line_2" style="x1:1px; y1:172px; x2:452px; y2:172px; "/>
  3193. <line id="line45" class="line_2" style="x1:1px; y1:148px; x2:452px; y2:148px; "/>
  3194. <line id="line41" class="line_2" style="x1:1px; y1:220px; x2:452px; y2:220px; "/>
  3195. <input id="ipt_self_sdd" ref="/root/main/bizlist/u2list/bizstartdd" class="input_default" navindex="22" inputtype="date" style="left:74px; top:127px; width:85px; height:19px; "/>
  3196. <caption id="caption60" class="tit_2" style="left:6px; top:106px; width:104px; height:13px; ">업무내역등록</caption>
  3197. <input id="ipt_self_acs_vol" ref="/root/main/bizlist/u2list/antduseqty" class="input_default" navindex="29" style="left:332px; top:175px; width:120px; height:19px; "/>
  3198. <input id="ipt_self_no" ref="/root/main/bizlist/u2list/brgstno" class="input_default" visibility="hidden" style="left:455px; top:270px; width:120px; height:19px; "/>
  3199. <datagrid id="grd_self_rslt" nodeset="/root/main/rsltview2/rslt" caption="항목^Hb(g/㎗)/Hct(%)^WBC(10~9/L)^PLT(10~9/L)^SGOT^GPT^TP/Alb^MAHA^TB/DB^Ca" colsep="^" colwidth="80, 120, 100, 90, 80, 80, 100, 80, 100, 80" dataheight="23" defaultrows="1" extendlastcol="scroll" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:20px; width:938px; height:71px; ">
  3200. <col ref="rsltdd"/>
  3201. <col ref="rslt01"/>
  3202. <col ref="rslt02"/>
  3203. <col ref="rslt03"/>
  3204. <col ref="rslt04"/>
  3205. <col ref="rslt05"/>
  3206. <col ref="rslt06"/>
  3207. <col ref="rslt07"/>
  3208. <col ref="rslt08"/>
  3209. <col ref="rslt09"/>
  3210. </datagrid>
  3211. <caption id="caption62" class="cell_1" style="left:229px; top:174px; width:100px; height:23px; vertical-align:middle; ">항응고제 사용량</caption>
  3212. <line id="line42" class="line_1" style="x1:0px; y1:15px; x2:938px; y2:15px; "/>
  3213. <caption id="caption63" class="cell_1" style="left:1px; top:126px; width:70px; height:23px; vertical-align:middle; ">시작일시</caption>
  3214. <line id="line43" class="line_2" style="x1:1px; y1:268px; x2:452px; y2:268px; "/>
  3215. <caption id="caption64" class="cell_1" style="left:229px; top:270px; width:100px; height:23px; vertical-align:middle; ">헌혈증번호</caption>
  3216. <line id="line44" class="line_1" style="x1:1px; y1:121px; x2:452px; y2:121px; "/>
  3217. <caption id="caption65" class="tit_2" style="left:5px; top:0px; width:118px; height:14px; ">결과</caption>
  3218. <caption id="caption66" class="cell_1" style="left:1px; top:150px; width:100px; height:23px; vertical-align:middle; ">장비</caption>
  3219. <caption id="caption67" class="cell_1" style="left:229px; top:150px; width:100px; height:23px; vertical-align:middle; ">혈관확보</caption>
  3220. <caption id="caption68" class="cell_1" style="left:1px; top:198px; width:100px; height:23px; vertical-align:middle; ">부작용</caption>
  3221. <caption id="caption69" class="cell_1" style="left:1px; top:174px; width:100px; height:23px; vertical-align:middle; ">항응고제 종류</caption>
  3222. <input id="ipt_self_stm" ref="/root/main/bizlist/u2list/bizstarttm" class="input_default" navindex="23" format="hh:nn" style="left:162px; top:127px; width:40px; height:19px; "/>
  3223. <caption id="caption70" class="cell_1" style="left:229px; top:246px; width:100px; height:23px; vertical-align:middle; ">헌혈량</caption>
  3224. <input id="ipt_self_vol" ref="/root/main/bizlist/u2list/donvol" class="input_default" navindex="34" style="left:332px; top:247px; width:120px; height:19px; "/>
  3225. <input id="ipt_self_edd" ref="/root/main/bizlist/u2list/bizenddd" class="input_default" navindex="24" inputtype="date" style="left:302px; top:127px; width:85px; height:19px; "/>
  3226. <caption id="caption72" class="cell_1" style="left:229px; top:126px; width:70px; height:23px; vertical-align:middle; ">종료일시</caption>
  3227. <input id="ipt_self_etm" ref="/root/main/bizlist/u2list/bizendtm" class="input_default" navindex="25" format="hh:nn" style="left:390px; top:127px; width:40px; height:19px; "/>
  3228. <select1 id="rdo_self_seffc" ref="/root/main/bizlist/u2list/seffcyn" navindex="30" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:106px; top:201px; width:105px; height:15px; border-style:none; ">
  3229. <choices>
  3230. <item>
  3231. <label>유</label>
  3232. <value>1</value>
  3233. </item>
  3234. <item>
  3235. <label>무</label>
  3236. <value>2</value>
  3237. </item>
  3238. </choices>
  3239. <script type="javascript" ev:event="xforms-value-changed">
  3240. <![CDATA[
  3241. fSetBuJakYongYN("2");
  3242. ]]>
  3243. </script>
  3244. </select1>
  3245. <line id="line30" class="line_2" style="x1:1px; y1:244px; x2:452px; y2:244px; "/>
  3246. <caption id="caption33" class="cell_1" style="left:1px; top:294px; width:100px; height:71px; vertical-align:middle; ">채혈 Kit</caption>
  3247. <line id="line31" class="line_2" style="x1:1px; y1:292px; x2:452px; y2:292px; "/>
  3248. <input id="input20" ref="/root/main/bizlist/u2list/seffctretcnts" class="input_default" navindex="32" style="left:104px; top:223px; width:348px; height:19px; "/>
  3249. <caption id="caption28" class="cell_1" style="left:1px; top:222px; width:100px; height:23px; vertical-align:middle; ">부작용 처리사항</caption>
  3250. <caption id="caption61" class="cell_1" style="left:1px; top:246px; width:100px; height:23px; vertical-align:middle; ">혈액형</caption>
  3251. <caption id="caption71" class="cell_1" style="left:1px; top:270px; width:100px; height:23px; vertical-align:middle; ">적합여부</caption>
  3252. <line id="line48" class="line_3" style="x1:1px; y1:364px; x2:452px; y2:364px; "/>
  3253. <caption id="caption12" visibility="hidden" style="left:155px; top:100px; width:100px; height:20px; ">유형2 (숨길꺼)</caption>
  3254. <output id="output1" ref="/root/main/bizlist/u2list/btype" class="output_fix" navindex="33" appearance="output" maxlength="24" style="left:105px; top:247px; width:120px; height:19px; "/>
  3255. <output id="output2" ref="/root/main/bizlist/u2list/fitnyn" class="output_fix" navindex="35" appearance="output" maxlength="24" style="left:105px; top:271px; width:35px; height:19px; "/>
  3256. <select1 id="cmb_self_eqmt" ref="/root/main/bizlist/u2list/eqmtcd" class="combo_essential" navindex="26" appearance="minimal" style="left:104px; top:151px; width:120px; height:19px; ">
  3257. <choices>
  3258. <item>
  3259. <label>MCS-3P</label>
  3260. <value>1</value>
  3261. </item>
  3262. <item>
  3263. <label>MCS+</label>
  3264. <value>2</value>
  3265. </item>
  3266. <item>
  3267. <label>TRIMA</label>
  3268. <value>3</value>
  3269. </item>
  3270. <item>
  3271. <label>SPECTRA</label>
  3272. <value>4</value>
  3273. </item>
  3274. <item>
  3275. <label>혈액 믹서기</label>
  3276. <value>5</value>
  3277. </item>
  3278. </choices>
  3279. </select1>
  3280. <select1 id="cmb_self_vesl" ref="/root/main/bizlist/u2list/veslptnccd" class="combo_essential" navindex="27" appearance="minimal" style="left:332px; top:151px; width:120px; height:19px; ">
  3281. <choices>
  3282. <item>
  3283. <label>Peripheral Vein</label>
  3284. <value>1</value>
  3285. </item>
  3286. <item>
  3287. <label>Central Cath</label>
  3288. <value>2</value>
  3289. </item>
  3290. <item>
  3291. <label>Femoral Cath</label>
  3292. <value>3</value>
  3293. </item>
  3294. <item>
  3295. <label>Pheripheral + Central</label>
  3296. <value>4</value>
  3297. </item>
  3298. </choices>
  3299. </select1>
  3300. <select1 id="cmb_self_acs" ref="/root/main/bizlist/u2list/antdkindcd" class="combo_essential" navindex="28" appearance="minimal" style="left:104px; top:175px; width:120px; height:19px; ">
  3301. <choices>
  3302. <item>
  3303. <label>ACD-A(㎖)</label>
  3304. <value>1</value>
  3305. </item>
  3306. <item>
  3307. <label>Heparin(u)</label>
  3308. <value>2</value>
  3309. </item>
  3310. <item>
  3311. <label>10PS5 + TSC</label>
  3312. <value>3</value>
  3313. </item>
  3314. <item>
  3315. <label>ACD-A+HPR</label>
  3316. <value>4</value>
  3317. </item>
  3318. </choices>
  3319. </select1>
  3320. <input id="input4" ref="/root/main/brgstno/brgstnoseq" navindex="39" style="left:405px; top:271px; width:47px; height:19px; "/>
  3321. <input id="input8" ref="/root/hidden/brgstno/brgstno1" class="input_default" navindex="37" maxlength="10" style="left:332px; top:271px; width:25px; height:19px; "/>
  3322. <caption id="caption55" style="left:358px; top:273px; width:10px; height:15px; ">-</caption>
  3323. <caption id="caption56" style="left:394px; top:273px; width:10px; height:15px; ">-</caption>
  3324. <caption id="caption57" visibility="hidden" style="left:455px; top:255px; width:100px; height:20px; ">숨길 헌혈증번호</caption>
  3325. <input id="input9" ref="/root/hidden/brgstno/brgstno2" class="input_default" navindex="38" maxlength="10" style="left:368px; top:271px; width:25px; height:19px; "/>
  3326. <caption id="caption88" class="tit_2" style="left:460px; top:106px; width:104px; height:13px; ">간호기록</caption>
  3327. <line id="line26" class="line_1" style="x1:455px; y1:121px; x2:936px; y2:121px; "/>
  3328. <button id="button7" class="btn2_letter2" navindex="-1" style="left:6px; top:400px; width:42px; height:19px; ">
  3329. <caption>추가</caption>
  3330. <script type="javascript" ev:event="DOMActivate">
  3331. <![CDATA[
  3332. fSetVital1("2");
  3333. ]]>
  3334. </script>
  3335. </button>
  3336. <button id="button8" class="btn2_letter2" navindex="-1" style="left:52px; top:400px; width:42px; height:19px; ">
  3337. <caption>삭제</caption>
  3338. <script type="javascript" ev:event="DOMActivate">
  3339. <![CDATA[
  3340. fDelVital1("2");
  3341. ]]>
  3342. </script>
  3343. </button>
  3344. <line id="line39" class="line_1" style="x1:0px; y1:394px; x2:451px; y2:394px; "/>
  3345. <button id="button17" class="icon_clock" navindex="-1" style="left:207px; top:128px; width:16px; height:16px; ">
  3346. <caption/>
  3347. <script type="javascript" ev:event="DOMActivate">
  3348. <![CDATA[
  3349. fSetToddtm("2", "start");
  3350. ]]>
  3351. </script>
  3352. </button>
  3353. <button id="button18" class="icon_clock" navindex="-1" style="left:434px; top:128px; width:16px; height:16px; ">
  3354. <caption/>
  3355. <script type="javascript" ev:event="DOMActivate">
  3356. <![CDATA[
  3357. fSetToddtm("2", "end");
  3358. ]]>
  3359. </script>
  3360. </button>
  3361. <input id="input17" ref="/root/main/bizlist/u2list/bcollkit2" navindex="41" appearance="input" style="left:104px; top:319px; width:348px; height:19px; "/>
  3362. <line id="line59" class="line_2" style="x1:105px; y1:316px; x2:452px; y2:316px; "/>
  3363. <line id="line60" class="line_2" style="x1:105px; y1:340px; x2:452px; y2:340px; "/>
  3364. <input id="input18" ref="/root/main/bizlist/u2list/bcollkit3" navindex="42" appearance="input" style="left:104px; top:343px; width:348px; height:19px; "/>
  3365. <datagrid id="grd_vital2" nodeset="/root/main/rec/vital1" caption="측정시간^혈압^혈압^맥박^호흡^체온^seq" colsep="^" colwidth="74, 46, 46, 46, 46, 46, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:103px; top:400px; width:348px; height:155px; ">
  3366. <col autonext="true" ref="insptm" type="inputbutton" format="hh:nn"/>
  3367. <col autonext="true" ref="bp1" type="input"/>
  3368. <col autonext="true" ref="bp2" type="input"/>
  3369. <col autonext="true" ref="pluse" type="input"/>
  3370. <col autonext="true" ref="breth" type="input"/>
  3371. <col autonext="true" ref="bdtp" type="input"/>
  3372. <col ref="seq"/>
  3373. <script type="javascript" ev:event="onbuttonclick">
  3374. <![CDATA[
  3375. fSetVitaltoTime("2", grd_vital2.row);
  3376. ]]>
  3377. </script>
  3378. </datagrid>
  3379. <select1 id="cmb_bu2" ref="/root/main/bizlist/u2list/seffccd" navindex="31" appearance="minimal" style="left:229px; top:199px; width:223px; height:19px; ">
  3380. <choices>
  3381. <item>
  3382. <label>혈관미주신경반응</label>
  3383. <value>1</value>
  3384. </item>
  3385. <item>
  3386. <label>피하출혈</label>
  3387. <value>2</value>
  3388. </item>
  3389. <item>
  3390. <label>구연산반응</label>
  3391. <value>3</value>
  3392. </item>
  3393. <item>
  3394. <label>접촉성피부염</label>
  3395. <value>4</value>
  3396. </item>
  3397. <item>
  3398. <label>혈전성정맥염(Thrombophlebitis)</label>
  3399. <value>5</value>
  3400. </item>
  3401. <item>
  3402. <label>과환기증후군</label>
  3403. <value>6</value>
  3404. </item>
  3405. <item>
  3406. <label>기타-free text 입력</label>
  3407. <value>7</value>
  3408. </item>
  3409. </choices>
  3410. <script type="javascript" ev:event="xforms-select">
  3411. <![CDATA[
  3412. fSetBuCombo("2");
  3413. ]]>
  3414. </script>
  3415. </select1>
  3416. <datagrid id="grd_nur2" nodeset="/root/main/rec/nurrec" class="datagrid_btype" caption="기록시간^기록자ID^기록자명^내용^seq" colsep="^" colwidth="80, 70, 70, 237, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:455px; top:126px; width:482px; height:429px; ">
  3417. <col autonext="true" ref="recdt" type="inputbutton" format="hh:nn"/>
  3418. <col autonext="true" ref="recrid" type="input"/>
  3419. <col autonext="true" ref="recrnm" type="input"/>
  3420. <col autonext="true" ref="reccnts" type="input"/>
  3421. <col ref="seq"/>
  3422. <script type="javascript" ev:event="onbuttonclick">
  3423. <![CDATA[
  3424. fSetNurtoTime("2", grd_nur2.row);
  3425. ]]>
  3426. </script>
  3427. <script type="javascript" ev:event="onkeypress">
  3428. <![CDATA[
  3429. if(grd_nur2.col = 2){
  3430. if(event.keyCode == "13"){
  3431. fGetNurNm();
  3432. }
  3433. }
  3434. ]]>
  3435. </script>
  3436. </datagrid>
  3437. <button id="button25" class="btn2_letter2" navindex="-1" style="left:848px; top:101px; width:42px; height:19px; ">
  3438. <caption>추가</caption>
  3439. <script type="javascript" ev:event="DOMActivate">
  3440. <![CDATA[
  3441. fSetNur1("2");
  3442. ]]>
  3443. </script>
  3444. </button>
  3445. <button id="button26" class="btn2_letter2" navindex="-1" style="left:894px; top:101px; width:42px; height:19px; ">
  3446. <caption>삭제</caption>
  3447. <script type="javascript" ev:event="DOMActivate">
  3448. <![CDATA[
  3449. fDelNur1("2");
  3450. ]]>
  3451. </script>
  3452. </button>
  3453. <select1 id="combo6" ref="/root/main/bizlist/u2list/fitnyn" disabled="true" navindex="36" appearance="minimal" style="left:139px; top:271px; width:86px; height:19px; ">
  3454. <choices>
  3455. <item>
  3456. <label>적합</label>
  3457. <value>Y</value>
  3458. </item>
  3459. <item>
  3460. <label>부적합</label>
  3461. <value>N</value>
  3462. </item>
  3463. </choices>
  3464. </select1>
  3465. </group>
  3466. <group id="grp_1" style="left:255px; top:180px; width:938px; height:560px; ">
  3467. <caption id="caption85" class="tit_2" style="left:460px; top:186px; width:104px; height:14px; ">간호기록</caption>
  3468. <line id="line3" class="line_2" style="x1:0px; y1:300px; x2:451px; y2:300px; "/>
  3469. <output id="ipt_dno_btype" ref="/root/main/bizlist/u1list/btype" class="output_fix" navindex="12" appearance="output" maxlength="24" style="left:103px; top:327px; width:120px; height:19px; "/>
  3470. <line id="line4" class="line_2" style="x1:0px; y1:348px; x2:451px; y2:348px; "/>
  3471. <input id="ipt_dno_stm" ref="/root/main/bizlist/u1list/bizstarttm" class="input_default" navindex="2" format="hh:nn" style="left:161px; top:207px; width:40px; height:19px; "/>
  3472. <line id="line6" class="line_1" style="x1:0px; y1:201px; x2:451px; y2:201px; "/>
  3473. <line id="line7" class="line_2" style="x1:0px; y1:228px; x2:451px; y2:228px; "/>
  3474. <input id="ipt_dno_vol" ref="/root/main/bizlist/u1list/donvol" class="input_default" navindex="13" imemode="alpha" style="left:331px; top:327px; width:120px; height:19px; "/>
  3475. <line id="line10" class="line_2" style="x1:0px; y1:252px; x2:451px; y2:252px; "/>
  3476. <datagrid id="grd_dnor_rslt" nodeset="/root/main/rsltview/rslt" caption="결과일자^Hb(g/㎗)/Hct(%)^WBC(10~9/L)^PLT(10~9/L)^SGOT^SGPT^혈액형^매독^B형감염항원^에이즈항체^C염간염항체^말라리아" colsep="^" colwidth="70, 105, 84, 80, 54, 54, 54, 60, 60, 60, 60, 60" dataheight="23" defaultrows="1" ellipsis="true" extendlastcol="scroll" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:101px; top:130px; width:836px; height:48px; ">
  3477. <col ref="rsltdd"/>
  3478. <col ref="rslt01"/>
  3479. <col ref="rslt02"/>
  3480. <col ref="rslt03"/>
  3481. <col ref="rslt04"/>
  3482. <col ref="rslt05"/>
  3483. <col ref="rslt06"/>
  3484. <col ref="rslt07"/>
  3485. <col ref="rslt08"/>
  3486. <col ref="rslt09"/>
  3487. <col ref="rslt10"/>
  3488. <col ref="rslt11"/>
  3489. </datagrid>
  3490. <line id="line11" class="line_2" style="x1:0px; y1:276px; x2:451px; y2:276px; "/>
  3491. <input id="ipt_dno_edd" ref="/root/main/bizlist/u1list/bizenddd" class="input_default" navindex="3" inputtype="date" style="left:301px; top:207px; width:85px; height:19px; "/>
  3492. <caption id="caption8" class="cell_1" style="left:228px; top:230px; width:100px; height:23px; vertical-align:middle; ">혈관확보</caption>
  3493. <caption id="caption16" class="cell_1" style="left:0px; top:278px; width:100px; height:23px; vertical-align:middle; ">부작용</caption>
  3494. <input id="ipt_dno_etm" ref="/root/main/bizlist/u1list/bizendtm" class="input_default" navindex="4" format="hh:nn" style="left:389px; top:207px; width:40px; height:19px; "/>
  3495. <caption id="caption17" class="cell_1" style="left:0px; top:254px; width:100px; height:23px; vertical-align:middle; ">항응고제 종류</caption>
  3496. <caption id="caption19" class="cell_1" style="left:228px; top:326px; width:100px; height:23px; vertical-align:middle; ">헌혈량</caption>
  3497. <input id="ipt_dno_no" ref="/root/hidden/brgstno/brgstno1" class="input_default" navindex="16" maxlength="10" style="left:331px; top:351px; width:25px; height:19px; "/>
  3498. <caption id="caption21" class="cell_1" style="left:228px; top:206px; width:70px; height:23px; vertical-align:middle; ">종료일시</caption>
  3499. <caption id="caption23" class="tit_2" style="left:5px; top:186px; width:104px; height:13px; ">업무내역등록</caption>
  3500. <caption id="caption25" class="cell_1" style="left:0px; top:326px; width:100px; height:23px; vertical-align:middle; ">혈액형</caption>
  3501. <caption id="caption29" class="cell_1" style="left:228px; top:254px; width:100px; height:23px; vertical-align:middle; ">항응고제 사용량</caption>
  3502. <caption id="caption30" class="cell_1" style="left:0px; top:206px; width:70px; height:23px; vertical-align:middle; ">시작일시</caption>
  3503. <caption id="caption51" class="cell_1" style="left:228px; top:350px; width:100px; height:23px; vertical-align:middle; ">헌혈증번호</caption>
  3504. <select1 id="cmb_dno_eqmt" ref="/root/main/bizlist/u1list/eqmtcd" class="combo_essential" navindex="5" appearance="minimal" style="left:103px; top:231px; width:120px; height:19px; ">
  3505. <choices>
  3506. <item>
  3507. <label>MCS-3P</label>
  3508. <value>1</value>
  3509. </item>
  3510. <item>
  3511. <label>MCS+</label>
  3512. <value>2</value>
  3513. </item>
  3514. <item>
  3515. <label>TRIMA</label>
  3516. <value>3</value>
  3517. </item>
  3518. <item>
  3519. <label>SPECTRA</label>
  3520. <value>4</value>
  3521. </item>
  3522. <item>
  3523. <label>혈액 믹서기</label>
  3524. <value>5</value>
  3525. </item>
  3526. </choices>
  3527. </select1>
  3528. <select1 id="rdo_dno_seffc" ref="/root/main/bizlist/u1list/seffcyn" navindex="9" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:105px; top:281px; width:105px; height:15px; border-style:none; ">
  3529. <choices>
  3530. <item>
  3531. <label>유</label>
  3532. <value>1</value>
  3533. </item>
  3534. <item>
  3535. <label>무</label>
  3536. <value>2</value>
  3537. </item>
  3538. </choices>
  3539. <script type="javascript" ev:event="xforms-value-changed">
  3540. <![CDATA[
  3541. fSetBuJakYongYN("1");
  3542. ]]>
  3543. </script>
  3544. </select1>
  3545. <select1 id="cmb_dno_acs" ref="/root/main/bizlist/u1list/antdkindcd" class="combo_essential" navindex="7" appearance="minimal" style="left:103px; top:255px; width:120px; height:19px; ">
  3546. <choices>
  3547. <item>
  3548. <label>ACD-A(㎖)</label>
  3549. <value>1</value>
  3550. </item>
  3551. <item>
  3552. <label>Heparin(u)</label>
  3553. <value>2</value>
  3554. </item>
  3555. <item>
  3556. <label>10PS5 + TSC</label>
  3557. <value>3</value>
  3558. </item>
  3559. <item>
  3560. <label>ACD-A+HPR</label>
  3561. <value>4</value>
  3562. </item>
  3563. </choices>
  3564. </select1>
  3565. <input id="ipt_dno_sdd" ref="/root/main/bizlist/u1list/bizstartdd" class="input_default" navindex="1" inputtype="date" appearance="input" style="left:73px; top:207px; width:85px; height:19px; "/>
  3566. <caption id="caption59" class="cell_1" style="left:0px; top:230px; width:100px; height:23px; vertical-align:middle; ">장비</caption>
  3567. <line id="line40" class="line_2" style="x1:0px; y1:324px; x2:451px; y2:324px; "/>
  3568. <select1 id="cmb_dno_vesl" ref="/root/main/bizlist/u1list/veslptnccd" class="combo_essential" navindex="6" appearance="minimal" style="left:331px; top:231px; width:120px; height:19px; ">
  3569. <choices>
  3570. <item>
  3571. <label>Peripheral Vein</label>
  3572. <value>1</value>
  3573. </item>
  3574. <item>
  3575. <label>Central Cath</label>
  3576. <value>2</value>
  3577. </item>
  3578. <item>
  3579. <label>Femoral Cath</label>
  3580. <value>3</value>
  3581. </item>
  3582. <item>
  3583. <label>Pheripheral + Central</label>
  3584. <value>4</value>
  3585. </item>
  3586. </choices>
  3587. </select1>
  3588. <input id="cmb_dno_acs_vol" ref="/root/main/bizlist/u1list/antduseqty" class="input_default" navindex="8" imemode="alpha" style="left:331px; top:255px; width:120px; height:19px; "/>
  3589. <datagrid id="grd_dnor" nodeset="/root/main/ptinfo/dnorinfo" caption="선택^검사일자^공여자명^주민번호^S/A^키^몸무게^혈액형^판정^헌혈일자^주소^연락처^dnorno^dnorseq" colsep="^" colwidth="40, 70, 70, 100, 45, 45, 50, 60, 60, 70, 80, 80, 0, 0" dataheight="23" defaultrows="1" ellipsis="true" extendlastcol="scroll" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:101px; top:6px; width:836px; height:117px; ">
  3590. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  3591. <col ref="prcpdd" format="yyyy-mm-dd"/>
  3592. <col ref="dnornm"/>
  3593. <col ref="rrgstno"/>
  3594. <col ref="sexage"/>
  3595. <col ref="bdht"/>
  3596. <col ref="bdwt"/>
  3597. <col ref="btype"/>
  3598. <col ref="panjung"/>
  3599. <col ref="rectdondd"/>
  3600. <col ref="homeaddr"/>
  3601. <col ref="hometel"/>
  3602. <col ref="dnorno"/>
  3603. <col ref="dnorseqno"/>
  3604. <script type="javascript" ev:event="onclick">
  3605. <![CDATA[
  3606. // 공여자선택
  3607. if(grd_dnor.isCell(event.target) && grd_dnor.row >= grd_dnor.fixedRows){
  3608. fDnorSelect("select", grd_dnor.row);
  3609. }
  3610. ]]>
  3611. </script>
  3612. </datagrid>
  3613. <input id="input1" ref="/root/main/bizlist/u1list/seffctretcnts" class="input_default" navindex="11" style="left:103px; top:303px; width:348px; height:19px; "/>
  3614. <caption id="caption5" class="cell_1" style="left:0px; top:302px; width:100px; height:23px; vertical-align:middle; ">부작용 처리사항</caption>
  3615. <line id="line5" class="line_2" style="x1:0px; y1:372px; x2:451px; y2:372px; "/>
  3616. <caption id="caption20" class="cell_1" style="left:0px; top:350px; width:100px; height:23px; vertical-align:middle; ">적합여부</caption>
  3617. <caption id="caption7" class="cell_1" style="left:0px; top:374px; width:100px; height:68px; vertical-align:middle; ">채혈 Kit</caption>
  3618. <line id="line17" class="line_3" style="x1:0px; y1:444px; x2:451px; y2:444px; "/>
  3619. <caption id="caption50" visibility="hidden" style="left:105px; top:185px; width:100px; height:15px; color:#0000ff; ">유형1 (숨길꺼)</caption>
  3620. <input id="textarea1" ref="/root/main/bizlist/u1list/bcollkit1" navindex="19" appearance="input" style="left:103px; top:375px; width:348px; height:67px; "/>
  3621. <output id="input2" ref="/root/main/bizlist/u1list/fitnyn" class="output_fix" navindex="14" appearance="output" maxlength="24" style="left:103px; top:351px; width:35px; height:19px; "/>
  3622. <input id="input3" ref="/root/hidden/brgstno/brgstno2" class="input_default" navindex="17" maxlength="10" style="left:367px; top:351px; width:25px; height:19px; "/>
  3623. <caption id="caption52" style="left:357px; top:353px; width:10px; height:15px; ">-</caption>
  3624. <caption id="caption53" style="left:393px; top:353px; width:10px; height:15px; ">-</caption>
  3625. <input id="input6" ref="/root/main/bizlist/u1list/brgstno" class="input_default" visibility="hidden" maxlength="10" style="left:460px; top:360px; width:95px; height:19px; "/>
  3626. <caption id="caption54" visibility="hidden" style="left:455px; top:345px; width:100px; height:20px; ">숨길 헌혈증번호</caption>
  3627. <input id="input7" ref="/root/main/brgstno/brgstnoseq" navindex="18" style="left:404px; top:351px; width:47px; height:19px; "/>
  3628. <caption id="caption58" class="cell_1" style="left:1px; top:6px; width:100px; height:117px; vertical-align:middle; ">공여자선택</caption>
  3629. <caption id="caption27" class="cell_1" style="left:1px; top:130px; width:100px; height:48px; text-align:center; vertical-align:middle; ">
  3630. <![CDATA[선택 공여자
  3631. 결과]]>
  3632. </caption>
  3633. <line id="line8" class="line_1" style="x1:0px; y1:1px; x2:937px; y2:1px; "/>
  3634. <line id="line9" class="line_1" style="x1:0px; y1:125px; x2:937px; y2:125px; "/>
  3635. <line id="line19" class="line_1" style="x1:0px; y1:444px; x2:451px; y2:444px; "/>
  3636. <caption id="caption31" class="cell_1" style="left:0px; top:449px; width:100px; height:106px; vertical-align:middle; ">Vital Sign</caption>
  3637. <line id="line20" class="line_1" style="x1:455px; y1:201px; x2:936px; y2:201px; "/>
  3638. <button id="button2" class="btn2_letter2" navindex="-1" style="left:6px; top:450px; width:42px; height:19px; ">
  3639. <caption>추가</caption>
  3640. <script type="javascript" ev:event="DOMActivate">
  3641. <![CDATA[
  3642. fSetVital1("1");
  3643. ]]>
  3644. </script>
  3645. </button>
  3646. <button id="button3" class="btn2_letter2" navindex="-1" style="left:52px; top:450px; width:42px; height:19px; ">
  3647. <caption>삭제</caption>
  3648. <script type="javascript" ev:event="DOMActivate">
  3649. <![CDATA[
  3650. fDelVital1("1");
  3651. ]]>
  3652. </script>
  3653. </button>
  3654. <button id="button129" class="icon_clock" navindex="-1" style="left:207px; top:208px; width:16px; height:16px; ">
  3655. <caption/>
  3656. <script type="javascript" ev:event="DOMActivate">
  3657. <![CDATA[
  3658. fSetToddtm("1", "start");
  3659. ]]>
  3660. </script>
  3661. </button>
  3662. <button id="button11" class="icon_clock" navindex="-1" style="left:433px; top:208px; width:16px; height:16px; ">
  3663. <caption/>
  3664. <script type="javascript" ev:event="DOMActivate">
  3665. <![CDATA[
  3666. fSetToddtm("1", "end");
  3667. ]]>
  3668. </script>
  3669. </button>
  3670. <line id="line61" class="line_2" style="x1:104px; y1:396px; x2:451px; y2:396px; "/>
  3671. <input id="input19" ref="/root/main/bizlist/u1list/bcollkit2" navindex="20" appearance="input" style="left:103px; top:399px; width:348px; height:19px; "/>
  3672. <input id="input21" ref="/root/main/bizlist/u1list/bcollkit3" navindex="21" appearance="input" style="left:103px; top:423px; width:348px; height:19px; "/>
  3673. <line id="line62" class="line_2" style="x1:104px; y1:420px; x2:451px; y2:420px; "/>
  3674. <datagrid id="grd_vital1" nodeset="/root/main/rec/vital1" caption="측정시간^혈압^혈압^맥박^호흡^체온^seq" colsep="^" colwidth="70, 46, 46, 46, 46, 46, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:103px; top:450px; width:348px; height:105px; ">
  3675. <col autonext="true" ref="insptm" type="inputbutton" format="hh:nn"/>
  3676. <col autonext="true" ref="bp1" type="input"/>
  3677. <col autonext="true" ref="bp2" type="input"/>
  3678. <col autonext="true" ref="pluse" type="input"/>
  3679. <col autonext="true" ref="breth" type="input"/>
  3680. <col autonext="true" ref="bdtp" type="input"/>
  3681. <col ref="seq"/>
  3682. <script type="javascript" ev:event="onbuttonclick">
  3683. <![CDATA[
  3684. fSetVitaltoTime("1", grd_vital1.row);
  3685. ]]>
  3686. </script>
  3687. </datagrid>
  3688. <select1 id="cmb_bu1" ref="/root/main/bizlist/u1list/seffccd" navindex="10" appearance="minimal" style="left:228px; top:279px; width:223px; height:19px; ">
  3689. <choices>
  3690. <item>
  3691. <label>혈관미주신경반응</label>
  3692. <value>1</value>
  3693. </item>
  3694. <item>
  3695. <label>피하출혈</label>
  3696. <value>2</value>
  3697. </item>
  3698. <item>
  3699. <label>구연산반응</label>
  3700. <value>3</value>
  3701. </item>
  3702. <item>
  3703. <label>접촉성피부염</label>
  3704. <value>4</value>
  3705. </item>
  3706. <item>
  3707. <label>혈전성정맥염(Thrombophlebitis)</label>
  3708. <value>5</value>
  3709. </item>
  3710. <item>
  3711. <label>과환기증후군</label>
  3712. <value>6</value>
  3713. </item>
  3714. <item>
  3715. <label>기타-free text 입력</label>
  3716. <value>7</value>
  3717. </item>
  3718. </choices>
  3719. <script type="javascript" ev:event="xforms-select">
  3720. <![CDATA[
  3721. fSetBuCombo("1");
  3722. ]]>
  3723. </script>
  3724. </select1>
  3725. <datagrid id="grd_nur1" nodeset="/root/main/rec/nurrec" class="datagrid_btype" caption="기록시간^기록자ID^기록자명^내용^seq" colsep="^" colwidth="80, 70, 70, 237, 0" dataheight="30" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:455px; top:206px; width:482px; height:349px; ">
  3726. <col autonext="true" ref="recdt" type="inputbutton" format="hh:nn"/>
  3727. <col autonext="true" ref="recrid" type="input"/>
  3728. <col autonext="true" ref="recrnm" type="input"/>
  3729. <col autonext="true" ref="reccnts" type="input"/>
  3730. <col ref="seq"/>
  3731. <script type="javascript" ev:event="onbuttonclick">
  3732. <![CDATA[
  3733. fSetNurtoTime("1", grd_nur1.row);
  3734. ]]>
  3735. </script>
  3736. <script type="javascript" ev:event="onkeypress">
  3737. <![CDATA[
  3738. if(grd_nur1.col = 2){
  3739. if(event.keyCode == "13"){
  3740. fGetNurNm();
  3741. }
  3742. }
  3743. ]]>
  3744. </script>
  3745. </datagrid>
  3746. <button id="button19" class="btn2_letter2" navindex="-1" style="left:848px; top:181px; width:42px; height:19px; ">
  3747. <caption>추가</caption>
  3748. <script type="javascript" ev:event="DOMActivate">
  3749. <![CDATA[
  3750. fSetNur1("1");
  3751. ]]>
  3752. </script>
  3753. </button>
  3754. <button id="button20" class="btn2_letter2" navindex="-1" style="left:894px; top:181px; width:42px; height:19px; ">
  3755. <caption>삭제</caption>
  3756. <script type="javascript" ev:event="DOMActivate">
  3757. <![CDATA[
  3758. fDelNur1("1");
  3759. ]]>
  3760. </script>
  3761. </button>
  3762. <select1 id="combo2" ref="/root/main/bizlist/u1list/fitnyn" disabled="true" navindex="15" appearance="minimal" style="left:137px; top:351px; width:86px; height:19px; ">
  3763. <choices>
  3764. <item>
  3765. <label>적합</label>
  3766. <value>Y</value>
  3767. </item>
  3768. <item>
  3769. <label>부적합</label>
  3770. <value>N</value>
  3771. </item>
  3772. </choices>
  3773. </select1>
  3774. <line id="line63" class="line_3" style="x1:0px; y1:177px; x2:937px; y2:177px; "/>
  3775. </group>
  3776. <group id="group2" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  3777. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
  3778. <caption id="caption2" class="search_name" style="left:16px; top:9px; width:92px; height:17px; ">등록번호 :</caption>
  3779. <button id="button1" class="btn1_letter2" navindex="-1" style="left:1123px; top:7px; width:56px; height:22px; ">
  3780. <caption>조회</caption>
  3781. <script type="javascript" ev:event="DOMActivate">
  3782. <![CDATA[
  3783. // 등록번호 조회
  3784. fGetPatInfo();
  3785. ]]>
  3786. </script>
  3787. </button>
  3788. <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
  3789. <input id="ipt_pid" ref="/root/hidden/pid" class="input_s_button" navindex="-1" inputtype="button" style="left:110px; top:8px; width:100px; height:19px; ">
  3790. <script type="javascript" ev:event="onbuttonclick">
  3791. <![CDATA[
  3792. // 등록번호 조회
  3793. //fGetPatInfo();
  3794. fGetPatInfo2("pid");
  3795. ]]>
  3796. </script>
  3797. <script type="javascript" ev:event="onkeypress">
  3798. <![CDATA[
  3799. fKeyEvent();
  3800. ]]>
  3801. </script>
  3802. </input>
  3803. <button id="button27" class="icon_search" navindex="-1" style="left:219px; top:9px; width:16px; height:16px; ">
  3804. <caption/>
  3805. <script type="javascript" ev:event="DOMActivate">
  3806. <![CDATA[
  3807. // 환자정보검색 팝업 띄우기
  3808. fGetPatInfoPopUp();
  3809. ]]>
  3810. </script>
  3811. </button>
  3812. <caption id="caption91" class="search_name" style="left:295px; top:9px; width:77px; height:17px; ">환자명 :</caption>
  3813. <caption id="caption92" class="search_name" style="left:475px; top:9px; width:98px; height:17px; ">성별/나이 :</caption>
  3814. <output id="output3" ref="/root/hidden/patnm" class="output_search" style="left:380px; top:8px; width:85px; height:19px; "/>
  3815. <output id="output4" ref="/root/hidden/sexage" class="output_search" style="left:575px; top:8px; width:85px; height:19px; "/>
  3816. </group>
  3817. <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:89px; height:13px; ">기록 조회</caption>
  3818. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:250px; y2:70px; "/>
  3819. <button id="button91" class="icon_search" navindex="-1" style="left:232px; top:78px; width:16px; height:16px; ">
  3820. <caption/>
  3821. <script type="javascript" ev:event="DOMActivate">
  3822. <![CDATA[
  3823. //기록조회
  3824. //fGetHistory("C");
  3825. fGetBizHistory();
  3826. ]]>
  3827. </script>
  3828. </button>
  3829. <caption id="caption3" class="tit_2" style="left:260px; top:55px; width:104px; height:14px; ">업무종류 선택</caption>
  3830. <line id="line14" class="line_1" style="x1:255px; y1:70px; x2:810px; y2:70px; "/>
  3831. <caption id="caption18" class="cell_1" style="left:0px; top:75px; width:100px; height:23px; vertical-align:middle; ">기록일자</caption>
  3832. <input id="ipt_recdd" ref="/root/hidden/histdd" class="input_essential" navindex="-1" inputtype="date" style="left:103px; top:77px; width:125px; height:19px; "/>
  3833. <line id="line18" class="line_3" style="x1:255px; y1:97px; x2:810px; y2:97px; "/>
  3834. <datagrid id="grd_pat" nodeset="/root/main/ptinfo/patinfo" caption="환자명^주민번호^S/A^진료형태^병실^진료과^주치의^키^몸무게^진단명^혈액형^orddeptcd" colsep="^" colwidth="80, 100, 50, 100, 60, 80, 80, 50, 50, 200, 67, 0" dataheight="23" defaultrows="1" ellipsis="true" extendlastcol="scroll" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:255px; top:124px; width:940px; height:48px; ">
  3835. <col ref="patnm"/>
  3836. <col ref="rrgstno"/>
  3837. <col ref="sexage"/>
  3838. <col ref="ord"/>
  3839. <col ref="wardroom"/>
  3840. <col ref="orddept"/>
  3841. <col ref="orddrnm"/>
  3842. <col ref="ht"/>
  3843. <col ref="kg"/>
  3844. <col ref="jindan"/>
  3845. <col ref="btype"/>
  3846. <col ref="orddeptcd"/>
  3847. </datagrid>
  3848. <caption id="caption4" class="tit_2" style="left:260px; top:104px; width:104px; height:13px; ">환자 정보</caption>
  3849. <line id="line2" class="line_1" style="x1:255px; y1:119px; x2:1195px; y2:119px; "/>
  3850. <select1 id="rdo_work" ref="/root/hidden/workgbn" navindex="-1" appearance="full" cellspacing="140" cols="3" overflow="visible" style="left:257px; top:78px; width:505px; height:15px; border-style:none; ">
  3851. <choices>
  3852. <item>
  3853. <label>헌혈</label>
  3854. <value>1</value>
  3855. </item>
  3856. <item>
  3857. <label>치료</label>
  3858. <value>2</value>
  3859. </item>
  3860. <item>
  3861. <label>BMT관련</label>
  3862. <value>3</value>
  3863. </item>
  3864. </choices>
  3865. <script type="javascript" ev:event="xforms-value-changed">
  3866. <![CDATA[
  3867. // 업무종류 선택
  3868. fSetWorkGbn();
  3869. ]]>
  3870. </script>
  3871. </select1>
  3872. <select1 id="cmb_don" ref="/root/hidden/dongbn" class="combo_search" navindex="-1" visibility="visible" appearance="minimal" style="left:315px; top:76px; width:100px; height:19px; ">
  3873. <choices>
  3874. <itemset nodeset="/root/init/LB0119">
  3875. <label ref="nm"/>
  3876. <value ref="etc01"/>
  3877. </itemset>
  3878. </choices>
  3879. <script type="javascript" ev:event="xforms-select">
  3880. <![CDATA[
  3881. // 업무유형 구분
  3882. fSetWorkUhung("don", "C");
  3883. ]]>
  3884. </script>
  3885. </select1>
  3886. <select1 id="cmb_care" ref="/root/hidden/caregbn" class="combo_search" navindex="-1" visibility="visible" appearance="minimal" style="left:500px; top:76px; width:100px; height:19px; ">
  3887. <choices>
  3888. <itemset nodeset="/root/init/LB0119">
  3889. <label ref="nm"/>
  3890. <value ref="etc01"/>
  3891. </itemset>
  3892. </choices>
  3893. <script type="javascript" ev:event="xforms-select">
  3894. <![CDATA[
  3895. // 업무유형 구분
  3896. fSetWorkUhung("care", "C");
  3897. ]]>
  3898. </script>
  3899. </select1>
  3900. <select1 id="cmb_bmt" ref="/root/hidden/bmtgbn" class="combo_search" navindex="-1" visibility="visible" appearance="minimal" style="left:710px; top:76px; width:100px; height:19px; ">
  3901. <choices>
  3902. <itemset nodeset="/root/init/LB0119">
  3903. <label ref="nm"/>
  3904. <value ref="etc01"/>
  3905. </itemset>
  3906. </choices>
  3907. <script type="javascript" ev:event="xforms-select">
  3908. <![CDATA[
  3909. // 업무유형 구분
  3910. fSetWorkUhung("bmt", "C");
  3911. ]]>
  3912. </script>
  3913. </select1>
  3914. <object id="CommAX" clsid="{35cc9cfa-e6f8-4b22-b6d2-fe7cd108f943}" visibility="hidden" style="left:1040px; top:20px; width:55px; height:35px; border-color:#99ccff; border-style:solid; "/>
  3915. <datagrid id="datagrid2" nodeset="/root/main/ptinfo/history" caption="수행일자^수행시간^recrid^기록자^유형^인증유무^caption1^signno" colsep="^" colwidth="74, 52, 0, 55, 50, 36, 0, 0" dataheight="23" ellipsis="true" extendlastcol="scroll" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:100px; width:250px; height:636px; text-align:center; ">
  3916. <col ref="execdd" format="yyyy-mm-dd" style="text-align:center; "/>
  3917. <col ref="exectm" format="hh:nn:ss" style="text-align:center; "/>
  3918. <col ref="recrid"/>
  3919. <col ref="usernm"/>
  3920. <col ref="kind"/>
  3921. <col ref="hist"/>
  3922. <col ref="dnorno"/>
  3923. <col ref="signno"/>
  3924. <script type="javascript" ev:event="onclick">
  3925. <![CDATA[
  3926. // 기록 업무 조회
  3927. if(datagrid2.isCell(event.target) && datagrid2.row >= datagrid2.fixedRows){
  3928. //fGetHistBiz("C");
  3929. fGetBizPatInfo();
  3930. // 업무종류선택 변경
  3931. fSetBizKindSelect();
  3932. }
  3933. ]]>
  3934. </script>
  3935. </datagrid>
  3936. <button id="button10" class="btn2_letter4" navindex="-1" style="left:119px; top:50px; width:64px; height:19px; ">
  3937. <caption>상세보기</caption>
  3938. <script type="javascript" ev:event="DOMActivate">
  3939. <![CDATA[
  3940. datagrid2.attribute("width") = 365;
  3941. datagrid2.colWidth(1) = "80";
  3942. datagrid2.colWidth(2) = "60";
  3943. datagrid2.colWidth(3) = "0";
  3944. datagrid2.colWidth(4) = "70";
  3945. datagrid2.colWidth(5) = "60";
  3946. datagrid2.colWidth(6) = "70";
  3947. datagrid2.colWidth(7) = "0";
  3948. //colwidth="68, 44, 0, 50, 44, 36, 0"
  3949. ]]>
  3950. </script>
  3951. </button>
  3952. <button id="button14" class="btn2_letter4" navindex="-1" style="left:186px; top:50px; width:64px; height:19px; ">
  3953. <caption>상세닫기</caption>
  3954. <script type="javascript" ev:event="DOMActivate">
  3955. <![CDATA[
  3956. datagrid2.attribute("width") = 250;
  3957. datagrid2.colWidth(1) = "70";
  3958. datagrid2.colWidth(2) = "44";
  3959. datagrid2.colWidth(3) = "0";
  3960. datagrid2.colWidth(4) = "50";
  3961. datagrid2.colWidth(5) = "44";
  3962. datagrid2.colWidth(6) = "36";
  3963. datagrid2.colWidth(7) = "0";
  3964. //colwidth="68, 44, 0, 50, 44, 36, 0"
  3965. ]]>
  3966. </script>
  3967. </button>
  3968. </group>
  3969. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; "/>
  3970. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  3971. <button id="button5" class="btn4_letter3" navindex="-1" style="left:1127px; top:3px; width:68px; height:22px; ">
  3972. <caption>초기화</caption>
  3973. <script type="javascript" ev:event="DOMActivate">
  3974. <![CDATA[
  3975. fSetInit("btn");
  3976. ]]>
  3977. </script>
  3978. </button>
  3979. <line id="line15" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  3980. <button id="button15" class="btn4_letter2" navindex="-1" visibility="hidden" style="left:790px; top:5px; width:56px; height:22px; ">
  3981. <caption>수정</caption>
  3982. <script type="javascript" ev:event="onclick">
  3983. <![CDATA[
  3984. if(fNullCheck()=="true"){
  3985. fInsWorkList("U", "");
  3986. }
  3987. ]]>
  3988. </script>
  3989. </button>
  3990. <button id="button16" class="btn4_letter2" navindex="-1" visibility="hidden" style="left:845px; top:5px; width:56px; height:22px; ">
  3991. <caption>삭제</caption>
  3992. <script type="javascript" ev:event="onclick">
  3993. <![CDATA[
  3994. if(fNullCheck()=="true"){
  3995. fInsWorkList("D", "");
  3996. }
  3997. ]]>
  3998. </script>
  3999. </button>
  4000. <button id="button9" class="btn3_letter6" navindex="-1" style="left:95px; top:3px; width:104px; height:22px; ">
  4001. <caption>혈액라벨출력</caption>
  4002. <script type="javascript" ev:event="DOMActivate">
  4003. <![CDATA[
  4004. fExeBlodBarcdPrint();
  4005. ]]>
  4006. </script>
  4007. </button>
  4008. <button id="btn_prnt" class="btn3_letter5" navindex="-1" style="left:0px; top:3px; width:92px; height:22px; ">
  4009. <caption>프린터설정</caption>
  4010. <script type="javascript" ev:event="DOMActivate">
  4011. <![CDATA[
  4012. // 프린터 설정
  4013. fSetPrint();
  4014. ]]>
  4015. </script>
  4016. </button>
  4017. <button id="btn_ij" class="btn4_letter4" navindex="-1" style="left:1044px; top:3px; width:80px; height:22px; ">
  4018. <caption>인증저장</caption>
  4019. <script type="javascript" ev:event="onclick">
  4020. <![CDATA[
  4021. if(fNullCheck()=="true"){
  4022. fInsWorkList("I", "X");
  4023. //fExeSignSave();
  4024. }
  4025. ]]>
  4026. </script>
  4027. </button>
  4028. <button id="btn_save" class="btn4_letter2" navindex="-1" style="left:985px; top:3px; width:56px; height:22px; ">
  4029. <caption>저장</caption>
  4030. <script type="javascript" ev:event="onclick">
  4031. <![CDATA[
  4032. if(fNullCheck()=="true"){
  4033. fInsWorkList("I", "");
  4034. }
  4035. ]]>
  4036. </script>
  4037. </button>
  4038. </group>
  4039. <group id="group5" navindex="-1" style="left:0px; top:0px; width:1195px; height:13px; ">
  4040. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">업무내역등록</caption>
  4041. </group>
  4042. </xhtml:body>
  4043. </xhtml:html>