SMMRD01400_퇴원분석관리.xrw 122 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>퇴원분석</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <dschanalyhist>
  11. <dschanalyinfo>
  12. <status/>
  13. <pid/>
  14. <hngnm/>
  15. <forgeryn/>
  16. <rrgstno1/>
  17. <rrgstno2/>
  18. <age/>
  19. <sexflag/>
  20. <btype/>
  21. <rh/>
  22. <dschdd/>
  23. <inrmdd/>
  24. <indd/>
  25. <totinhospdayno/>
  26. <opbfinhospdayno/>
  27. <indg/>
  28. <lastdschyy/>
  29. <relign/>
  30. <religncd/>
  31. <marystat/>
  32. <marystatcd/>
  33. <job/>
  34. <jobcd/>
  35. <jobnm/>
  36. <zipcd1/>
  37. <zipcd2/>
  38. <addr/>
  39. <detladdr/>
  40. <telno/>
  41. <mpphontel/>
  42. <indept/>
  43. <indeptcd/>
  44. <indrid/>
  45. <indrnm/>
  46. <inapprtcdrid/>
  47. <inapprtcdrnm/>
  48. <inwardcd/>
  49. <inwardnm/>
  50. <inroomcd/>
  51. <specordyn/>
  52. <insukindcd/>
  53. <insukind/>
  54. <dschdept/>
  55. <dschdeptcd/>
  56. <dschdrid/>
  57. <dschdrnm/>
  58. <dschapprtcdrid/>
  59. <dschapprtcdrnm/>
  60. <dschwardcd/>
  61. <dschwardnm/>
  62. <dschroomcd/>
  63. <clsdeptinfo/>
  64. <clsdeptinfocd/>
  65. <cptrgtyncd/>
  66. <cptrgtyn/>
  67. <curerslt/>
  68. <curersltcd/>
  69. <dschtype/>
  70. <dschtypecd/>
  71. <chosprog/>
  72. <chosprogcd/>
  73. <inpath/>
  74. <inpathcd/>
  75. <erchosdt/>
  76. <erstaytm/>
  77. <dethtype/>
  78. <dethtypecd/>
  79. <opdethtype/>
  80. <opdethtypecd/>
  81. <reinresn/>
  82. <reinresncd/>
  83. <reinyncd/>
  84. <reinyn/>
  85. <reopresn/>
  86. <reopresncd/>
  87. <wundcascls/>
  88. <wundcasclscd/>
  89. <infccas/>
  90. <infccascd/>
  91. <infcpart/>
  92. <infcpartcd/>
  93. <cncrrgstyncd/>
  94. <cncrrgstyn/>
  95. <infdisyncd/>
  96. <infdisyn/>
  97. <cmpl/>
  98. <cmplcd/>
  99. <spcscnt/>
  100. <spcnscnt/>
  101. <spctotcnt/>
  102. <gnrlanstcnt/>
  103. <prtanstcnt/>
  104. <tpclanstcnt/>
  105. <cretno/>
  106. <lastupdtrid/>
  107. <lastupdtrnm/>
  108. <lastupdtdt/>
  109. <disposstatcd/>
  110. <unprepstatcd/>
  111. <indxinfo/>
  112. <orgindd/>
  113. <orgdschdd/>
  114. </dschanalyinfo>
  115. <oplist>
  116. <seqno/>
  117. <opdd/>
  118. <opdeptcd/>
  119. <perfdrnm/>
  120. <anstmthdcd1/>
  121. <anstmthdcd2/>
  122. <anstmthdcd3/>
  123. <opreqflag/>
  124. <lastmainopyn/>
  125. <opscaleflag/>
  126. <opfromtm/>
  127. <optotm/>
  128. <edicd/>
  129. <opcd/>
  130. <pid/>
  131. <dschdd/>
  132. <perfdrid/>
  133. <dsopno/>
  134. <preanstmthdinfo/>
  135. </oplist>
  136. <chngdeptlist>
  137. <chngdeptdd/>
  138. <chngdeptcd/>
  139. <chngdeptdrnm/>
  140. <chngroomcd/>
  141. <chngdeptdayno/>
  142. <chngdeptmaindiagcd/>
  143. <chngdeptmaindiagnm/>
  144. <pid/>
  145. <dschdd/>
  146. <dscdno/>
  147. <chngdeptdrid/>
  148. </chngdeptlist>
  149. <iculist>
  150. <icucd/>
  151. <orddeptcd/>
  152. <inhospdayno/>
  153. <totinhospdayno/>
  154. <inrmdd/>
  155. <outrmdd/>
  156. <dethyn/>
  157. <reinyn/>
  158. <pid/>
  159. <dschdd/>
  160. <dsicuno/>
  161. </iculist>
  162. <cnstlist>
  163. <reqdeptcd/>
  164. <reqdrnm/>
  165. <reqdd/>
  166. <execdeptcd/>
  167. <execdrnm/>
  168. <execdd/>
  169. <diagcd/>
  170. <diagnm/>
  171. <pid/>
  172. <dschdd/>
  173. <dscnstno/>
  174. <reqdrid/>
  175. <execdrid/>
  176. </cnstlist>
  177. <wnmblist>
  178. <womntypecd/>
  179. <partrtnrsltcnt/>
  180. <partrtndd/>
  181. <stlborncnt/>
  182. <womnid/>
  183. <partrtneprccd/>
  184. <nbabyid/>
  185. <partrtnkindcd/>
  186. <prgweekcnt/>
  187. <prgdayno/>
  188. <brthtypecd/>
  189. <nbabybdwtqty/>
  190. <pid/>
  191. <dschdd/>
  192. <dswmno/>
  193. <dsnbno/>
  194. </wnmblist>
  195. <infdislist>
  196. <seqno/>
  197. <infdiscd/>
  198. <infdisnm/>
  199. <infdisflag/>
  200. <pid/>
  201. <dschdd/>
  202. <dsldno/>
  203. </infdislist>
  204. <indxlist>
  205. <status/>
  206. <pkicd/>
  207. <dsqino/>
  208. <pid/>
  209. <dschdd/>
  210. </indxlist>
  211. <icutotlist/>
  212. </dschanalyhist>
  213. <cond>
  214. <statcnts/>
  215. <addr/>
  216. <seqno/>
  217. </cond>
  218. </main>
  219. <hidden>
  220. </hidden>
  221. <send/>
  222. <init>
  223. <jobList>
  224. <M0149>
  225. <cdid/>
  226. <cdnm/>
  227. </M0149>
  228. </jobList>
  229. <relignList>
  230. <M0070>
  231. <cdid/>
  232. <cdnm/>
  233. </M0070>
  234. </relignList>
  235. <maryStatList>
  236. <M0151>
  237. <cdid/>
  238. <cdnm/>
  239. </M0151>
  240. </maryStatList>
  241. <inPathList>
  242. <M0153>
  243. <cdid/>
  244. <cdnm/>
  245. </M0153>
  246. </inPathList>
  247. <dethTypeList>
  248. <M0155>
  249. <cdid/>
  250. <cdnm/>
  251. </M0155>
  252. </dethTypeList>
  253. <opDethTypeList>
  254. <M0413>
  255. <cdid/>
  256. <cdnm/>
  257. </M0413>
  258. </opDethTypeList>
  259. <cureRsltList>
  260. <M0152>
  261. <cdid/>
  262. <cdnm/>
  263. </M0152>
  264. </cureRsltList>
  265. <DschTypeList>
  266. <M0157>
  267. <cdid/>
  268. <cdnm/>
  269. </M0157>
  270. </DschTypeList>
  271. <chosProgList>
  272. <M0156>
  273. <cdid/>
  274. <cdnm/>
  275. </M0156>
  276. </chosProgList>
  277. <reInResnList>
  278. <M0158>
  279. <cdid/>
  280. <cdnm/>
  281. </M0158>
  282. </reInResnList>
  283. <reOpResnList>
  284. <M0159>
  285. <cdid/>
  286. <cdnm/>
  287. </M0159>
  288. </reOpResnList>
  289. <partrtntypeList>
  290. <M0086>
  291. <cdid/>
  292. <cdnm/>
  293. </M0086>
  294. </partrtntypeList>
  295. <brthtypeList>
  296. <M0167>
  297. <cdid/>
  298. <cdnm/>
  299. </M0167>
  300. </brthtypeList>
  301. <womntypeList>
  302. <M0165>
  303. <cdid/>
  304. <cdnm/>
  305. </M0165>
  306. </womntypeList>
  307. <optypeList>
  308. <M0013>
  309. <cdid/>
  310. <cdnm/>
  311. </M0013>
  312. </optypeList>
  313. <mskindList>
  314. <P0006>
  315. <cdnm/>
  316. <cdid/>
  317. </P0006>
  318. </mskindList>
  319. <insukindList>
  320. <P0008>
  321. <cdnm/>
  322. <cdid/>
  323. </P0008>
  324. </insukindList>
  325. <infdisflaglist>
  326. <A0130>
  327. <cdnm/>
  328. <cdid/>
  329. </A0130>
  330. </infdisflaglist>
  331. <infccaselist>
  332. <M0484>
  333. <cdnm/>
  334. <cdid/>
  335. </M0484>
  336. </infccaselist>
  337. <infdcpartinfo>
  338. <infdcpartlist>
  339. <cdnm/>
  340. <cdid/>
  341. </infdcpartlist>
  342. </infdcpartinfo>
  343. <cmpllist>
  344. <M0414>
  345. <cdnm/>
  346. <cdid/>
  347. </M0414>
  348. </cmpllist>
  349. <wundcasclslist>
  350. <M0415>
  351. <cdnm/>
  352. <cdid/>
  353. </M0415>
  354. </wundcasclslist>
  355. <disposstatlist>
  356. <M0416>
  357. <cdnm/>
  358. <cdid/>
  359. </M0416>
  360. </disposstatlist>
  361. <unprepstatlist>
  362. <M0417>
  363. <cdnm/>
  364. <cdid/>
  365. </M0417>
  366. </unprepstatlist>
  367. <useynlist>
  368. <yn>
  369. <cd/>
  370. <nm/>
  371. </yn>
  372. <yn>
  373. <cd>01</cd>
  374. <nm>Y</nm>
  375. </yn>
  376. <yn>
  377. <cd>02</cd>
  378. <nm>N</nm>
  379. </yn>
  380. </useynlist>
  381. <anstmthdList>
  382. <anstmthd>
  383. <cdnm/>
  384. <cdid/>
  385. </anstmthd>
  386. <anstmthd>
  387. <cdnm>전신</cdnm>
  388. <cdid>G</cdid>
  389. </anstmthd>
  390. <anstmthd>
  391. <cdnm>부위</cdnm>
  392. <cdid>P</cdid>
  393. </anstmthd>
  394. <anstmthd>
  395. <cdnm>국소</cdnm>
  396. <cdid>S</cdid>
  397. </anstmthd>
  398. <anstmthd>
  399. <cdnm>기타</cdnm>
  400. <cdid>E</cdid>
  401. </anstmthd>
  402. </anstmthdList>
  403. <indeptlist/>
  404. <indrlist>
  405. <indr/>
  406. </indrlist>
  407. <inapprtcdrlist/>
  408. <dschdrlist/>
  409. <dschapprtcdrlist/>
  410. <wardlist/>
  411. <inroomlist/>
  412. <dschroomlist/>
  413. <cptrgtlist>
  414. <cptrgt>
  415. <cdid>Y</cdid>
  416. <cdnm>Y</cdnm>
  417. </cptrgt>
  418. <cptrgt>
  419. <cdid>N</cdid>
  420. <cdnm>N</cdnm>
  421. </cptrgt>
  422. <cptrgt>
  423. <cdid>D</cdid>
  424. <cdnm>DROP</cdnm>
  425. </cptrgt>
  426. </cptrgtlist>
  427. <icudeptlist>
  428. <icudept>
  429. <deptcd/>
  430. <deptnm/>
  431. </icudept>
  432. </icudeptlist>
  433. <indxlist>
  434. <indx>
  435. <indxcd>01</indxcd>
  436. <indxnm>수술전후진단불일치</indxnm>
  437. </indx>
  438. </indxlist>
  439. <dschdeptlist/>
  440. <deptlist/>
  441. <stndeptlist/>
  442. <checknum>
  443. <value>true</value>
  444. </checknum>
  445. </init>
  446. <temp>
  447. <patinfo>
  448. <dschddlist/>
  449. <patbaseinfo/>
  450. <chgdschddlist/>
  451. </patinfo>
  452. <dschanalyhist/>
  453. <userinfo>
  454. <userid/>
  455. <usernm/>
  456. <deptcd/>
  457. <instcd/>
  458. </userinfo>
  459. <initlist/>
  460. <wardinfo/>
  461. <stndeptlist/>
  462. </temp>
  463. <hidden>
  464. <infdcpartinfo>
  465. <infdcpartlist/>
  466. </infdcpartinfo>
  467. </hidden>
  468. </root>
  469. </instance>
  470. <script type="javascript" ev:event="xforms-ready">
  471. <![CDATA[
  472. fInitialize();
  473. ]]>
  474. </script>
  475. <script type="javascript">
  476. <![CDATA[
  477. ]]>
  478. </script>
  479. <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/patinfo"/>
  480. <submission id="TRMRD00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/patinfo"/>
  481. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  482. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  483. <submission id="TRMRD00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/dschanalyhist"/>
  484. <submission id="TRMRD00403" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  485. <submission id="TXMRD00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/dschanalyhist"/>
  486. <submission id="TRMRD00404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/initlist"/>
  487. <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  488. <submission id="TRMRD00405" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/stndeptlist"/>
  489. </model>
  490. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  491. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  492. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  493. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  494. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  495. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  496. <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
  497. <script type="javascript" src="../../../emr/dschanalyweb/js/SMMRD00400.js"/>
  498. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  499. </xhtml:head>
  500. <xhtml:body guideline="1,1195;2,752;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  501. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:106px; height:14px; ">퇴원분석</caption>
  502. <caption id="caption22" class="tit_2" style="left:5px; top:145px; width:104px; height:14px; ">퇴원분석정보</caption>
  503. <caption id="caption23" class="cell_1" style="left:219px; top:165px; width:90px; height:23px; vertical-align:middle; ">퇴원과</caption>
  504. <caption id="caption26" class="cell_1" style="left:0px; top:217px; width:90px; height:23px; vertical-align:middle; ">입원담당의</caption>
  505. <line id="line7" class="line_1" style="x1:0px; y1:160px; x2:1194px; y2:160px; "/>
  506. <line id="line9" class="line_2" style="x1:0px; y1:240px; x2:1194px; y2:240px; "/>
  507. <line id="line8" class="line_2" style="x1:0px; y1:188px; x2:1194px; y2:188px; "/>
  508. <caption id="caption7" class="cell_1" style="left:219px; top:191px; width:90px; height:23px; vertical-align:middle; ">퇴원주치의</caption>
  509. <caption id="caption8" class="cell_1" style="left:219px; top:243px; width:90px; height:23px; vertical-align:middle; ">퇴원병동/병실</caption>
  510. <caption id="caption12" class="cell_1" style="left:0px; top:165px; width:90px; height:23px; vertical-align:middle; ">입원과</caption>
  511. <caption id="caption13" class="cell_1" style="left:0px; top:191px; width:90px; height:23px; vertical-align:middle; ">입원주치의</caption>
  512. <caption id="caption14" class="cell_1" style="left:0px; top:243px; width:90px; height:23px; vertical-align:middle; ">입원병동/병실</caption>
  513. <line id="line2" class="line_2" style="x1:0px; y1:214px; x2:1194px; y2:214px; "/>
  514. <caption id="caption16" class="cell_1" style="left:442px; top:165px; width:95px; height:23px; vertical-align:middle; ">치료결과</caption>
  515. <line id="line3" class="line_2" style="x1:0px; y1:266px; x2:1194px; y2:266px; "/>
  516. <caption id="caption17" class="cell_1" style="left:442px; top:243px; width:95px; height:23px; vertical-align:middle; ">입원경로</caption>
  517. <caption id="caption18" class="cell_1" style="left:687px; top:165px; width:100px; height:23px; vertical-align:middle; ">사망형태</caption>
  518. <input id="ipt_dschtype" ref="/root/main/dschanalyhist/dschanalyinfo/dschtype" class="input_search" navindex="50" style="left:541px; top:193px; width:30px; height:19px; ">
  519. <script type="javascript" ev:event="onkeydown">
  520. <![CDATA[
  521. if(event.keyCode == 13){
  522. var sDschType =ipt_dschtype.currentText;
  523. if(sDschType == "") return;
  524. if(sDschType.length == 1){
  525. sDschType = "0"+ sDschType;
  526. }
  527. if(model.getValue("/root/init/DschTypeList/M0157[cdid='"+sDschType+"']/cdnm") == ""){
  528. model.setValue(xDschAnalyListPath+"/dschtype",model.getValue(xDschAnalyListPath+"/dschtypecd"));
  529. ipt_dschtype.refresh();
  530. }else{
  531. model.setValue(xDschAnalyListPath+"/dschtypecd",sDschType);
  532. model.setValue(xDschAnalyListPath+"/dschtype",sDschType);
  533. cmb_dschtypecd.refresh();
  534. ipt_dschtype.refresh();
  535. }
  536. }
  537. ]]>
  538. </script>
  539. </input>
  540. <caption id="caption19" class="cell_1" style="left:442px; top:217px; width:95px; height:23px; vertical-align:middle; ">내원경위</caption>
  541. <caption id="caption20" class="cell_1" style="left:442px; top:191px; width:95px; height:23px; vertical-align:middle; ">퇴원형태</caption>
  542. <caption id="caption24" class="cell_1" style="left:442px; top:294px; width:95px; height:23px; vertical-align:middle; ">ER체류시간</caption>
  543. <caption id="caption25" class="cell_1" style="left:687px; top:217px; width:100px; height:23px; vertical-align:middle; ">재입원(Unplan)</caption>
  544. <caption id="caption31" class="cell_1" style="left:687px; top:269px; width:100px; height:23px; vertical-align:middle; ">재수술(Unplan)</caption>
  545. <caption id="caption32" class="cell_1" style="left:687px; top:243px; width:100px; height:23px; vertical-align:middle; ">재입원(Plan)</caption>
  546. <caption id="caption34" class="cell_1" style="left:442px; top:269px; width:95px; height:23px; vertical-align:middle; ">ER내원일시</caption>
  547. <caption id="caption27" class="cell_1" style="left:219px; top:295px; width:90px; height:23px; vertical-align:middle; ">CP대상여부</caption>
  548. <caption id="caption21" class="cell_1" style="left:219px; top:217px; width:90px; height:23px; vertical-align:middle; ">퇴원담당의</caption>
  549. <caption id="caption39" class="cell_1" style="left:938px; top:294px; width:100px; height:23px; vertical-align:middle; ">생검(S/NS)</caption>
  550. <caption id="caption40" class="cell_1" style="left:937px; top:165px; width:100px; height:23px; vertical-align:middle; ">감염종류1</caption>
  551. <caption id="caption36" class="tit_2" style="left:5px; top:20px; width:82px; height:13px; ">환자정보</caption>
  552. <line id="line5" class="line_2" style="x1:0px; y1:89px; x2:1194px; y2:89px; "/>
  553. <caption id="caption42" class="cell_1" style="left:0px; top:114px; width:58px; height:23px; vertical-align:middle; ">나이</caption>
  554. <caption id="caption44" class="cell_1" style="left:0px; top:90px; width:59px; height:23px; vertical-align:middle; ">주민번호</caption>
  555. <caption id="caption48" class="cell_1" style="left:0px; top:65px; width:60px; height:23px; vertical-align:middle; ">환자명</caption>
  556. <line id="line10" class="line_1" style="x1:0px; y1:35px; x2:1194px; y2:35px; "/>
  557. <line id="line12" class="line_2" style="x1:0px; y1:64px; x2:1194px; y2:64px; "/>
  558. <button id="btn_popupindex" class="btn3_letter8" navindex="105" style="left:861px; top:11px; width:128px; height:22px; ">
  559. <caption>질병 및 수술분류</caption>
  560. <script type="javascript" ev:event="DOMActivate">
  561. <![CDATA[
  562. var dschdd = model.getValue(xDschAnalyListPath+"/dschdd");
  563. if(dschdd == ""){
  564. messageBox("환자의 퇴원일자가 선택되지", "E007");
  565. return;
  566. }
  567. setParameter("SMMRD00400_pid", model.getValue(xDschAnalyListPath+"/pid"));
  568. setParameter("SMMRD00400_indd", model.getValue(xDschAnalyListPath+"/indd"));
  569. setParameter("SMMRD00400_cretno", model.getValue(xDschAnalyListPath+"/cretno"));
  570. setParameter("SMMRD00400_dschdd", model.getValue(xDschAnalyListPath+"/dschdd"));
  571. open("SMMRD00700");
  572. ]]>
  573. </script>
  574. </button>
  575. <button id="btn_x_save" class="btn4_letter2" navindex="108" style="left:1137px; top:11px; width:56px; height:22px; ">
  576. <caption>저장</caption>
  577. <script type="javascript" ev:event="DOMActivate">
  578. <![CDATA[
  579. fSave();
  580. ]]>
  581. </script>
  582. </button>
  583. <button id="button24" class="btn3_letter3" navindex="104" style="left:793px; top:11px; width:68px; height:22px; ">
  584. <caption>암등록</caption>
  585. <script type="javascript" ev:event="DOMActivate">
  586. <![CDATA[
  587. var dschdd = model.getValue(xDschAnalyListPath+"/dschdd");
  588. if(dschdd == ""){
  589. messageBox("환자의 퇴원일자가 선택되지", "E007");
  590. return;
  591. }
  592. setParameter("SMMRD00100_pid", model.getValue(xDschAnalyListPath+"/pid"));
  593. setParameter("SMMRD00100_dschdd", model.getValue(xDschAnalyListPath+"/dschdd"));
  594. open("SMMRD00100");
  595. ]]>
  596. </script>
  597. </button>
  598. <button id="button14" class="btn3_letter4" navindex="106" style="left:989px; top:11px; width:80px; height:22px; ">
  599. <caption>미비관리</caption>
  600. <script type="javascript" ev:event="DOMActivate">
  601. <![CDATA[
  602. var sDschDD = model.getValue(xDschAnalyListPath+"/orgdschdd");
  603. if(sDschDD == ""){
  604. messageBox("환자의 퇴원일자가 선택되지", "E007");
  605. return;
  606. }
  607. setParameter("SMMRI01700_Param", "");
  608. var sPid = model.getValue(xDschAnalyListPath+"/pid");
  609. var sInDD = model.getValue(xDschAnalyListPath+"/indd");
  610. var sDschDeptCD = model.getValue(xDschAnalyListPath+"/dschdeptcd");
  611. var sDschDrID = model.getValue(xDschAnalyListPath+"/dschdrid");
  612. sParamMsg = "pid▦orddd▦dschdd▦orddeptcd▦orddrid▦ordtype▩"+
  613. sPid +"▦"+sInDD+"▦"+sDschDD+"▦"+sDschDeptCD+"▦"+sDschDrID+"▦I▩";
  614. setParameter("SMMRI01700_Param", sParamMsg);
  615. open("SMMRI01700");
  616. ]]>
  617. </script>
  618. </button>
  619. <caption id="caption51" class="cell_1" style="left:192px; top:65px; width:48px; height:23px; vertical-align:middle; ">외국인</caption>
  620. <caption id="caption47" class="cell_1" style="left:327px; top:65px; width:95px; height:23px; vertical-align:middle; ">입원일자</caption>
  621. <caption id="caption53" class="cell_1" style="left:327px; top:90px; width:95px; height:23px; vertical-align:middle; ">재원일수</caption>
  622. <caption id="caption33" class="cell_1" style="left:520px; top:114px; width:62px; height:23px; vertical-align:middle; ">직업</caption>
  623. <caption id="caption54" class="cell_1" visibility="hidden" style="left:192px; top:114px; width:47px; height:23px; vertical-align:middle; ">혈액형</caption>
  624. <input id="ipt_pid" ref="/root/main/dschanalyhist/dschanalyinfo/pid" class="input_search" navindex="1" style="left:63px; top:42px; width:125px; height:19px; ">
  625. <script type="javascript" ev:event="onkeydown">
  626. <![CDATA[
  627. if(event.keyCode == "13") {
  628. fPidKeyPress();
  629. }
  630. ]]>
  631. </script>
  632. <script type="javascript" ev:event="DOMFocusIn">
  633. <![CDATA[
  634. var indd = model.getValue("/root/main/indsch_info/indd");
  635. var dschdd = model.getValue("/root/main/indsch_info/dschdd");
  636. if (indd == "" || dschdd == "") {
  637. return;
  638. }
  639. var tmp = getDateInterval(indd, dschdd);
  640. model.setValue("/root/main/indsch_info/totinhospdayno", tmp);
  641. model.refresh();
  642. ]]>
  643. </script>
  644. </input>
  645. <caption id="caption43" class="cell_1" style="left:0px; top:40px; width:60px; height:23px; vertical-align:middle; ">등록번호</caption>
  646. <button id="button6" class="btn1_letter2" navindex="2" style="left:191px; top:40px; width:56px; height:22px; ">
  647. <caption>조회</caption>
  648. <script type="javascript" ev:event="DOMActivate">
  649. <![CDATA[
  650. fPidKeyPress();
  651. ]]>
  652. </script>
  653. </button>
  654. <line id="line14" class="line_2" style="x1:0px; y1:114px; x2:1194px; y2:114px; "/>
  655. <caption id="caption52" class="cell_1" style="left:1023px; top:115px; width:61px; height:23px; vertical-align:middle; ">휴대전화</caption>
  656. <caption id="caption56" class="cell_1" style="left:699px; top:90px; width:62px; height:23px; vertical-align:middle; ">결혼상태</caption>
  657. <caption id="caption58" class="cell_1" style="left:876px; top:40px; width:60px; height:23px; vertical-align:middle; ">우편번호</caption>
  658. <caption id="caption59" class="cell_1" style="left:876px; top:115px; width:61px; height:23px; vertical-align:middle; ">전화번호</caption>
  659. <caption id="caption60" class="cell_1" style="left:520px; top:90px; width:62px; height:23px; vertical-align:middle; ">종교</caption>
  660. <caption id="caption1" class="cell_1" style="left:327px; top:40px; width:95px; height:23px; vertical-align:middle; ">퇴원일자</caption>
  661. <caption id="caption2" class="cell_1" style="left:102px; top:114px; width:38px; height:23px; vertical-align:middle; ">성별</caption>
  662. <caption id="caption15" class="cell_1" style="left:219px; top:269px; width:90px; height:23px; vertical-align:middle; ">분과정보</caption>
  663. <caption id="caption28" class="cell_1" style="left:0px; top:295px; width:90px; height:23px; vertical-align:middle; ">보험유형</caption>
  664. <select1 id="combo6" ref="/root/main/dschanalyhist/dschanalyinfo/specordyn" class="combo_search" navindex="34" appearance="minimal" style="left:93px; top:270px; width:123px; height:19px; ">
  665. <choices>
  666. <item>
  667. <label>특진</label>
  668. <value>Y</value>
  669. </item>
  670. <item>
  671. <label>일반</label>
  672. <value>N</value>
  673. </item>
  674. </choices>
  675. </select1>
  676. <caption id="caption29" class="cell_1" style="left:0px; top:269px; width:90px; height:23px; vertical-align:middle; ">선택진료</caption>
  677. <caption id="caption9" class="tit_2" style="left:5px; top:326px; width:82px; height:14px; ">수술정보</caption>
  678. <line id="line1" class="line_1" style="x1:0px; y1:340px; x2:730px; y2:340px; "/>
  679. <datagrid id="grd_oplist" nodeset="/root/main/dschanalyhist/oplist" caption="순번^수술일자^수술과약어^수술과^perfdeptcd^집도의^마취방법1^마취방법2^마취방법3^정규/응급^최종주수술여부^수술구분(대/중/소)^수술시작시간^수술끝시간^수술코드^pid^dschdd^집도의ID^dsopno^이전마취방법" colsep="^" colwidth="40, 100, 75, 73, 75, 90, 72, 77, 83, 70, 101, 119, 80, 80, 135, 150, 100, 100, 100, 100" dataheight="23" extendlastcol="scroll" rowheader="update" rowheight="23" rowsep="|" selectionmode="free" style="left:0px; top:345px; width:730px; height:108px; ">
  680. <col ref="seqno" type="input"/>
  681. <col ref="opdd" type="inputdate"/>
  682. <col imemode="alpha" ref="opdeptengabbr" type="input"/>
  683. <col editmode="input" ref="opdepthngnm" type="output"/>
  684. <col editmode="input" ref="perfdeptcd" type="output" visibility="hidden"/>
  685. <col imemode="hangul" ref="perfdrnm" type="input"/>
  686. <col ref="anstmthdcd1" type="combo">
  687. <choices>
  688. <itemset nodeset="/root/init/anstmthdList/anstmthd">
  689. <label ref="cdnm"/>
  690. <value ref="cdid"/>
  691. </itemset>
  692. </choices>
  693. </col>
  694. <col ref="anstmthdcd2" type="combo">
  695. <choices>
  696. <itemset nodeset="/root/init/anstmthdList/anstmthd">
  697. <label ref="cdnm"/>
  698. <value ref="cdid"/>
  699. </itemset>
  700. </choices>
  701. </col>
  702. <col ref="anstmthdcd3" type="combo">
  703. <choices>
  704. <itemset nodeset="/root/init/anstmthdList/anstmthd">
  705. <label ref="cdnm"/>
  706. <value ref="cdid"/>
  707. </itemset>
  708. </choices>
  709. </col>
  710. <col ref="opreqflag" type="combo">
  711. <choices>
  712. <itemset nodeset="/root/init/optypeList/M0013">
  713. <label ref="cdnm"/>
  714. <value ref="cdid"/>
  715. </itemset>
  716. </choices>
  717. </col>
  718. <col checkvalue="Y,N" ref="lastmainopyn" type="checkbox"/>
  719. <col ref="opscaleflag" type="combo">
  720. <choices>
  721. <item>
  722. <label>특대</label>
  723. <value>X</value>
  724. </item>
  725. <item>
  726. <label>대</label>
  727. <value>L</value>
  728. </item>
  729. <item>
  730. <label>중</label>
  731. <value>M</value>
  732. </item>
  733. <item>
  734. <label>소</label>
  735. <value>S</value>
  736. </item>
  737. </choices>
  738. </col>
  739. <col ref="opfromtm" type="input" format="hh:nn"/>
  740. <col ref="optotm" type="input" format="hh:nn"/>
  741. <col ref="opcd" type="input" visibility="hidden"/>
  742. <col ref="pid" visibility="hidden"/>
  743. <col ref="dschdd" visibility="hidden"/>
  744. <col ref="perfdrid" visibility="hidden"/>
  745. <col ref="dsopno" visibility="hidden" style="left:1435px; top:23px; width:100px; height:23px; "/>
  746. <col ref="preanstmthdinfo" type="input"/>
  747. <script type="javascript" ev:event="onkeydown">
  748. <![CDATA[
  749. if(event.keyCode == 13){
  750. var iCol = grd_oplist.col;
  751. var iRow = grd_oplist.row;
  752. var sDsopNo = "";
  753. if(iCol == 6){
  754. var sRtnMsg = fPopUpUserInfo("grd_oplist", 6, 18);
  755. var iStatus = grd_oplist.rowStatus(iRow);
  756. sDsopNo = model.getValue("/root/main/dschanalyhist/oplist["+iRow+"]/dsopno");
  757. if(sRtnMsg == false && iStatus == 2){
  758. model.setValue("/root/main/dschanalyhist/oplist["+iRow+"]/perfdrnm", model.getValue("/root/temp/dschanalyhist/oplist[dsopno ='"+sDsopNo+"']/perfdrnm"));
  759. model.setValue("/root/main/dschanalyhist/oplist["+iRow+"]/perfdrid", model.getValue("/root/temp/dschanalyhist/oplist[dsopno ='"+sDsopNo+"']/perfdrid"));
  760. }
  761. if(iStatus == 2){
  762. if(instance1.selectSingleNode("/root/main/dschanalyhist/oplist["+iRow+"]").xml == instance1.selectSingleNode("/root/temp/dschanalyhist/oplist[dsopno ='"+sDsopNo+"']").xml ){
  763. grd_oplist.rowStatus(iRow) = 0;
  764. }
  765. }
  766. }
  767. }
  768. ]]>
  769. </script>
  770. <script type="javascript" ev:event="xforms-value-changed">
  771. <![CDATA[
  772. var iRow = grd_oplist.row;
  773. var iCol = grd_oplist.col;
  774. var iStatus = grd_oplist.rowStatus(iRow);
  775. var sDsopNo = "";
  776. if(iCol != 6 && iStatus == 2){
  777. sDsopNo = model.getValue("/root/main/dschanalyhist/oplist["+iRow+"]/dsopno");
  778. if(instance1.selectSingleNode("/root/main/dschanalyhist/oplist["+iRow+"]").xml == instance1.selectSingleNode("/root/temp/dschanalyhist/oplist[dsopno='"+sDsopNo+"']").xml){
  779. grd_oplist.rowStatus(iRow) = 0;
  780. }
  781. }
  782. ]]>
  783. </script>
  784. <script type="javascript" ev:event="onendedit">
  785. <![CDATA[
  786. var iRow = grd_oplist.row - grd_oplist.fixedRows + 1;
  787. var opdd = model.getValue("/root/main/dschanalyhist/oplist["+iRow+"]/opdd");
  788. var opdeptengabbr = model.getValue("/root/main/dschanalyhist/oplist["+iRow+"]/opdeptengabbr");
  789. if(grd_oplist.col=3){
  790. if(opdeptengabbr==""){
  791. return;
  792. }
  793. if(opdd==""){
  794. messageBox("수술일자를 먼저","C001");
  795. return;
  796. }
  797. if(event.keyCode == 13){
  798. var iRow = grd_oplist.row - grd_oplist.fixedRows + 1;
  799. var opdeptengabbr = model.getValue("/root/main/dschanalyhist/oplist["+iRow+"]/opdeptengabbr");
  800. var opdd = model.getValue("/root/main/dschanalyhist/oplist["+iRow+"]/opdd");
  801. model.makeValue("root/send/stnddd",opdd);
  802. model.makeValue("root/send/deptengabbr",opdeptengabbr);
  803. if(submit("TRMRD00405")){
  804. model.setValue("/root/main/dschanalyhist/oplist["+iRow+"]/opdepthngnm",model.getValue("/root/temp/stndeptlist/stndept/depthngnm"));
  805. model.setValue("/root/main/dschanalyhist/oplist["+iRow+"]/perfdeptcd",model.getValue("/root/temp/stndeptlist/stndept/deptcd"));
  806. model.setValue("/root/main/dschanalyhist/oplist["+iRow+"]/opdeptengabbr",model.getValue("/root/temp/stndeptlist/stndept/deptengabbr"));
  807. }
  808. model.removenodeset("/root/send");
  809. }
  810. }
  811. grd_oplist.refresh();
  812. ]]>
  813. </script>
  814. </datagrid>
  815. <button id="btn_delrow1" class="btn2_letter3" navindex="89" style="left:673px; top:320px; width:53px; height:19px; ">
  816. <caption>행삭제</caption>
  817. <script type="javascript" ev:event="DOMActivate">
  818. <![CDATA[
  819. fDelGridRow("grd_oplist");
  820. ]]>
  821. </script>
  822. </button>
  823. <button id="btn_addrow1" class="btn2_letter3" navindex="88" style="left:617px; top:320px; width:53px; height:19px; ">
  824. <caption>행추가</caption>
  825. <script type="javascript" ev:event="DOMActivate">
  826. <![CDATA[
  827. fAddGridRow("grd_oplist");
  828. ]]>
  829. </script>
  830. </button>
  831. <datagrid id="grd_chngdeptlist" nodeset="/root/main/dschanalyhist/chngdeptlist" caption="전출일자^전출과약어^전출과^chngdeptcd^주치의^전출병실^재원일수^주진단코드^주진단^PID^DSCHDD^dscdno^chngdeptdrid" colsep="^" colwidth="86, 69, 81, 66, 70, 90, 80, 100, 300, 100, 100, 100, 100" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" selectionmode="free" style="left:732px; top:345px; width:459px; height:108px; ">
  832. <col ref="chngdeptdd" type="inputdate"/>
  833. <col imemode="alpha" ref="chngdeptengabbr" type="input"/>
  834. <col editmode="input" ref="chngdepthngnm" type="output"/>
  835. <col editmode="input" ref="chngdeptcd" type="output" visibility="hidden"/>
  836. <col imemode="hangul" ref="chngdeptdrnm" type="input"/>
  837. <col ref="chngroomcd" type="input"/>
  838. <col ref="chngdeptdayno" type="input" format="####" style="text-align:right; "/>
  839. <col ref="chngdeptmaindiagcd" type="input"/>
  840. <col ref="chngdeptmaindiagnm"/>
  841. <col ref="pid" visibility="hidden"/>
  842. <col ref="dschdd" visibility="hidden"/>
  843. <col ref="dscdno" visibility="hidden"/>
  844. <col ref="chngdeptdrid" visibility="hidden"/>
  845. <script type="javascript" ev:event="onkeydown">
  846. <![CDATA[
  847. if(event.keyCode == 13){
  848. var iCol = grd_chngdeptlist.col;
  849. var iRow = grd_chngdeptlist.row;
  850. var iStatus = 0;
  851. if(iCol == 5){
  852. var sRtnMsg = fPopUpUserInfo("grd_chngdeptlist", 5, 13);
  853. iStatus = grd_chngdeptlist.rowStatus(iRow);
  854. sDscdNo = model.getValue("/root/main/dschanalyhist/chngdeptlist["+iRow+"]/dscdno");
  855. if(sRtnMsg == false && iStatus == 2){
  856. model.setValue("/root/main/dschanalyhist/chngdeptlist["+iRow+"]/chngdeptdrnm", model.getValue("/root/temp/dschanalyhist/chngdeptlist[dscdno ='"+sDscdNo+"']/chngdeptdrnm"));
  857. model.setValue("/root/main/dschanalyhist/chngdeptlist["+iRow+"]/chngdeptdrid", model.getValue("/root/temp/dschanalyhist/chngdeptlist[dscdno ='"+sDscdNo+"']/chngdeptdrid"));
  858. }
  859. if(iStatus == 2){
  860. if(instance1.selectSingleNode("/root/main/dschanalyhist/chngdeptlist["+iRow+"]").xml == instance1.selectSingleNode("/root/temp/dschanalyhist/chngdeptlist[dscdno ='"+sDscdNo+"']").xml ){
  861. grd_chngdeptlist.rowStatus(iRow) = 0;
  862. }
  863. }
  864. }else if(iCol == 8){
  865. fPopUpDiag("grd_chngdeptlist", 8, 9);
  866. }
  867. }
  868. ]]>
  869. </script>
  870. <script type="javascript" ev:event="xforms-value-changed">
  871. <![CDATA[
  872. var iRow = grd_chngdeptlist.row;
  873. var iCol = grd_chngdeptlist.col;
  874. var iStatus = grd_chngdeptlist.rowStatus(iRow);
  875. var sDscdNo = "";
  876. if(iCol != 5 && iStatus == 2){
  877. sDscdNo = model.getValue("/root/main/dschanalyhist/chngdeptlist["+iRow+"]/dscdno");
  878. if(instance1.selectSingleNode("/root/main/dschanalyhist/chngdeptlist["+iRow+"]").xml == instance1.selectSingleNode("/root/temp/dschanalyhist/chngdeptlist[dscdno='"+sDscdNo+"']").xml){
  879. grd_chngdeptlist.rowStatus(iRow) = 0;
  880. }
  881. }
  882. ]]>
  883. </script>
  884. <script type="javascript" ev:event="onendedit">
  885. <![CDATA[
  886. /* var iRow = grd_chngdeptlist.row;
  887. var iCol = grd_chngdeptlist.col;
  888. var iStatus = grd_chngdeptlist.rowStatus(iRow);
  889. var sDscdNo = "";
  890. if(iCol == 2){
  891. var sDeptCd = grd_chngdeptlist.valueMatrix(iRow, iCol);
  892. if(model.getValue("/root/init/deptlist/dept[deptcd='"+sDeptCd+"']/deptcd") == ""){
  893. grd_chngdeptlist.valueMatrix(iRow, iCol) = "";
  894. }
  895. }
  896. if(iCol == 2 && iStatus == 2){
  897. sDscdNo = model.getValue("/root/main/dschanalyhist/chngdeptlist["+iRow+"]/dscdno");
  898. if(instance1.selectSingleNode("/root/main/dschanalyhist/chngdeptlist["+iRow+"]").xml == instance1.selectSingleNode("/root/temp/dschanalyhist/chngdeptlist[dscdno='"+sDscdNo+"']").xml){
  899. grd_chngdeptlist.rowStatus(iRow) = 0;
  900. }
  901. }*/
  902. var iRow = grd_chngdeptlist.row - grd_chngdeptlist.fixedRows + 1;
  903. var chngdeptdd = model.getValue("/root/main/dschanalyhist/chngdeptlist["+iRow+"]/chngdeptdd");
  904. var chngdeptengabbr = model.getValue("/root/main/dschanalyhist/chngdeptlist["+iRow+"]/chngdeptengabbr");
  905. if(grd_chngdeptlist.col==2){
  906. if(chngdeptengabbr==""){
  907. return;
  908. }
  909. if(chngdeptdd==""){
  910. messageBox("전출일자를 먼저","C001");
  911. return;
  912. }
  913. if(event.keyCode == 13){
  914. var iRow = grd_chngdeptlist.row - grd_chngdeptlist.fixedRows + 1;
  915. var chngdeptengabbr = model.getValue("/root/main/dschanalyhist/chngdeptlist["+iRow+"]/chngdeptengabbr");
  916. var chngdeptdd = model.getValue("/root/main/dschanalyhist/chngdeptlist["+iRow+"]/chngdeptdd");
  917. model.makeValue("root/send/stnddd",chngdeptdd);
  918. model.makeValue("root/send/deptengabbr",chngdeptengabbr);
  919. if(submit("TRMRD00405")){
  920. model.setValue("/root/main/dschanalyhist/chngdeptlist["+iRow+"]/chngdepthngnm",model.getValue("/root/temp/stndeptlist/stndept/depthngnm"));
  921. model.setValue("/root/main/dschanalyhist/chngdeptlist["+iRow+"]/chngdeptcd",model.getValue("/root/temp/stndeptlist/stndept/deptcd"));
  922. model.setValue("/root/main/dschanalyhist/chngdeptlist["+iRow+"]/chngdeptengabbr",model.getValue("/root/temp/stndeptlist/stndept/deptengabbr"));
  923. }
  924. model.removenodeset("/root/send");
  925. }
  926. }
  927. grd_chngdeptlist.refresh();
  928. ]]>
  929. </script>
  930. </datagrid>
  931. <line id="line6" class="line_1" style="x1:732px; y1:340px; x2:1191px; y2:340px; "/>
  932. <caption id="caption11" class="tit_2" style="left:735px; top:326px; width:82px; height:13px; ">전과정보</caption>
  933. <button id="btn_delrow4" class="btn2_letter3" navindex="91" style="left:1135px; top:320px; width:53px; height:19px; ">
  934. <caption>행삭제</caption>
  935. <script type="javascript" ev:event="DOMActivate">
  936. <![CDATA[
  937. fDelGridRow("grd_chngdeptlist");
  938. ]]>
  939. </script>
  940. </button>
  941. <button id="btn_addrow4" class="btn2_letter3" navindex="90" style="left:1079px; top:320px; width:53px; height:19px; ">
  942. <caption>행추가</caption>
  943. <script type="javascript" ev:event="DOMActivate">
  944. <![CDATA[
  945. fAddGridRow("grd_chngdeptlist");
  946. ]]>
  947. </script>
  948. </button>
  949. <datagrid id="grd_cnstlist" nodeset="/root/main/dschanalyhist/cnstlist" caption="의뢰과약어^의뢰과^reqdeptcd^의뢰과의사^의뢰일^시행과약어^시행과^execdeptcd^시행과의사^시행일(시작일)^진단코드^진단명^PID^DSCHDD^dscnstno^reqdrid^execdrid" colsep="^" colwidth="77, 96, 75, 91, 85, 67, 91, 65, 76, 86, 100, 300, 100, 100, 100, 100, 100" dataheight="23" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:0px; top:483px; width:730px; height:127px; ">
  950. <col imemode="alpha" ref="reqdeptengabbr" type="input"/>
  951. <col editmode="input" ref="reqdepthngnm" type="output"/>
  952. <col editmode="input" ref="reqdeptcd" type="output" visibility="hidden"/>
  953. <col imemode="hangul" ref="reqdrnm" type="input"/>
  954. <col ref="reqdd" type="inputdate"/>
  955. <col editmode="input" imemode="alpha" ref="execdeptengabbr" type="input"/>
  956. <col editmode="input" ref="execdepthngnm" type="output"/>
  957. <col editmode="input" ref="execdeptcd" type="output" visibility="hidden"/>
  958. <col imemode="hangul" ref="execdrnm" type="input"/>
  959. <col ref="execdd" type="inputdate"/>
  960. <col ref="diagcd" type="input" visibility="hidden"/>
  961. <col ref="diagnm" visibility="hidden"/>
  962. <col ref="pid" visibility="hidden"/>
  963. <col ref="dschdd" visibility="hidden"/>
  964. <col ref="dscnstno" visibility="hidden"/>
  965. <col ref="reqdrid" visibility="hidden"/>
  966. <col ref="execdrid" visibility="hidden"/>
  967. <script type="javascript" ev:event="onkeydown">
  968. <![CDATA[
  969. if(event.keyCode == 13){
  970. var iCol = grd_cnstlist.col;
  971. var iRow = grd_cnstlist.row;
  972. var iStatus = 0;
  973. var sRtnMsg = false;
  974. sDscnstNo = model.getValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/dscnstno");
  975. if(iCol == 11){
  976. fPopUpDiag("grd_cnstlist", 11, 12);
  977. }else if(iCol == 4){
  978. sRtnMsg = fPopUpUserInfo("grd_cnstlist", 4, 16);
  979. iStatus = grd_cnstlist.rowStatus(iRow);
  980. if(sRtnMsg == false && iStatus == 2){
  981. model.setValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/reqdrnm", model.getValue("/root/temp/dschanalyhist/cnstlist[dsopno ='"+sDscnstNo+"']/reqdrnm"));
  982. model.setValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/reqdrid", model.getValue("/root/temp/dschanalyhist/cnstlist[dsopno ='"+sDscnstNo+"']/reqdrid"));
  983. }
  984. }else if(iCol == 9){
  985. sRtnMsg = fPopUpUserInfo("grd_cnstlist", 9, 17);
  986. iStatus = grd_cnstlist.rowStatus(iRow);
  987. if(sRtnMsg == false && iStatus == 2){
  988. model.setValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/execdrnm", model.getValue("/root/temp/dschanalyhist/cnstlist[dsopno ='"+sDscnstNo+"']/execdrnm"));
  989. model.setValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/execdrid", model.getValue("/root/temp/dschanalyhist/cnstlist[dsopno ='"+sDscnstNo+"']/execdrid"));
  990. }
  991. }
  992. iStatus = grd_cnstlist.rowStatus(iRow);
  993. if(iStatus == 2){
  994. if(instance1.selectSingleNode("/root/main/dschanalyhist/cnstlist["+iRow+"]").xml == instance1.selectSingleNode("/root/temp/dschanalyhist/cnstlist[dscnstno ='"+sDscnstNo+"']").xml ){
  995. grd_cnstlist.rowStatus(iRow) = 0;
  996. }
  997. }
  998. }
  999. ]]>
  1000. </script>
  1001. <script type="javascript" ev:event="xforms-value-changed">
  1002. <![CDATA[
  1003. var iRow = grd_cnstlist.row;
  1004. var iCol = grd_cnstlist.col;
  1005. var iStatus = grd_cnstlist.rowStatus(iRow);
  1006. var sDsopNo = "";
  1007. if(iCol != 4 && iCol != 6 && iCol != 9 && iStatus == 2){
  1008. sDscnstNo = model.getValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/dscnstno");
  1009. if(instance1.selectSingleNode("/root/main/dschanalyhist/cnstlist["+iRow+"]").xml == instance1.selectSingleNode("/root/temp/dschanalyhist/cnstlist[dscnstno='"+sDscnstNo+"']").xml){
  1010. grd_cnstlist.rowStatus(iRow) = 0;
  1011. }
  1012. }
  1013. ]]>
  1014. </script>
  1015. <script type="javascript" ev:event="onendedit">
  1016. <![CDATA[
  1017. /*var iRow = grd_cnstlist.row;
  1018. var iCol = grd_cnstlist.col;
  1019. var iStatus = grd_cnstlist.rowStatus(iRow);
  1020. var sDsopNo = "";
  1021. if(iCol == 1 || iCol == 4){
  1022. var sDeptCd = grd_cnstlist.valueMatrix(iRow, iCol);
  1023. if(model.getValue("/root/init/deptlist/dept[deptcd='"+sDeptCd+"']/deptcd") == ""){
  1024. grd_cnstlist.valueMatrix(iRow, iCol) = "";
  1025. }
  1026. }
  1027. if((iCol == 1 || iCol == 4 ) && iStatus == 2){
  1028. sDscnstNo = model.getValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/dscnstno");
  1029. if(instance1.selectSingleNode("/root/main/dschanalyhist/cnstlist["+iRow+"]").xml == instance1.selectSingleNode("/root/temp/dschanalyhist/cnstlist[dscnstno='"+sDscnstNo+"']").xml){
  1030. grd_cnstlist.rowStatus(iRow) = 0;
  1031. }
  1032. } */
  1033. var iRow = grd_cnstlist.row - grd_cnstlist.fixedRows + 1;
  1034. var reqdd = model.getValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/reqdd");
  1035. var execdd = model.getValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/execdd");
  1036. var reqdeptengabbr = model.getValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/reqdeptengabbr");
  1037. var execdeptengabbr = model.getValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/execdeptengabbr");
  1038. if(grd_cnstlist.col==1){
  1039. if(reqdeptengabbr==""){
  1040. return;
  1041. }
  1042. if(reqdd==""){
  1043. messageBox("의뢰일자를 먼저","C001");
  1044. return;
  1045. }
  1046. if(event.keyCode == 13){
  1047. var iRow = grd_cnstlist.row - grd_cnstlist.fixedRows + 1;
  1048. var reqdeptengabbr = model.getValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/reqdeptengabbr");
  1049. var reqdd = model.getValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/reqdd");
  1050. model.makeValue("root/send/stnddd",reqdd);
  1051. model.makeValue("root/send/deptengabbr",reqdeptengabbr);
  1052. if(submit("TRMRD00405")){
  1053. model.setValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/reqdepthngnm",model.getValue("/root/temp/stndeptlist/stndept/depthngnm"));
  1054. model.setValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/reqdeptcd",model.getValue("/root/temp/stndeptlist/stndept/deptcd"));
  1055. model.setValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/reqdeptengabbr",model.getValue("/root/temp/stndeptlist/stndept/deptengabbr"));
  1056. }
  1057. model.removenodeset("/root/send");
  1058. }
  1059. } else if(grd_cnstlist.col==6){
  1060. if(execdeptengabbr==""){
  1061. return;;
  1062. }
  1063. if(execdd==""){
  1064. messageBox("시행일자를 먼저","C001");
  1065. return;
  1066. }
  1067. if(event.keyCode == 13){
  1068. var iRow = grd_cnstlist.row - grd_cnstlist.fixedRows + 1;
  1069. var execdeptengabbr = model.getValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/execdeptengabbr");
  1070. var execdd = model.getValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/execdd");
  1071. model.makeValue("root/send/stnddd",execdd);
  1072. model.makeValue("root/send/deptengabbr",execdeptengabbr);
  1073. if(submit("TRMRD00405")){
  1074. model.setValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/execdepthngnm",model.getValue("/root/temp/stndeptlist/stndept/depthngnm"));
  1075. model.setValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/execdeptcd",model.getValue("/root/temp/stndeptlist/stndept/deptcd"));
  1076. model.setValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/execdeptengabbr",model.getValue("/root/temp/stndeptlist/stndept/deptengabbr"));
  1077. }
  1078. model.removenodeset("/root/send");
  1079. }
  1080. }
  1081. grd_oplist.refresh();
  1082. ]]>
  1083. </script>
  1084. </datagrid>
  1085. <line id="line11" class="line_1" style="x1:0px; y1:477px; x2:730px; y2:477px; "/>
  1086. <caption id="caption30" class="tit_2" style="left:5px; top:462px; width:82px; height:14px; ">협의정보</caption>
  1087. <button id="btn_delrow5" class="btn2_letter3" navindex="93" style="left:673px; top:456px; width:53px; height:19px; ">
  1088. <caption>행삭제</caption>
  1089. <script type="javascript" ev:event="DOMActivate">
  1090. <![CDATA[
  1091. fDelGridRow("grd_cnstlist");
  1092. ]]>
  1093. </script>
  1094. </button>
  1095. <button id="btn_addrow5" class="btn2_letter3" navindex="92" style="left:617px; top:456px; width:53px; height:19px; ">
  1096. <caption>행추가</caption>
  1097. <script type="javascript" ev:event="DOMActivate">
  1098. <![CDATA[
  1099. fAddGridRow("grd_cnstlist");
  1100. ]]>
  1101. </script>
  1102. </button>
  1103. <line id="line15" class="line_1" style="x1:0px; y1:635px; x2:730px; y2:635px; "/>
  1104. <caption id="caption37" class="tit_2" style="left:5px; top:620px; width:125px; height:14px; ">산모 / 신생아정보</caption>
  1105. <datagrid id="grd_wnmblist" nodeset="/root/main/dschanalyhist/wnmblist" caption="산모^산모^산모^산모^산모^산모^신생아^신생아^신생아^신생아^신생아^신생아^신생아^산모^산모^신생아|산모형태^분만결과(신생아수)^분만일자^사산아수^애기번호^분만경험^산모번호^분만형태^임신주수^임신일수^출생형태^체중(g)^등록번호^DSCHDD^dswmno^dsnbno" colsep="^" colwidth="72, 120, 94, 67, 83, 80, 86, 70, 56, 52, 135, 73, 78, 100, 100, 100" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" selectionmode="free" style="left:0px; top:640px; width:730px; height:120px; ">
  1106. <col ref="womntypecd" type="combo">
  1107. <choices>
  1108. <itemset nodeset="/root/init/womntypeList/M0165">
  1109. <label ref="cdnm"/>
  1110. <value ref="cdid"/>
  1111. </itemset>
  1112. </choices>
  1113. </col>
  1114. <col ref="partrtnrsltcnt" type="input" format="####"/>
  1115. <col ref="partrtndd" type="inputdate"/>
  1116. <col ref="stlborncnt" type="input" format="####" style="text-align:right; "/>
  1117. <col ref="nbabyid" type="input"/>
  1118. <col ref="partrtneprccd" type="combo">
  1119. <choices>
  1120. <item>
  1121. <label>초산</label>
  1122. <value>01</value>
  1123. </item>
  1124. <item>
  1125. <label>경산</label>
  1126. <value>02</value>
  1127. </item>
  1128. </choices>
  1129. </col>
  1130. <col ref="womnid" type="input"/>
  1131. <col itemcount="10" ref="partrtnkindcd" type="combo">
  1132. <choices>
  1133. <itemset nodeset="/root/init/partrtntypeList/M0086">
  1134. <label ref="cdnm"/>
  1135. <value ref="cdid"/>
  1136. </itemset>
  1137. </choices>
  1138. </col>
  1139. <col ref="prgweekcnt" type="input" style="text-align:right; "/>
  1140. <col ref="prgdayno" type="input" format="####" style="text-align:right; "/>
  1141. <col ref="brthtypecd" type="combo">
  1142. <choices>
  1143. <itemset nodeset="/root/init/brthtypeList/M0167">
  1144. <label ref="cdnm"/>
  1145. <value ref="cdid"/>
  1146. </itemset>
  1147. </choices>
  1148. </col>
  1149. <col ref="nbabybdwtqty" type="input" style="text-align:right; "/>
  1150. <col ref="pid" type="output" visibility="hidden"/>
  1151. <col ref="dschdd" visibility="hidden"/>
  1152. <col ref="dswmno" visibility="hidden"/>
  1153. <col ref="dsnbno" visibility="hidden"/>
  1154. <script type="javascript" ev:event="xforms-value-changed">
  1155. <![CDATA[
  1156. var iStndRow = grd_wnmblist.row-grd_wnmblist.fixedRows+1;
  1157. var iCol = grd_wnmblist.col;
  1158. var iStatus = grd_wnmblist.rowStatus( grd_wnmblist.row);
  1159. var sDswmNo = "";
  1160. var sDsnbNo = "";
  1161. if(iCol == 1){
  1162. var womntypecd = model.getValue("/root/main/dschanalyhist/wnmblist["+iStndRow+"]/womntypecd");
  1163. for(var iRow = 1; iRow<= grd_wnmblist.rows-grd_wnmblist.fixedRows; iRow++){
  1164. if(iStndRow != iRow){
  1165. model.setValue("/root/main/dschanalyhist/wnmblist["+iRow+"]/womntypecd", womntypecd);
  1166. }
  1167. }
  1168. }else if(iCol == 2){
  1169. var partrtnrsltcnt = model.getValue("/root/main/dschanalyhist/wnmblist["+iStndRow+"]/partrtnrsltcnt");
  1170. for(var iRow = 1; iRow<= grd_wnmblist.rows-grd_wnmblist.fixedRows; iRow++){
  1171. if(iStndRow != iRow){
  1172. model.setValue("/root/main/dschanalyhist/wnmblist["+iRow+"]/partrtnrsltcnt", partrtnrsltcnt);
  1173. }
  1174. }
  1175. }else if(iCol == 3){
  1176. var partrtndd = model.getValue("/root/main/dschanalyhist/wnmblist["+iStndRow+"]/partrtndd");
  1177. for(var iRow = 1; iRow<= grd_wnmblist.rows-grd_wnmblist.fixedRows; iRow++){
  1178. if(iStndRow != iRow){
  1179. model.setValue("/root/main/dschanalyhist/wnmblist["+iRow+"]/partrtndd", partrtndd);
  1180. }
  1181. }
  1182. }else if(iCol == 4){
  1183. var stlborncnt = model.getValue("/root/main/dschanalyhist/wnmblist["+iStndRow+"]/stlborncnt");
  1184. for(var iRow =1; iRow<= grd_wnmblist.rows-grd_wnmblist.fixedRows; iRow++){
  1185. if(iStndRow != iRow){
  1186. model.setValue("/root/main/dschanalyhist/wnmblist["+iRow+"]/stlborncnt", stlborncnt);
  1187. }
  1188. }
  1189. }else if(iCol == 5){
  1190. var womnid = model.getValue("/root/main/dschanalyhist/wnmblist["+iStndRow+"]/womnid");
  1191. for(var iRow = 1; iRow<= grd_wnmblist.rows-grd_wnmblist.fixedRows; iRow++){
  1192. if(iStndRow != iRow){
  1193. model.setValue("/root/main/dschanalyhist/wnmblist["+iRow+"]/womnid", womnid);
  1194. }
  1195. }
  1196. }
  1197. if(iStatus == 2){
  1198. sDswmNo = model.getValue("/root/main/dschanalyhist/wnmblist["+iStndRow+"]/dswmno");
  1199. sDsnbNo = model.getValue("/root/main/dschanalyhist/wnmblist["+iStndRow+"]/dsnbno");
  1200. if(instance1.selectSingleNode("/root/main/dschanalyhist/wnmblist["+iStndRow+"]").xml == instance1.selectSingleNode("/root/temp/dschanalyhist/wnmblist[dswmno='"+sDswmNo+"' and dsnbno='"+sDsnbNo+"']").xml){
  1201. grd_wnmblist.rowStatus( grd_wnmblist.row) = 0;
  1202. }
  1203. }
  1204. ]]>
  1205. </script>
  1206. </datagrid>
  1207. <button id="btn_delrow7" class="btn2_letter3" navindex="97" style="left:673px; top:614px; width:53px; height:19px; ">
  1208. <caption>행삭제</caption>
  1209. <script type="javascript" ev:event="DOMActivate">
  1210. <![CDATA[
  1211. fDelGridRow("grd_wnmblist");
  1212. ]]>
  1213. </script>
  1214. </button>
  1215. <button id="btn_addrow7" class="btn2_letter3" navindex="96" style="left:617px; top:614px; width:53px; height:19px; ">
  1216. <caption>행추가</caption>
  1217. <script type="javascript" ev:event="DOMActivate">
  1218. <![CDATA[
  1219. fAddGridRow("grd_wnmblist");
  1220. ]]>
  1221. </script>
  1222. </button>
  1223. <switch id="switch1" style="left:736px; top:640px; width:459px; height:125px; ">
  1224. <case id="indx" style="left:0px; top:0px; width:462px; height:125px; ">
  1225. <select id="chk_indxlist" ref="/root/main/dschanalyhist/dschanalyinfo/indxinfo" overflow="visible" appearance="full" rows="4" style="left:10px; top:35px; width:100px; height:20px; border-style:none; ">
  1226. <choices>
  1227. <itemset nodeset="/root/init/indxlist/indx">
  1228. <label ref="indxnm"/>
  1229. <value ref="indxcd"/>
  1230. </itemset>
  1231. </choices>
  1232. </select>
  1233. <line id="line19" class="line_1" style="x1:0px; y1:24px; x2:455px; y2:24px; "/>
  1234. <caption id="caption66" class="tit_2" style="left:0px; top:8px; width:82px; height:14px; ">지표관리</caption>
  1235. </case>
  1236. <case id="infdis" selected="true" style="left:0px; top:0px; width:457px; height:143px; ">
  1237. <datagrid id="grd_infdislist" nodeset="/root/main/dschanalyhist/infdislist" caption="순번^infdiscd^주상병코드^상병명칭^법정전염병 구분^비고^pid^dschdd^dsldno" colsep="^" colwidth="40, 58, 85, 163, 110, 135, 100, 100, 100" dataheight="23" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" style="left:0px; top:25px; width:456px; height:93px; ">
  1238. <col ref="seqno"/>
  1239. <col ref="infdiscd" visibility="hidden"/>
  1240. <col ref="dispinfdiscd" type="input"/>
  1241. <col ref="infdisnm" type="output"/>
  1242. <col ref="infdisflag" type="combo">
  1243. <choices>
  1244. <item>
  1245. <label>1군</label>
  1246. <value>01</value>
  1247. </item>
  1248. <item>
  1249. <label>2군</label>
  1250. <value>02</value>
  1251. </item>
  1252. <item>
  1253. <label>3군</label>
  1254. <value>03</value>
  1255. </item>
  1256. <item>
  1257. <label>4군</label>
  1258. <value>04</value>
  1259. </item>
  1260. <item>
  1261. <label>지정군</label>
  1262. <value>05</value>
  1263. </item>
  1264. </choices>
  1265. </col>
  1266. <col ref="rem" type="input"/>
  1267. <col ref="pid" visibility="hidden"/>
  1268. <col ref="dschdd" visibility="hidden"/>
  1269. <col ref="dsldno" visibility="hidden"/>
  1270. <script type="javascript" ev:event="xforms-value-changed">
  1271. <![CDATA[
  1272. var iRow = grd_infdislist.row;
  1273. var iCol = grd_infdislist.col;
  1274. var iStatus = grd_infdislist.rowStatus(iRow);
  1275. var sDsldNo = "";
  1276. if(iCol != 5 && iStatus == 2){
  1277. sDsldNo = model.getValue("/root/main/dschanalyhist/infdislist["+iRow+"]/dsldno");
  1278. if(instance1.selectSingleNode("/root/main/dschanalyhist/infdislist["+iRow+"]").xml == instance1.selectSingleNode("/root/temp/dschanalyhist/infdislist[dsldno='"+sDsldNo+"']").xml){
  1279. grd_infdislist.rowStatus(iRow) = 0;
  1280. }
  1281. }
  1282. ]]>
  1283. </script>
  1284. <script type="javascript" ev:event="onkeydown">
  1285. <![CDATA[
  1286. if(event.keyCode == 13){
  1287. var iCol = grd_infdislist.col;
  1288. var iRow = grd_infdislist.row;
  1289. if(iCol == 2){
  1290. fPopUpDiag("grd_infdislist", 2, 3);
  1291. var dispinfdiscd = model.getValue("/root/main/dschanalyhist/infdislist["+iRow+"]/dispinfdiscd");
  1292. model.setValue("/root/main/dschanalyhist/infdislist["+iRow+"]/infdiscd",dispinfdiscd+".00");
  1293. }
  1294. model.refresh();
  1295. }
  1296. ]]>
  1297. </script>
  1298. </datagrid>
  1299. <button id="btn_addinfdis" class="btn2_letter3" navindex="98" style="left:345px; top:4px; width:53px; height:19px; ">
  1300. <caption>행추가</caption>
  1301. <script type="javascript" ev:event="DOMActivate">
  1302. <![CDATA[
  1303. fAddGridRow("grd_infdislist");
  1304. ]]>
  1305. </script>
  1306. </button>
  1307. <button id="btn_delinfdis" class="btn2_letter3" navindex="99" style="left:401px; top:4px; width:53px; height:19px; ">
  1308. <caption>행삭제</caption>
  1309. <script type="javascript" ev:event="DOMActivate">
  1310. <![CDATA[
  1311. fDelGridRow("grd_infdislist");
  1312. ]]>
  1313. </script>
  1314. </button>
  1315. </case>
  1316. </switch>
  1317. <button id="button3" class="btn3_letter6" navindex="102" style="left:502px; top:11px; width:104px; height:22px; ">
  1318. <caption>통합기록조회</caption>
  1319. <script type="javascript" ev:event="DOMActivate">
  1320. <![CDATA[
  1321. var orgdschdd = model.getValue(xDschAnalyListPath+"/orgdschdd");
  1322. if(orgdschdd == ""){
  1323. messageBox("환자의 퇴원일자가 선택되지", "E007");
  1324. return;
  1325. }
  1326. setParameter("SMMRI00400_param_pid", model.getValue(xDschAnalyListPath+"/pid"));
  1327. setParameter("SMMRI00400_param_chosflag", "I");
  1328. open("SMMRI00400");
  1329. ]]>
  1330. </script>
  1331. </button>
  1332. <button id="button4" class="btn3_letter4" navindex="103" style="left:713px; top:11px; width:80px; height:22px; ">
  1333. <caption>사망분석</caption>
  1334. <script type="javascript" ev:event="DOMActivate">
  1335. <![CDATA[
  1336. var dschdd = model.getValue(xDschAnalyListPath+"/dschdd");
  1337. if(dschdd == ""){
  1338. messageBox("환자의 퇴원일자가 선택되지", "E007");
  1339. return;
  1340. }
  1341. setParameter("SMMRD00500_pid", model.getValue(xDschAnalyListPath+"/pid"));
  1342. open("SMMRD00500");
  1343. ]]>
  1344. </script>
  1345. </button>
  1346. <caption id="caption3" style="left:235px; top:761px; width:90px; height:20px; font-weight:bold; ">* 퇴원분석자 :</caption>
  1347. <caption id="caption4" style="left:0px; top:761px; width:105px; height:20px; font-weight:bold; ">* 퇴원분석일시 :</caption>
  1348. <input id="input25" ref="/root/main/dschanalyhist/dschanalyinfo/addr" class="input_search" navindex="26" style="left:937px; top:67px; width:256px; height:19px; "/>
  1349. <select1 id="cmb_dschdd" ref="/root/main/dschanalyhist/dschanalyinfo/dschdd" class="combo_search" navindex="11" appearance="minimal" editmode="input" itemcount="10" style="left:424px; top:42px; width:94px; height:19px; ">
  1350. <choices>
  1351. <itemset nodeset="/root/temp/patinfo/chgdschddlist">
  1352. <label ref="dschddnm"/>
  1353. <value ref="dschdd"/>
  1354. </itemset>
  1355. </choices>
  1356. <script type="javascript" ev:event="xforms-select">
  1357. <![CDATA[
  1358. if(event.keyCode == 13) return;
  1359. fGetDschAnalyInfo();
  1360. ]]>
  1361. </script>
  1362. </select1>
  1363. <input id="ipt_hngnm" ref="/root/main/dschanalyhist/dschanalyinfo/hngnm" class="input_search" disabled="true" navindex="3" style="left:63px; top:67px; width:126px; height:19px; ">
  1364. <script type="javascript" ev:event="DOMFocusIn">
  1365. <![CDATA[
  1366. var indd = model.getValue("/root/main/indsch_info/indd");
  1367. var dschdd = model.getValue("/root/main/indsch_info/dschdd");
  1368. if (indd == "" || dschdd == "") {
  1369. return;
  1370. }
  1371. var tmp = getDateInterval(indd, dschdd);
  1372. model.setValue("/root/main/indsch_info/totinhospdayno", tmp);
  1373. model.refresh();
  1374. ]]>
  1375. </script>
  1376. </input>
  1377. <input id="ipt_rrgstno1" ref="/root/main/dschanalyhist/dschanalyinfo/rrgstno1" class="input_search" disabled="true" navindex="5" style="left:62px; top:92px; width:126px; height:19px; "/>
  1378. <input id="ipt_rrgstno2" ref="/root/main/dschanalyhist/dschanalyinfo/rrgstno2" class="input_search" disabled="true" navindex="6" style="left:190px; top:92px; width:135px; height:19px; "/>
  1379. <input id="ipt_age" ref="/root/main/dschanalyhist/dschanalyinfo/age" class="input_search" navindex="7" style="left:61px; top:116px; width:39px; height:19px; "/>
  1380. <select1 id="cmb_age" ref="/root/main/dschanalyhist/dschanalyinfo/sexflag" class="combo_search" navindex="8" appearance="minimal" style="left:143px; top:117px; width:46px; height:19px; ">
  1381. <choices>
  1382. <item>
  1383. <label>남</label>
  1384. <value>M</value>
  1385. </item>
  1386. <item>
  1387. <label>여</label>
  1388. <value>F</value>
  1389. </item>
  1390. </choices>
  1391. </select1>
  1392. <select1 id="cmb_btype" ref="/root/main/dschanalyhist/dschanalyinfo/btype" class="combo_search" navindex="9" visibility="hidden" appearance="minimal" style="left:242px; top:117px; width:43px; height:19px; ">
  1393. <choices>
  1394. <item>
  1395. <label/>
  1396. <value/>
  1397. </item>
  1398. <item>
  1399. <label>A</label>
  1400. <value>A</value>
  1401. </item>
  1402. <item>
  1403. <label>B</label>
  1404. <value>B</value>
  1405. </item>
  1406. <item>
  1407. <label>O</label>
  1408. <value>O</value>
  1409. </item>
  1410. <item>
  1411. <label>AB</label>
  1412. <value>AB</value>
  1413. </item>
  1414. <item>
  1415. <label>-</label>
  1416. <value>-</value>
  1417. </item>
  1418. </choices>
  1419. </select1>
  1420. <select1 id="cmb_rh" ref="/root/main/dschanalyhist/dschanalyinfo/rh" class="combo_search" navindex="10" visibility="hidden" appearance="minimal" style="left:287px; top:117px; width:38px; height:19px; ">
  1421. <choices>
  1422. <item>
  1423. <label/>
  1424. <value/>
  1425. </item>
  1426. <item>
  1427. <label>+</label>
  1428. <value>+</value>
  1429. </item>
  1430. <item>
  1431. <label>-</label>
  1432. <value>-</value>
  1433. </item>
  1434. </choices>
  1435. </select1>
  1436. <select1 id="cmb_forgeryn" ref="/root/main/dschanalyhist/dschanalyinfo/forgeryn" class="combo_search" navindex="4" appearance="minimal" style="left:242px; top:67px; width:82px; height:19px; ">
  1437. <choices>
  1438. <item>
  1439. <label>내국인</label>
  1440. <value>N</value>
  1441. </item>
  1442. <item>
  1443. <label>외국인</label>
  1444. <value>Y</value>
  1445. </item>
  1446. <item>
  1447. <label>불명</label>
  1448. <value>X</value>
  1449. </item>
  1450. </choices>
  1451. <script type="javascript" ev:event="onclick">
  1452. <![CDATA[
  1453. //EventTabKeyToReturn(event.keyCode);
  1454. ]]>
  1455. </script>
  1456. </select1>
  1457. <input id="ipt_telno" ref="/root/main/dschanalyhist/dschanalyinfo/telno" class="input_search" navindex="27" style="left:937px; top:117px; width:85px; height:19px; "/>
  1458. <select1 id="cmb_religncd" ref="/root/main/dschanalyhist/dschanalyinfo/religncd" class="combo_search" navindex="17" appearance="minimal" showvalue="true" style="left:615px; top:92px; width:82px; height:19px; ">
  1459. <choices>
  1460. <itemset nodeset="/root/init/relignList/M0070">
  1461. <label ref="cdnm"/>
  1462. <value ref="cdid"/>
  1463. </itemset>
  1464. </choices>
  1465. <script type="javascript" ev:event="xforms-select">
  1466. <![CDATA[
  1467. model.setValue(xDschAnalyListPath+"/relign",model.getValue(xDschAnalyListPath+"/religncd"));
  1468. ipt_relign.refresh();
  1469. ]]>
  1470. </script>
  1471. </select1>
  1472. <input id="ipt_mskindcd" ref="/root/main/dschanalyhist/dschanalyinfo/clsdeptinfo" class="input_search" navindex="45" style="left:311px; top:270px; width:30px; height:19px; "/>
  1473. <input id="ipt_insukindcd" ref="/root/main/dschanalyhist/dschanalyinfo/insukindcd" class="input_search" navindex="35" style="left:93px; top:296px; width:30px; height:19px; ">
  1474. <script type="javascript" ev:event="onkeydown">
  1475. <![CDATA[
  1476. ]]>
  1477. </script>
  1478. </input>
  1479. <select1 id="cmb_dschtypecd" ref="/root/main/dschanalyhist/dschanalyinfo/dschtypecd" class="combo_search" appearance="minimal" showvalue="true" style="left:573px; top:193px; width:111px; height:19px; ">
  1480. <choices>
  1481. <itemset nodeset="/root/init/DschTypeList/M0157">
  1482. <label ref="cdnm"/>
  1483. <value ref="cdid"/>
  1484. </itemset>
  1485. </choices>
  1486. <script type="javascript" ev:event="xforms-value-changed">
  1487. <![CDATA[
  1488. model.setValue(xDschAnalyListPath+"/dschtype", model.getValue(xDschAnalyListPath+"/dschtypecd"));
  1489. ipt_dschtype.refresh();
  1490. ]]>
  1491. </script>
  1492. </select1>
  1493. <select1 id="cmb_reinresncd" ref="/root/main/dschanalyhist/dschanalyinfo/reinresncd" class="combo_search" appearance="minimal" showvalue="true" style="left:822px; top:219px; width:112px; height:19px; ">
  1494. <choices>
  1495. <itemset nodeset="/root/init/reInResnList/M0158">
  1496. <label ref="cdnm"/>
  1497. <value ref="cdid"/>
  1498. </itemset>
  1499. </choices>
  1500. <script type="javascript" ev:event="xforms-value-changed">
  1501. <![CDATA[
  1502. model.setValue(xDschAnalyListPath+"/reinresn", model.getValue(xDschAnalyListPath+"/reinresncd"));
  1503. ipt_reinresn.refresh();
  1504. fCheckItemInputYN("reinresn");
  1505. ]]>
  1506. </script>
  1507. </select1>
  1508. <select1 id="cmb_chosprogcd" ref="/root/main/dschanalyhist/dschanalyinfo/chosprogcd" class="combo_search" appearance="minimal" showvalue="true" style="left:572px; top:218px; width:111px; height:19px; ">
  1509. <choices>
  1510. <itemset nodeset="/root/init/chosProgList/M0156">
  1511. <label ref="cdnm"/>
  1512. <value ref="cdid"/>
  1513. </itemset>
  1514. </choices>
  1515. <script type="javascript" ev:event="xforms-value-changed">
  1516. <![CDATA[
  1517. model.setValue(xDschAnalyListPath+"/chosprog", model.getValue(xDschAnalyListPath+"/chosprogcd"));
  1518. ipt_chosprog.refresh();
  1519. ]]>
  1520. </script>
  1521. </select1>
  1522. <select1 id="cmb_inpathcd" ref="/root/main/dschanalyhist/dschanalyinfo/inpathcd" class="combo_search" appearance="minimal" showvalue="true" style="left:572px; top:244px; width:112px; height:19px; ">
  1523. <choices>
  1524. <itemset nodeset="/root/init/inPathList/M0153">
  1525. <label ref="cdnm"/>
  1526. <value ref="cdid"/>
  1527. </itemset>
  1528. </choices>
  1529. <script type="javascript" ev:event="xforms-value-changed">
  1530. <![CDATA[
  1531. model.setValue(xDschAnalyListPath+"/inpath", model.getValue(xDschAnalyListPath+"/inpathcd"));
  1532. ipt_inpath.refresh();
  1533. fCheckItemInputYN("inpath");
  1534. ]]>
  1535. </script>
  1536. </select1>
  1537. <select1 id="cmb_reopresncd" ref="/root/main/dschanalyhist/dschanalyinfo/reopresncd" class="combo_search" appearance="minimal" showvalue="true" style="left:823px; top:269px; width:112px; height:19px; ">
  1538. <choices>
  1539. <itemset nodeset="/root/init/reOpResnList/M0159">
  1540. <label ref="cdnm"/>
  1541. <value ref="cdid"/>
  1542. </itemset>
  1543. </choices>
  1544. <script type="javascript" ev:event="xforms-value-changed">
  1545. <![CDATA[
  1546. model.setValue(xDschAnalyListPath+"/reopresn", model.getValue(xDschAnalyListPath+"/reopresncd"));
  1547. ipt_reopresn.refresh();
  1548. ]]>
  1549. </script>
  1550. </select1>
  1551. <select1 id="cmb_curersltcd" ref="/root/main/dschanalyhist/dschanalyinfo/curersltcd" class="combo_search" appearance="minimal" showvalue="true" style="left:574px; top:167px; width:110px; height:19px; ">
  1552. <choices>
  1553. <itemset nodeset="/root/init/cureRsltList/M0152">
  1554. <label ref="cdnm"/>
  1555. <value ref="cdid"/>
  1556. </itemset>
  1557. </choices>
  1558. <script type="javascript" ev:event="xforms-value-changed">
  1559. <![CDATA[
  1560. model.setValue(xDschAnalyListPath+"/curerslt", model.getValue(xDschAnalyListPath+"/curersltcd"));
  1561. ipt_curerslt.refresh();
  1562. fCheckItemInputYN("curerslt");
  1563. ]]>
  1564. </script>
  1565. </select1>
  1566. <select1 id="cmb_dethtypecd" ref="/root/main/dschanalyhist/dschanalyinfo/dethtypecd" class="combo_search" appearance="minimal" showvalue="true" style="left:823px; top:167px; width:111px; height:19px; ">
  1567. <choices>
  1568. <itemset nodeset="/root/init/dethTypeList/M0155">
  1569. <label ref="cdnm"/>
  1570. <value ref="cdid"/>
  1571. </itemset>
  1572. </choices>
  1573. <script type="javascript" ev:event="xforms-value-changed">
  1574. <![CDATA[
  1575. model.setValue(xDschAnalyListPath+"/dethtype", model.getValue(xDschAnalyListPath+"/dethtypecd"));
  1576. ipt_dethtype.refresh();
  1577. ]]>
  1578. </script>
  1579. </select1>
  1580. <select1 id="cmb_mskind" ref="/root/main/dschanalyhist/dschanalyinfo/clsdeptinfocd" class="combo_search" navindex="46" appearance="minimal" style="left:343px; top:270px; width:96px; height:19px; ">
  1581. <choices>
  1582. <item>
  1583. <label>GA</label>
  1584. <value>GA</value>
  1585. </item>
  1586. <item>
  1587. <label>GB</label>
  1588. <value>GB</value>
  1589. </item>
  1590. <item>
  1591. <label>OB</label>
  1592. <value>OB</value>
  1593. </item>
  1594. <item>
  1595. <label>GY</label>
  1596. <value>GY</value>
  1597. </item>
  1598. <item>
  1599. <label>PD</label>
  1600. <value>PD</value>
  1601. </item>
  1602. <item>
  1603. <label>NR</label>
  1604. <value>NR</value>
  1605. </item>
  1606. </choices>
  1607. </select1>
  1608. <input id="ipt_relign" ref="/root/main/dschanalyhist/dschanalyinfo/relign" class="input_search" navindex="16" style="left:584px; top:92px; width:30px; height:19px; ">
  1609. <script type="javascript" ev:event="onkeydown">
  1610. <![CDATA[
  1611. if(event.keyCode == 13){
  1612. var sRelign = ipt_relign.currentText;
  1613. if(sRelign == "") return;
  1614. if(sRelign.length == 1){
  1615. sRelign = "0"+ sRelign;
  1616. }
  1617. if(model.getValue("/root/init/relignList/M0070[cdid='"+sRelign+"']/cdnm") == ""){
  1618. model.setValue(xDschAnalyListPath+"/relign",model.getValue(xDschAnalyListPath+"/religncd"));
  1619. ipt_relign.refresh();
  1620. }else{
  1621. model.setValue(xDschAnalyListPath+"/religncd",sRelign);
  1622. model.setValue(xDschAnalyListPath+"/relign",sRelign);
  1623. cmb_religncd.refresh();
  1624. ipt_relign.refresh();
  1625. }
  1626. }
  1627. ]]>
  1628. </script>
  1629. </input>
  1630. <input id="ipt_marystat" ref="/root/main/dschanalyhist/dschanalyinfo/marystat" class="input_search" navindex="18" style="left:764px; top:92px; width:30px; height:19px; ">
  1631. <script type="javascript" ev:event="onkeydown">
  1632. <![CDATA[
  1633. if(event.keyCode == 13){
  1634. var sMaryStat = ipt_marystat.currentText;
  1635. if(sMaryStat == "") return;
  1636. if(sMaryStat.length == 1){
  1637. sMaryStat = "0" + sMaryStat;
  1638. }
  1639. if(model.getValue("/root/init/maryStatList/M0151[cdid='"+sMaryStat+"']/cdnm") == ""){
  1640. model.setValue(xDschAnalyListPath+"/marystat",model.getValue(xDschAnalyListPath+"/marystatcd"));
  1641. ipt_marystat.refresh();
  1642. }else{
  1643. model.setValue(xDschAnalyListPath+"/marystatcd",sMaryStat);
  1644. model.setValue(xDschAnalyListPath+"/marystat",sMaryStat);
  1645. cmb_marystatcd.refresh();
  1646. ipt_marystat.refresh();
  1647. }
  1648. }
  1649. ]]>
  1650. </script>
  1651. </input>
  1652. <select1 id="cmb_marystatcd" ref="/root/main/dschanalyhist/dschanalyinfo/marystatcd" class="combo_search" navindex="19" appearance="minimal" showvalue="true" style="left:795px; top:92px; width:80px; height:19px; ">
  1653. <choices>
  1654. <itemset nodeset="/root/init/maryStatList/M0151">
  1655. <label ref="cdnm"/>
  1656. <value ref="cdid"/>
  1657. </itemset>
  1658. </choices>
  1659. <script type="javascript" ev:event="xforms-value-changed">
  1660. <![CDATA[
  1661. model.setValue(xDschAnalyListPath+"/marystat", model.getValue(xDschAnalyListPath+"/marystatcd"));
  1662. ipt_marystat.refresh();
  1663. ]]>
  1664. </script>
  1665. </select1>
  1666. <input id="ipt_job" ref="/root/main/dschanalyhist/dschanalyinfo/job" class="input_search" navindex="20" style="left:584px; top:116px; width:30px; height:19px; ">
  1667. <script type="javascript" ev:event="onkeydown">
  1668. <![CDATA[
  1669. if(event.keyCode == 13){
  1670. var sJob = ipt_job.currentText;
  1671. if(sJob == "") return;
  1672. if(sJob.length == 1){
  1673. sJob = "0" + sJob;
  1674. }
  1675. if(model.getValue("/root/init/jobList/M0149[cdid='"+sJob+"']/cdnm") == ""){
  1676. model.setValue(xDschAnalyListPath+"/job",model.getValue(xDschAnalyListPath+"/jobcd"));
  1677. ipt_job.refresh();
  1678. }else{
  1679. model.setValue(xDschAnalyListPath+"/jobcd",sJob);
  1680. model.setValue(xDschAnalyListPath+"/job",sJob);
  1681. cmb_jobcd.refresh();
  1682. ipt_job.refresh();
  1683. }
  1684. }
  1685. ]]>
  1686. </script>
  1687. </input>
  1688. <select1 id="cmb_jobcd" ref="/root/main/dschanalyhist/dschanalyinfo/jobcd" class="combo_search" navindex="21" appearance="minimal" showvalue="true" style="left:616px; top:117px; width:113px; height:19px; ">
  1689. <choices>
  1690. <itemset nodeset="/root/init/jobList/M0149">
  1691. <label ref="cdnm"/>
  1692. <value ref="cdid"/>
  1693. </itemset>
  1694. </choices>
  1695. <script type="javascript" ev:event="xforms-value-changed">
  1696. <![CDATA[
  1697. model.setValue(xDschAnalyListPath+"/job",model.getValue(xDschAnalyListPath+"/jobcd"));
  1698. ipt_job.refresh();
  1699. ]]>
  1700. </script>
  1701. </select1>
  1702. <input id="ipt_jobnm" ref="/root/main/dschanalyhist/dschanalyinfo/jobnm" class="input_search" navindex="22" style="left:731px; top:117px; width:144px; height:19px; "/>
  1703. <line id="line4" class="line_3" style="x1:0px; y1:138px; x2:1194px; y2:138px; "/>
  1704. <caption id="caption38" class="cell_1" style="left:876px; top:65px; width:60px; height:23px; vertical-align:middle; ">기본주소</caption>
  1705. <caption id="caption41" class="cell_1" style="left:327px; top:115px; width:95px; height:23px; vertical-align:middle; ">수술전 재원일수</caption>
  1706. <line id="line16" class="line_2" style="x1:1px; y1:292px; x2:1195px; y2:292px; "/>
  1707. <line id="line17" class="line_3" style="x1:0px; y1:317px; x2:1194px; y2:317px; "/>
  1708. <caption id="caption10" class="cell_1" style="left:687px; top:191px; width:100px; height:23px; vertical-align:middle; ">수술사망</caption>
  1709. <caption id="caption45" class="cell_1" style="left:687px; top:294px; width:100px; height:23px; vertical-align:middle; ">상해원인분류</caption>
  1710. <caption id="caption46" class="cell_1" style="left:937px; top:190px; width:100px; height:23px; vertical-align:middle; ">감염종류2</caption>
  1711. <caption id="caption49" class="cell_1" style="left:937px; top:242px; width:100px; height:23px; vertical-align:middle; ">전염병</caption>
  1712. <caption id="caption50" class="cell_1" style="left:938px; top:268px; width:100px; height:23px; vertical-align:middle; ">합병증</caption>
  1713. <caption id="caption57" class="cell_1" style="left:937px; top:216px; width:100px; height:23px; vertical-align:middle; ">암등록여부</caption>
  1714. <button id="btn_infdis" class="btn_sw" group="tab1" selected="true" style="left:735px; top:617px; width:81px; height:22px; ">
  1715. <caption>전염병정보</caption>
  1716. <toggle case="infdis" ev:event="onclick"/>
  1717. </button>
  1718. <button id="btn_indx" class="btn_sw" group="tab1" style="left:817px; top:617px; width:81px; height:22px; ">
  1719. <caption>지표관리</caption>
  1720. <toggle case="indx" ev:event="onclick"/>
  1721. </button>
  1722. <caption id="caption55" class="cell_1" style="left:520px; top:65px; width:62px; height:23px; vertical-align:middle; ">회차</caption>
  1723. <input id="ipt_mpphontel" ref="/root/main/dschanalyhist/dschanalyinfo/mpphontel" class="input_search" navindex="28" style="left:1085px; top:117px; width:107px; height:19px; "/>
  1724. <select1 id="cmb_reinyn" ref="/root/main/dschanalyhist/dschanalyinfo/reinyn" class="combo_search" appearance="minimal" showvalue="true" style="left:822px; top:244px; width:112px; height:19px; ">
  1725. <choices>
  1726. <itemset nodeset="/root/init/useynlist/yn">
  1727. <label ref="nm"/>
  1728. <value ref="cd"/>
  1729. </itemset>
  1730. </choices>
  1731. <script type="javascript" ev:event="xforms-value-changed">
  1732. <![CDATA[
  1733. model.setValue(xDschAnalyListPath+"/reinyncd", model.getValue(xDschAnalyListPath+"/reinyn"));
  1734. ipt_reinyncd.refresh();
  1735. fCheckItemInputYN("reinyn");
  1736. ]]>
  1737. </script>
  1738. </select1>
  1739. <input id="ipt_reopresn" ref="/root/main/dschanalyhist/dschanalyinfo/reopresn" class="input_search" navindex="60" style="left:790px; top:269px; width:30px; height:19px; ">
  1740. <script type="javascript" ev:event="onkeydown">
  1741. <![CDATA[
  1742. if(event.keyCode == 13){
  1743. var sReOpResn = ipt_reopresn.currentText;
  1744. if(sReOpResn == "") return;
  1745. if(sReOpResn.length == 1){
  1746. sReOpResn = "0" + sReOpResn;
  1747. }
  1748. if(model.getValue("/root/init/reOpResnList/M0159[cdid='"+sReOpResn+"']/cdnm") == ""){
  1749. model.setValue(xDschAnalyListPath+"/reopresn",model.getValue(xDschAnalyListPath+"/reopresncd"));
  1750. ipt_reopresn.refresh();
  1751. }else{
  1752. model.setValue(xDschAnalyListPath+"/reopresncd",sReOpResn);
  1753. model.setValue(xDschAnalyListPath+"/reopresn",sReOpResn);
  1754. cmb_reopresncd.refresh();
  1755. ipt_reopresn.refresh();
  1756. }
  1757. }
  1758. ]]>
  1759. </script>
  1760. </input>
  1761. <input id="ipt_dethtype" ref="/root/main/dschanalyhist/dschanalyinfo/dethtype" class="input_search" navindex="56" style="left:790px; top:167px; width:30px; height:19px; ">
  1762. <script type="javascript" ev:event="onkeydown">
  1763. <![CDATA[
  1764. if(event.keyCode == 13){
  1765. var sDethType = ipt_dethtype.currentText;
  1766. if(sDethType == "") return;
  1767. if(sDethType.length == 1){
  1768. sDethType = "0" + sDethType;
  1769. }
  1770. if(model.getValue("/root/init/dethTypeList/M0155[cdid='"+sDethType+"']/cdnm") == ""){
  1771. model.setValue(xDschAnalyListPath+"/dethtype",model.getValue(xDschAnalyListPath+"/dethtypecd"));
  1772. ipt_dethtype.refresh();
  1773. }else{
  1774. model.setValue(xDschAnalyListPath+"/dethtypecd", sDethType);
  1775. model.setValue(xDschAnalyListPath+"/dethtype", sDethType);
  1776. cmb_dethtypecd.refresh();
  1777. ipt_dethtype.refresh();
  1778. }
  1779. }
  1780. ]]>
  1781. </script>
  1782. </input>
  1783. <input id="ipt_curerslt" ref="/root/main/dschanalyhist/dschanalyinfo/curerslt" class="input_search" navindex="49" style="left:541px; top:167px; width:30px; height:19px; ">
  1784. <script type="javascript" ev:event="onkeydown">
  1785. <![CDATA[
  1786. if(event.keyCode == 13){
  1787. var sCureRslt = ipt_curerslt.currentText;
  1788. if(sCureRslt == "") return;
  1789. if(sCureRslt.length == 1){
  1790. sCureRslt = "0"+sCureRslt;
  1791. }
  1792. if(model.getValue("/root/init/cureRsltList/M0152[cdid='"+sCureRslt+"']/cdnm") == ""){
  1793. model.setValue(xDschAnalyListPath+"/curerslt",model.getValue(xDschAnalyListPath+"/curersltcd"));
  1794. ipt_curerslt.refresh();
  1795. }else{
  1796. model.setValue(xDschAnalyListPath+"/curersltcd",sCureRslt);
  1797. model.setValue(xDschAnalyListPath+"/curerslt",sCureRslt);
  1798. ipt_curerslt.refresh();
  1799. cmb_curersltcd.refresh();
  1800. }
  1801. fCheckItemInputYN("curerslt");
  1802. }
  1803. ]]>
  1804. </script>
  1805. </input>
  1806. <select1 id="cmb_cptrgtyn" ref="/root/main/dschanalyhist/dschanalyinfo/cptrgtyn" class="combo_search" navindex="48" appearance="minimal" style="left:343px; top:296px; width:96px; height:19px; ">
  1807. <choices>
  1808. <itemset nodeset="/root/init/cptrgtlist/cptrgt">
  1809. <label ref="cdnm"/>
  1810. <value ref="cdid"/>
  1811. </itemset>
  1812. </choices>
  1813. <script type="javascript" ev:event="xforms-value-changed">
  1814. <![CDATA[
  1815. model.setValue(xDschAnalyListPath+"/cptrgtyncd", model.getValue(xDschAnalyListPath+"/cptrgtyn"));
  1816. ipt_cptrgtyncd.refresh();
  1817. ]]>
  1818. </script>
  1819. </select1>
  1820. <input id="ipt_chosprog" ref="/root/main/dschanalyhist/dschanalyinfo/chosprog" class="input_search" navindex="52" style="left:540px; top:218px; width:30px; height:19px; ">
  1821. <script type="javascript" ev:event="onkeydown">
  1822. <![CDATA[
  1823. if(event.keyCode == 13){
  1824. var sChosProg = ipt_chosprog.currentText;
  1825. if(sChosProg == "") return;
  1826. if(sChosProg.length == 1){
  1827. sChosProg = "0" + sChosProg;
  1828. }
  1829. if(model.getValue("/root/init/chosProgList/M0156[cdid='"+sChosProg+"']/cdnm") == ""){
  1830. model.setValue(xDschAnalyListPath+"/chosprog",model.getValue(xDschAnalyListPath+"/chosprogcd"));
  1831. ipt_chosprog.refresh();
  1832. }else{
  1833. model.setValue(xDschAnalyListPath+"/chosprogcd",sChosProg);
  1834. model.setValue(xDschAnalyListPath+"/chosprog",sChosProg);
  1835. cmb_chosprogcd.refresh();
  1836. ipt_chosprog.refresh();
  1837. }
  1838. }
  1839. ]]>
  1840. </script>
  1841. </input>
  1842. <input id="ipt_inpath" ref="/root/main/dschanalyhist/dschanalyinfo/inpath" class="input_search" navindex="53" style="left:540px; top:244px; width:30px; height:19px; ">
  1843. <script type="javascript" ev:event="onkeydown">
  1844. <![CDATA[
  1845. if(event.keyCode == 13){
  1846. var sInPath = ipt_inpath.currentText;
  1847. if(sInPath == "") return;
  1848. if(sInPath.length == 1){
  1849. sInPath = "0" + sInPath;
  1850. }
  1851. if(model.getValue("/root/init/inPathList/M0153[cdid='"+sInPath+"']/cdnm") == ""){
  1852. model.setValue(xDschAnalyListPath+"/inpath",model.getValue(xDschAnalyListPath+"/inpathcd"));
  1853. ipt_inpath.refresh();
  1854. }else{
  1855. model.setValue(xDschAnalyListPath+"/inpathcd",sInPath);
  1856. model.setValue(xDschAnalyListPath+"/inpath",sInPath);
  1857. cmb_inpathcd.refresh();
  1858. ipt_inpath.refresh();
  1859. }
  1860. fCheckItemInputYN("inpath");
  1861. }
  1862. ]]>
  1863. </script>
  1864. </input>
  1865. <input id="ipt_reinresn" ref="/root/main/dschanalyhist/dschanalyinfo/reinresn" class="input_search" navindex="58" style="left:790px; top:219px; width:30px; height:19px; ">
  1866. <script type="javascript" ev:event="onkeydown">
  1867. <![CDATA[
  1868. if(event.keyCode == 13){
  1869. var sReInResn = ipt_reinresn.currentText;
  1870. if(sReInResn == "") return;
  1871. if(sReInResn.length == 1){
  1872. sReInResn = "0" + sReInResn;
  1873. }
  1874. if(model.getValue("/root/init/reInResnList/M0158[cdid='"+sReInResn+"']/cdnm") == ""){
  1875. model.setValue(xDschAnalyListPath+"/reinresn",model.getValue(xDschAnalyListPath+"/reinresncd"));
  1876. ipt_reinresn.refresh();
  1877. }else{
  1878. model.setValue(xDschAnalyListPath+"/reinresncd",sReInResn);
  1879. model.setValue(xDschAnalyListPath+"/reinresn",sReInResn);
  1880. cmb_reinresncd.refresh();
  1881. ipt_reinresn.refresh();
  1882. }
  1883. fCheckItemInputYN("reinresn");
  1884. }
  1885. ]]>
  1886. </script>
  1887. </input>
  1888. <input id="ipt_reinyncd" ref="/root/main/dschanalyhist/dschanalyinfo/reinyncd" class="input_search" navindex="59" style="left:790px; top:244px; width:30px; height:19px; ">
  1889. <script type="javascript" ev:event="onkeydown">
  1890. <![CDATA[
  1891. if(event.keyCode == 13){
  1892. var sReInYNCD = ipt_reinyncd.currentText;
  1893. if(sReInYNCD == "") return;
  1894. if(sReInYNCD.length == 1){
  1895. sReInYNCD = "0" + sReInYNCD;
  1896. }
  1897. if(model.getValue("/root/init/useynlist/yn[cd='"+sReInYNCD+"']/cd") == ""){
  1898. model.setValue(xDschAnalyListPath+"/reinyncd",model.getValue(xDschAnalyListPath+"/reinyn"));
  1899. ipt_reinyncd.refresh();
  1900. }else{
  1901. model.setValue(xDschAnalyListPath+"/reinyn",sReInYNCD);
  1902. model.setValue(xDschAnalyListPath+"/reinyncd",sReInYNCD);
  1903. cmb_reinyn.refresh();
  1904. ipt_reinyncd.refresh();
  1905. }
  1906. }
  1907. ]]>
  1908. </script>
  1909. </input>
  1910. <input id="ipt_cptrgtyncd" ref="/root/main/dschanalyhist/dschanalyinfo/cptrgtyncd" class="input_search" navindex="47" style="left:311px; top:296px; width:30px; height:19px; ">
  1911. <script type="javascript" ev:event="onkeydown">
  1912. <![CDATA[
  1913. if(event.keyCode == 13){
  1914. var sCPTrgtYNCD = ipt_cptrgtyncd.currentText;
  1915. if(sCPTrgtYNCD == "") return;
  1916. if(model.getValue("/root/init/cptrgtlist/cptrgt[cdid='"+sCPTrgtYNCD+"']/cdnm") == ""){
  1917. model.setValue(xDschAnalyListPath+"/cptrgtyncd",model.getValue(xDschAnalyListPath+"/cptrgtyn"));
  1918. ipt_cptrgtyncd.refresh();
  1919. }else{
  1920. model.setValue(xDschAnalyListPath+"/cptrgtyn", sCPTrgtYNCD);
  1921. cmb_cptrgtyn.refresh();
  1922. }
  1923. }
  1924. ]]>
  1925. </script>
  1926. </input>
  1927. <select1 id="cmb_insukind" ref="/root/main/dschanalyhist/dschanalyinfo/insukind" class="combo_search" navindex="36" appearance="minimal" style="left:125px; top:296px; width:91px; height:19px; ">
  1928. <choices>
  1929. <itemset nodeset="/root/init/insukindList/P0008">
  1930. <label ref="cdnm"/>
  1931. <value ref="cdid"/>
  1932. </itemset>
  1933. </choices>
  1934. <script type="javascript" ev:event="xforms-value-changed">
  1935. <![CDATA[
  1936. model.setValue(xDschAnalyListPath+"/insukindcd", model.getValue(xDschAnalyListPath+"/insukind"));
  1937. ipt_insukindcd.refresh();
  1938. ]]>
  1939. </script>
  1940. </select1>
  1941. <input id="ipt_opdethtype" ref="/root/main/dschanalyhist/dschanalyinfo/opdethtype" class="input_search" navindex="57" style="left:790px; top:192px; width:30px; height:19px; ">
  1942. <script type="javascript" ev:event="onkeydown">
  1943. <![CDATA[
  1944. if(event.keyCode == 13){
  1945. var sOPDethType = ipt_opdethtype.currentText;
  1946. if(sOPDethType == "") return;
  1947. if(sOPDethType.length == 1){
  1948. sOPDethType = "0"+sOPDethType;
  1949. }
  1950. if(model.getValue("/root/init/opDethTypeList/M0413[cdid='"+sOPDethType+"']/cdnm") == ""){
  1951. model.setValue(xDschAnalyListPath+"/opdethtype",model.getValue(xDschAnalyListPath+"/opdethtypecd"));
  1952. ipt_opdethtype.refresh();
  1953. }else{
  1954. model.setValue(xDschAnalyListPath+"/opdethtypecd", sOPDethType);
  1955. model.setValue(xDschAnalyListPath+"/opdethtype", sOPDethType);
  1956. cmb_opdethtypecd.refresh();
  1957. ipt_opdethtype.refresh();
  1958. }
  1959. }
  1960. ]]>
  1961. </script>
  1962. </input>
  1963. <select1 id="cmb_opdethtypecd" ref="/root/main/dschanalyhist/dschanalyinfo/opdethtypecd" class="combo_search" appearance="minimal" showvalue="true" style="left:823px; top:192px; width:111px; height:19px; ">
  1964. <choices>
  1965. <itemset nodeset="/root/init/opDethTypeList/M0413">
  1966. <label ref="cdnm"/>
  1967. <value ref="cdid"/>
  1968. </itemset>
  1969. </choices>
  1970. <script type="javascript" ev:event="xforms-value-changed">
  1971. <![CDATA[
  1972. model.setValue(xDschAnalyListPath+"/opdethtype", model.getValue(xDschAnalyListPath+"/opdethtypecd"));
  1973. ipt_opdethtype.refresh();
  1974. ]]>
  1975. </script>
  1976. </select1>
  1977. <input id="ipt_erchosdt" ref="/root/main/dschanalyhist/dschanalyinfo/erchosdt" class="input_search" navindex="54" format="yyyy/mm/dd hh:nn" appearance="input" style="left:540px; top:271px; width:144px; height:19px; "/>
  1978. <input id="ipt_erstaytm" ref="/root/main/dschanalyhist/dschanalyinfo/erstaytm" class="input_search" navindex="55" maxlength="6" appearance="input" style="left:540px; top:296px; width:144px; height:19px; ">
  1979. <hint>
  1980. <![CDATA[24시간기준]]>
  1981. </hint>
  1982. </input>
  1983. <output id="output2" ref="/root/main/dschanalyhist/dschanalyinfo/lastupdtdt" format="yyyy-mm-dd hh:nn" style="left:110px; top:760px; width:120px; height:19px; font-weight:bold; text-align:left; "/>
  1984. <output id="output3" ref="/root/main/dschanalyhist/dschanalyinfo/lastupdtrnm" style="left:325px; top:760px; width:120px; height:19px; font-weight:bold; text-align:left; "/>
  1985. <input id="ipt_infccas" ref="/root/main/dschanalyhist/dschanalyinfo/infccas" class="input_search" navindex="62" style="left:1041px; top:166px; width:30px; height:19px; ">
  1986. <script type="javascript" ev:event="onkeydown">
  1987. <![CDATA[
  1988. if(event.keyCode == 13){
  1989. var code = ipt_infccas.currentText;
  1990. if(code == "") return;
  1991. if(code.length == 1){
  1992. code = "0" + code;
  1993. }
  1994. if(model.getValue("/root/init/infccaselist/M0484[cdid='"+code+"']/cdnm") == ""){
  1995. model.setValue(xDschAnalyListPath+"/infccas",model.getValue(xDschAnalyListPath+"/infccascd"));
  1996. ipt_infccas.refresh();
  1997. }else{
  1998. model.setValue(xDschAnalyListPath+"/infccascd", code);
  1999. model.setValue(xDschAnalyListPath+"/infccas", code);
  2000. cmb_infccascd.refresh();
  2001. ipt_infccas.refresh()
  2002. fGetInFcCas(code);
  2003. ipt_infcpart.refresh();
  2004. cmb_infcpartcd.refresh();
  2005. model.setValue(xDschAnalyListPath+"/infcpartcd","")
  2006. model.setValue(xDschAnalyListPath+"/infcpart","")
  2007. model.refresh();
  2008. }
  2009. }
  2010. ]]>
  2011. </script>
  2012. </input>
  2013. <select1 id="cmb_infccascd" ref="/root/main/dschanalyhist/dschanalyinfo/infccascd" class="combo_search" appearance="minimal" showvalue="true" style="left:1074px; top:166px; width:117px; height:19px; ">
  2014. <choices>
  2015. <itemset nodeset="/root/init/infccaselist/M0484">
  2016. <label ref="cdnm"/>
  2017. <value ref="cdid"/>
  2018. </itemset>
  2019. </choices>
  2020. <script type="javascript" ev:event="xforms-value-changed">
  2021. <![CDATA[
  2022. var code = model.getValue(xDschAnalyListPath+"/infccascd");
  2023. fGetInFcCas(code);
  2024. model.makeValue(xDschAnalyListPath+"/infccas", model.getValue(xDschAnalyListPath+"/infccascd"));
  2025. ipt_infccas.refresh();
  2026. cmb_infcpartcd.refresh();
  2027. ipt_infcpart.refresh();
  2028. model.setValue(xDschAnalyListPath+"/infcpart","");
  2029. model.setValue(xDschAnalyListPath+"/infcpartcd","");
  2030. model.refresh();
  2031. ]]>
  2032. </script>
  2033. </select1>
  2034. <input id="ipt_infcpart" ref="/root/main/dschanalyhist/dschanalyinfo/infcpart" class="input_search" navindex="63" style="left:1041px; top:191px; width:30px; height:19px; ">
  2035. <script type="javascript" ev:event="onkeydown">
  2036. <![CDATA[
  2037. if(event.keyCode == 13){
  2038. setInputNodeCurText();
  2039. var code = model.getValue(xDschAnalyListPath+"/infcpart");
  2040. if(code.length == 1){
  2041. code = "0" + code;
  2042. }
  2043. model.setValue(xDschAnalyListPath+"/infcpart", code);
  2044. model.setValue(xDschAnalyListPath+"/infcpartcd", code);
  2045. model.refresh();
  2046. }
  2047. ]]>
  2048. </script>
  2049. </input>
  2050. <select1 id="cmb_infcpartcd" ref="/root/main/dschanalyhist/dschanalyinfo/infcpartcd" class="combo_search" appearance="minimal" showvalue="true" style="left:1074px; top:192px; width:117px; height:19px; ">
  2051. <choices>
  2052. <itemset nodeset="/root/init/infdcpartinfo/infdcpartlist">
  2053. <label ref="cdnm"/>
  2054. <value ref="cdid"/>
  2055. </itemset>
  2056. </choices>
  2057. <script type="javascript" ev:event="xforms-value-changed">
  2058. <![CDATA[
  2059. model.setValue(xDschAnalyListPath+"/infcpart", model.getValue(xDschAnalyListPath+"/infcpartcd"));
  2060. ipt_infcpart.refresh();
  2061. ]]>
  2062. </script>
  2063. </select1>
  2064. <input id="ipt_cncrrgstyncd" ref="/root/main/dschanalyhist/dschanalyinfo/cncrrgstyncd" class="input_search" navindex="64" style="left:1041px; top:218px; width:30px; height:19px; ">
  2065. <script type="javascript" ev:event="onkeydown">
  2066. <![CDATA[
  2067. if(event.keyCode == 13){
  2068. var sCncrRgstYN = ipt_cncrrgstyncd.currentText;
  2069. if(sCncrRgstYN == "") return;
  2070. if(sCncrRgstYN.length == 1){
  2071. sCncrRgstYN = "0" + sCncrRgstYN;
  2072. }
  2073. if(model.getValue("/root/init/useynlist/yn[cd='"+sCncrRgstYN+"']/nm") == ""){
  2074. model.setValue(xDschAnalyListPath+"/cncrrgstyncd",model.getValue(xDschAnalyListPath+"/cncrrgstyn"));
  2075. ipt_cncrrgstyncd.refresh();
  2076. }else{
  2077. model.setValue(xDschAnalyListPath+"/cncrrgstyn", sCncrRgstYN);
  2078. model.setValue(xDschAnalyListPath+"/cncrrgstyncd", sCncrRgstYN);
  2079. cmb_cncrrgstyn.refresh();
  2080. ipt_cncrrgstyncd.refresh();
  2081. }
  2082. }
  2083. ]]>
  2084. </script>
  2085. </input>
  2086. <select1 id="cmb_cncrrgstyn" ref="/root/main/dschanalyhist/dschanalyinfo/cncrrgstyn" class="combo_search" appearance="minimal" showvalue="true" style="left:1074px; top:217px; width:117px; height:19px; ">
  2087. <choices>
  2088. <itemset nodeset="/root/init/useynlist/yn">
  2089. <label ref="nm"/>
  2090. <value ref="cd"/>
  2091. </itemset>
  2092. </choices>
  2093. <script type="javascript" ev:event="xforms-value-changed">
  2094. <![CDATA[
  2095. model.setValue(xDschAnalyListPath+"/cncrrgstyncd",model.getValue(xDschAnalyListPath+"/cncrrgstyn"));
  2096. ipt_cncrrgstyncd.refresh();
  2097. ]]>
  2098. </script>
  2099. </select1>
  2100. <input id="ipt_infdisyncd" ref="/root/main/dschanalyhist/dschanalyinfo/infdisyncd" class="input_search" navindex="65" style="left:1041px; top:244px; width:30px; height:19px; ">
  2101. <script type="javascript" ev:event="onkeydown">
  2102. <![CDATA[
  2103. if(event.keyCode == 13){
  2104. var sInfDisYN = ipt_infdisyncd.currentText;
  2105. if(sInfDisYN == "") return;
  2106. if(sInfDisYN.length == 1){
  2107. sInfDisYN = "0" + sInfDisYN;
  2108. }
  2109. if(model.getValue("/root/init/useynlist/yn[cd='"+sInfDisYN+"']/nm") == ""){
  2110. model.setValue(xDschAnalyListPath+"/infdisyncd",model.getValue(xDschAnalyListPath+"/infdisyn"));
  2111. ipt_infdisyncd.refresh();
  2112. }else{
  2113. model.setValue(xDschAnalyListPath+"/infdisyn", sInfDisYN);
  2114. model.setValue(xDschAnalyListPath+"/infdisyncd", sInfDisYN);
  2115. cmb_infdisyn.refresh();
  2116. ipt_infdisyncd.refresh();
  2117. }
  2118. }
  2119. ]]>
  2120. </script>
  2121. </input>
  2122. <select1 id="cmb_infdisyn" ref="/root/main/dschanalyhist/dschanalyinfo/infdisyn" class="combo_search" appearance="minimal" showvalue="true" style="left:1074px; top:244px; width:117px; height:19px; ">
  2123. <choices>
  2124. <itemset nodeset="/root/init/useynlist/yn">
  2125. <label ref="nm"/>
  2126. <value ref="cd"/>
  2127. </itemset>
  2128. </choices>
  2129. <script type="javascript" ev:event="xforms-value-changed">
  2130. <![CDATA[
  2131. model.setValue(xDschAnalyListPath+"/infdisyncd",model.getValue(xDschAnalyListPath+"/infdisyn"));
  2132. ipt_infdisyncd.refresh();
  2133. ]]>
  2134. </script>
  2135. </select1>
  2136. <input id="ipt_cmpl" ref="/root/main/dschanalyhist/dschanalyinfo/cmpl" class="input_search" navindex="66" style="left:1041px; top:270px; width:30px; height:19px; ">
  2137. <script type="javascript" ev:event="onkeydown">
  2138. <![CDATA[
  2139. if(event.keyCode == 13){
  2140. var sCmpl = ipt_cmpl.currentText;
  2141. if(sCmpl == "") return;
  2142. if(sCmpl.length == 1) {
  2143. sCmpl = "0"+sCmpl;
  2144. }
  2145. if(model.getValue("/root/init/cmpllist/M0414[cdid='"+sCmpl+"']/cdnm") == ""){
  2146. model.setValue(xDschAnalyListPath+"/cmpl",model.getValue(xDschAnalyListPath+"/cmplcd"));
  2147. ipt_cmpl.refresh();
  2148. }else{
  2149. model.setValue(xDschAnalyListPath+"/cmplcd", sCmpl);
  2150. model.setValue(xDschAnalyListPath+"/cmpl", sCmpl);
  2151. cmb_cmplcd.refresh();
  2152. ipt_cmpl.refresh();
  2153. }
  2154. }
  2155. ]]>
  2156. </script>
  2157. </input>
  2158. <select1 id="cmb_cmplcd" ref="/root/main/dschanalyhist/dschanalyinfo/cmplcd" class="combo_search" appearance="minimal" showvalue="true" style="left:1074px; top:270px; width:117px; height:19px; ">
  2159. <choices>
  2160. <itemset nodeset="/root/init/cmpllist/M0414">
  2161. <label ref="cdnm"/>
  2162. <value ref="cdid"/>
  2163. </itemset>
  2164. </choices>
  2165. <script type="javascript" ev:event="xforms-value-changed">
  2166. <![CDATA[
  2167. model.setValue(xDschAnalyListPath+"/cmpl",model.getValue(xDschAnalyListPath+"/cmplcd"));
  2168. ipt_cmpl.refresh();
  2169. ]]>
  2170. </script>
  2171. </select1>
  2172. <input id="ipt_spcscnt" ref="/root/main/dschanalyhist/dschanalyinfo/spcscnt" class="input_search" navindex="67" format="####" appearance="input" style="left:1040px; top:296px; width:35px; height:19px; ">
  2173. <script type="javascript" ev:event="xforms-value-changed">
  2174. <![CDATA[
  2175. var spcscnt = model.getValue(xDschAnalyListPath+"/spcscnt");
  2176. var spcnscnt = model.getValue(xDschAnalyListPath+"/spcnscnt");
  2177. if(spcscnt == "") spcscnt = 0;
  2178. if(spcnscnt == "") spcnscnt = 0;
  2179. if(spcscnt == "" && spcnscnt == ""){
  2180. model.setValue(xDschAnalyListPath+"/spctotcnt","");
  2181. }else{
  2182. model.setValue(xDschAnalyListPath+"/spctotcnt",eval(spcscnt)+eval(spcnscnt));
  2183. }
  2184. ipt_spctotcnt.refresh();
  2185. ]]>
  2186. </script>
  2187. </input>
  2188. <input id="ipt_spcnscnt" ref="/root/main/dschanalyhist/dschanalyinfo/spcnscnt" class="input_search" navindex="68" format="####" appearance="input" style="left:1086px; top:296px; width:39px; height:19px; ">
  2189. <script type="javascript" ev:event="xforms-value-changed">
  2190. <![CDATA[
  2191. var spcscnt = model.getValue(xDschAnalyListPath+"/spcscnt");
  2192. var spcnscnt = model.getValue(xDschAnalyListPath+"/spcnscnt");
  2193. if(spcscnt == "") spcscnt = 0;
  2194. if(spcnscnt == "") spcnscnt = 0;
  2195. if(spcscnt == "" && spcnscnt == ""){
  2196. model.setValue(xDschAnalyListPath+"/spctotcnt","");
  2197. }else{
  2198. model.setValue(xDschAnalyListPath+"/spctotcnt",eval(spcscnt)+eval(spcnscnt));
  2199. }
  2200. ipt_spctotcnt.refresh();
  2201. ]]>
  2202. </script>
  2203. </input>
  2204. <select1 id="cmb_wundcasclscd" ref="/root/main/dschanalyhist/dschanalyinfo/wundcasclscd" class="combo_search" appearance="minimal" showvalue="true" style="left:823px; top:295px; width:113px; height:19px; ">
  2205. <choices>
  2206. <itemset nodeset="/root/init/wundcasclslist/M0415">
  2207. <label ref="cdnm"/>
  2208. <value ref="cdid"/>
  2209. </itemset>
  2210. </choices>
  2211. <script type="javascript" ev:event="xforms-value-changed">
  2212. <![CDATA[
  2213. model.setValue(xDschAnalyListPath+"/wundcascls", model.getValue(xDschAnalyListPath+"/wundcasclscd"));
  2214. ipt_wundcascls.refresh();
  2215. ]]>
  2216. </script>
  2217. </select1>
  2218. <input id="ipt_indept" ref="/root/main/dschanalyhist/dschanalyinfo/indept" class="input_search" navindex="83" style="left:93px; top:167px; width:30px; height:19px; ">
  2219. <script type="javascript" ev:event="onkeydown">
  2220. <![CDATA[
  2221. if(event.keyCode == 13){
  2222. var sInDept = ipt_indept.currentText;
  2223. var sInDeptCd = model.getValue(xDschAnalyListPath+"/indeptcd");
  2224. if(sInDept == ""){
  2225. model.setValue(xDschAnalyListPath+"/indept", model.getValue("/root/init/indeptlist/dept[deptcd='"+sInDeptCd+"']/deptengabbr"));
  2226. }else{
  2227. if(model.getValue("/root/init/indeptlist/dept[deptengabbr='"+sInDept+"']/deptcd") == ""){
  2228. model.setValue(xDschAnalyListPath+"/indept", model.getValue("/root/init/indeptlist/dept[deptcd='"+sInDeptCd+"']/deptengabbr"));
  2229. }else{
  2230. model.setValue(xDschAnalyListPath+"/indeptcd", model.getValue("/root/init/indeptlist/dept[deptengabbr='"+sInDept+"']/deptcd"));
  2231. model.setValue(xDschAnalyListPath+"/indept", sInDept);
  2232. //fGetDrInfo("indept");
  2233. }
  2234. }
  2235. cmb_indeptcd.refresh();
  2236. ipt_indept.refresh();
  2237. }
  2238. ]]>
  2239. </script>
  2240. </input>
  2241. <input id="ipt_indg" ref="/root/main/dschanalyhist/dschanalyinfo/indg" class="input_search" navindex="15" maxlength="3" format="###" appearance="input" style="left:583px; top:67px; width:97px; height:19px; ">
  2242. <script type="javascript" ev:event="xforms-value-changed">
  2243. <![CDATA[
  2244. if(model.getValue(xDschAnalyListPath+"/indg") == "1"){
  2245. model.setValue(xDschAnalyListPath+"/reinyncd","");
  2246. model.setValue(xDschAnalyListPath+"/reinyn","");
  2247. model.setValue(xDschAnalyListPath+"/reinresncd","");
  2248. model.setValue(xDschAnalyListPath+"/reinresn","");
  2249. ipt_reinresn.disabled = true;
  2250. cmb_reinresncd.disabled = true;
  2251. ipt_reinyncd.disabled = true;
  2252. cmb_reinyn.disabled = true;
  2253. }else{
  2254. ipt_reinresn.disabled = false;
  2255. cmb_reinresncd.disabled = false;
  2256. ipt_reinyncd.disabled = false;
  2257. cmb_reinyn.disabled = false;
  2258. }
  2259. ]]>
  2260. </script>
  2261. </input>
  2262. <input id="ipt_dschdept" ref="/root/main/dschanalyhist/dschanalyinfo/dschdept" class="input_search" navindex="37" style="left:312px; top:167px; width:30px; height:19px; ">
  2263. <script type="javascript" ev:event="onkeydown">
  2264. <![CDATA[
  2265. if(event.keyCode == 13){
  2266. var sDschDept = ipt_dschdept.currentText;
  2267. var sDschDeptCd = model.getValue(xDschAnalyListPath+"/dschdeptcd");
  2268. if(sDschDept == ""){
  2269. model.setValue(xDschAnalyListPath+"/dschdept", model.getValue("/root/init/dschdeptlist/dept[deptcd='"+sDschDeptCd+"']/deptengabbr"));
  2270. }else{
  2271. if(model.getValue("/root/init/dschdeptlist/dept[deptengabbr='"+sDschDept+"']/deptcd") == ""){
  2272. model.setValue(xDschAnalyListPath+"/dschdept", model.getValue("/root/init/deptlist/dept[deptcd='"+sDschDeptCd+"']/deptengabbr"));
  2273. }else{
  2274. model.setValue(xDschAnalyListPath+"/dschdeptcd", model.getValue("/root/init/dschdeptlist/dept[deptengabbr='"+sDschDept+"']/deptcd"));
  2275. model.setValue(xDschAnalyListPath+"/dschdept", sDschDept);
  2276. //fGetDrInfo("dschdept");
  2277. }
  2278. }
  2279. ipt_dschdept.refresh();
  2280. cmb_dschdeptcd.refresh();
  2281. }
  2282. ]]>
  2283. </script>
  2284. </input>
  2285. <select1 id="cmb_dschdeptcd" ref="/root/main/dschanalyhist/dschanalyinfo/dschdeptcd" class="combo_search" navindex="38" appearance="minimal" style="left:344px; top:167px; width:94px; height:19px; ">
  2286. <choices>
  2287. <itemset nodeset="/root/init/dschdeptlist/dept">
  2288. <label ref="depthngnm"/>
  2289. <value ref="deptcd"/>
  2290. </itemset>
  2291. </choices>
  2292. <script type="javascript" ev:event="xforms-select">
  2293. <![CDATA[
  2294. // fGetDrInfo("dschdept");
  2295. model.setValue(xDschAnalyListPath+"/dschdept", model.getValue("/root/init/dschdeptlist/dept["+(cmb_dschdeptcd.focusIndex+1)+"]/deptengabbr"));
  2296. ipt_dschdept.refresh();
  2297. ]]>
  2298. </script>
  2299. </select1>
  2300. <select1 id="cmb_indeptcd" ref="/root/main/dschanalyhist/dschanalyinfo/indeptcd" class="combo_search" navindex="85" appearance="minimal" style="left:127px; top:167px; width:89px; height:19px; ">
  2301. <choices>
  2302. <itemset nodeset="/root/init/indeptlist/dept">
  2303. <label ref="depthngnm"/>
  2304. <value ref="deptcd"/>
  2305. </itemset>
  2306. </choices>
  2307. <script type="javascript" ev:event="xforms-select">
  2308. <![CDATA[
  2309. // fGetDrInfo("indept");
  2310. model.setValue(xDschAnalyListPath+"/indept", model.getValue("/root/init/indeptlist/dept["+(cmb_indeptcd.focusIndex+1)+"]/deptengabbr"));
  2311. ipt_indept.refresh();
  2312. ]]>
  2313. </script>
  2314. </select1>
  2315. <button id="btn_init" class="btn4_letter3" navindex="107" style="left:1069px; top:11px; width:68px; height:22px; ">
  2316. <caption>초기화</caption>
  2317. <script type="javascript" ev:event="DOMActivate">
  2318. <![CDATA[
  2319. fClearDschInfo();
  2320. ]]>
  2321. </script>
  2322. </button>
  2323. <switch id="switch2" style="left:732px; top:503px; width:453px; height:110px; ">
  2324. <case id="icudetlinfo" selected="true" style="left:0px; top:0px; width:453px; height:128px; ">
  2325. <datagrid id="grd_iculist" nodeset="/root/main/dschanalyhist/iculist" caption="중환자실^진료과약어^진료과^orddeptcd^재원일수^총재원일수^입실일^퇴실일^사망여부^재입실여부^pid^dschdd^dsicuno" colsep="^" colwidth="80, 80, 83, 100, 80, 100, 90, 90, 60, 80, 100, 100, 100" dataheight="23" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" selectionmode="free" style="left:0px; top:2px; width:449px; height:104px; ">
  2326. <col editmode="input" ref="icucd" type="combo">
  2327. <choices>
  2328. <itemset nodeset="/root/init/icudeptlist/icudept">
  2329. <label ref="deptnm"/>
  2330. <value ref="deptcd"/>
  2331. </itemset>
  2332. </choices>
  2333. </col>
  2334. <col editmode="input" imemode="alpha" ref="orddeptengabbr" type="input"/>
  2335. <col ref="orddepthngnm" type="output"/>
  2336. <col ref="orddeptcd" visibility="hidden"/>
  2337. <col ref="inhospdayno" type="input" style="text-align:right; "/>
  2338. <col ref="totinhospdayno" visibility="hidden" style="text-align:right; "/>
  2339. <col ref="inrmdd" type="inputdate"/>
  2340. <col ref="outrmdd" type="inputdate"/>
  2341. <col checkvalue="Y,N" ref="dethyn" type="checkbox"/>
  2342. <col checkvalue="Y,N" ref="reinyn" type="checkbox"/>
  2343. <col ref="pid" visibility="hidden"/>
  2344. <col ref="dschdd" visibility="hidden"/>
  2345. <col ref="dsicuno" visibility="hidden"/>
  2346. <script type="javascript" ev:event="xforms-value-changed">
  2347. <![CDATA[
  2348. var iStndRow = grd_iculist.row;
  2349. var iCol = grd_iculist.col;
  2350. if(iCol==1){
  2351. var sICUCd = model.getValue("/root/main/dschanalyhist/iculist["+iStndRow+"]/icucd");
  2352. var sInHospDayNo = 0;
  2353. var sTotInHospDayNo = 0;
  2354. for(var iRow = grd_iculist.fixedrows; iRow <= (grd_iculist.rows-grd_iculist.fixedrows); iRow++){
  2355. if(model.getValue("/root/main/dschanalyhist/iculist["+iRow+"]/icucd") == sICUCd){
  2356. sInHospDayNo = model.getValue("/root/main/dschanalyhist/iculist["+iRow+"]/inhospdayno");
  2357. if(sInHospDayNo == "") sInHospDayNo = 0;
  2358. sTotInHospDayNo += eval(sInHospDayNo);
  2359. }
  2360. }
  2361. if(sTotInHospDayNo > 0 ){
  2362. iICUTotRow = grd_icutotlist.findRow(sICUCd, grd_icutotlist.fixedrows, 1);
  2363. if(iICUTotRow<1){
  2364. grd_icutotlist.addRow();
  2365. var iTrgtRow = grd_icutotlist.rows - grd_icutotlist.fixedrows;
  2366. model.setValue(xICUTotListPath+"["+iTrgtRow+"]/deptcd",sICUCd);
  2367. model.setValue(xICUTotListPath+"["+iTrgtRow+"]/totinhospdayno", sTotInHospDayNo);
  2368. }else{
  2369. model.setValue(xICUTotListPath+"["+iICUTotRow+"]/totinhospdayno", sTotInHospDayNo);
  2370. }
  2371. }
  2372. }
  2373. var iStatus = grd_iculist.rowStatus(iStndRow);
  2374. var sDsicuNo = "";
  2375. if(iStatus == 2){
  2376. sDsicuNo = model.getValue("/root/main/dschanalyhist/iculist["+iStndRow+"]/dsicuno");
  2377. if(instance1.selectSingleNode("/root/main/dschanalyhist/iculist["+iStndRow+"]").xml == instance1.selectSingleNode("/root/temp/dschanalyhist/iculist[dsicuno='"+sDsicuNo+"']").xml){
  2378. grd_iculist.rowStatus(iStndRow) = 0;
  2379. }
  2380. }
  2381. ]]>
  2382. </script>
  2383. <script type="javascript" ev:event="onendedit">
  2384. <![CDATA[
  2385. /* var iRow = grd_iculist.row;
  2386. var iCol = grd_iculist.col;
  2387. if(iCol == 1){
  2388. var sDeptCd = grd_iculist.valueMatrix(iRow, iCol);
  2389. if(model.getValue("/root/init/icudeptlist/icudept[deptcd='"+sDeptCd+"']/deptcd") == ""){
  2390. grd_iculist.valueMatrix(iRow, iCol) = "";
  2391. }
  2392. }
  2393. var iStatus = grd_iculist.rowStatus(iRow);
  2394. var sDsicuNo = "";
  2395. if(iStatus == 2){
  2396. sDsicuNo = model.getValue("/root/main/dschanalyhist/iculist["+iRow+"]/dsicuno");
  2397. if(instance1.selectSingleNode("/root/main/dschanalyhist/iculist["+iRow+"]").xml == instance1.selectSingleNode("/root/temp/dschanalyhist/iculist[dsicuno='"+sDsicuNo+"']").xml){
  2398. grd_iculist.rowStatus(iRow) = 0;
  2399. }
  2400. }*/
  2401. var iRow = grd_iculist.row - grd_iculist.fixedRows + 1;
  2402. var inrmdd = model.getValue("/root/main/dschanalyhist/iculist["+iRow+"]/inrmdd");
  2403. var orddeptengabbr = model.getValue("/root/main/dschanalyhist/iculist["+iRow+"]/orddeptengabbr");
  2404. if(grd_iculist.col==2){
  2405. if(grd_iculist.valueMatrix(iRow,2)==""){
  2406. return;
  2407. }
  2408. if(inrmdd==""){
  2409. messageBox("입실일자를 먼저","C001");
  2410. return;
  2411. }
  2412. if(event.keyCode == 13){
  2413. var iRow = grd_iculist.row - grd_iculist.fixedRows + 1;
  2414. var inrmdd = model.getValue("/root/main/dschanalyhist/iculist["+iRow+"]/inrmdd");
  2415. var orddeptengabbr = model.getValue("/root/main/dschanalyhist/iculist["+iRow+"]/orddeptengabbr");
  2416. model.makeValue("root/send/stnddd",inrmdd);
  2417. model.makeValue("root/send/deptengabbr",grd_iculist.valueMatrix(iRow,2));
  2418. if(submit("TRMRD00405")){
  2419. var depthngnm = model.getValue("/root/temp/stndeptlist/stndept/depthngnm")
  2420. var deptcd = model.getValue("/root/temp/stndeptlist/stndept/deptcd")
  2421. var deptengabbr =model.getValue("/root/temp/stndeptlist/stndept/deptengabbr")
  2422. grd_iculist.valueMatrix(iRow,2)=deptengabbr;
  2423. grd_iculist.valueMatrix(iRow,3)=depthngnm;
  2424. grd_iculist.valueMatrix(iRow,4)=deptcd;
  2425. }
  2426. model.removenodeset("/root/send");
  2427. }
  2428. }
  2429. grd_iculist.refresh();
  2430. ]]>
  2431. </script>
  2432. </datagrid>
  2433. </case>
  2434. <case id="icutotinfo">
  2435. <datagrid id="grd_icutotlist" nodeset="/root/main/dschanalyhist/icutotlist/icudept" caption="중환자실^총재원일수" colsep="^" colwidth="196, 206" dataheight="23" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" selectionmode="free" style="left:0px; top:2px; width:449px; height:103px; ">
  2436. <col ref="deptcd" type="combo">
  2437. <choices>
  2438. <itemset nodeset="/root/init/icudeptlist/icudept">
  2439. <label ref="deptnm"/>
  2440. <value ref="deptcd"/>
  2441. </itemset>
  2442. </choices>
  2443. </col>
  2444. <col ref="totinhospdayno" style="text-align:right; "/>
  2445. <script type="javascript" ev:event="xforms-value-changed">
  2446. <![CDATA[
  2447. var iStndRow = grd_iculist.row;
  2448. var iCol = grd_iculist.col;
  2449. if(iCol == 5){
  2450. var sICUCd = model.getValue("/root/main/dschanalyhist/iculist["+iStndRow+"]/icucd");
  2451. var sInHospDayNo = 0;
  2452. var sTotInHospDayNo = 0;
  2453. for(var iRow = grd_iculist.fixedrows; iRow <= (grd_iculist.rows-grd_iculist.fixedrows); iRow++){
  2454. if(model.getValue("/root/main/dschanalyhist/iculist["+iRow+"]/icucd") == sICUCd){
  2455. sInHospDayNo = model.getValue("/root/main/dschanalyhist/iculist["+iRow+"]/inhospdayno");
  2456. if(sInHospDayNo == "") sInHospDayNo = 0;
  2457. sTotInHospDayNo += eval(sInHospDayNo);
  2458. }
  2459. }
  2460. if(sTotInHospDayNo > 0 ){
  2461. for(var iRow = grd_iculist.fixedrows; iRow <= (grd_iculist.rows-grd_iculist.fixedrows); iRow++){
  2462. if(model.getValue("/root/main/dschanalyhist/iculist["+iRow+"]/icucd") == sICUCd){
  2463. model.setValue("/root/main/dschanalyhist/iculist["+iRow+"]/totinhospdayno", sTotInHospDayNo);
  2464. }
  2465. }
  2466. }
  2467. }
  2468. ]]>
  2469. </script>
  2470. </datagrid>
  2471. </case>
  2472. </switch>
  2473. <button id="btn_icudetlinfo" class="btn_sw9" group="tab" selected="true" style="left:815px; top:482px; width:104px; height:22px; ">
  2474. <caption>중환자실 상세정보</caption>
  2475. <toggle case="icudetlinfo" ev:event="onclick"/>
  2476. <script type="javascript" ev:event="DOMActivate">
  2477. <![CDATA[
  2478. model.toggle("icddetlinfo");
  2479. btn_addrow3.visible = true;
  2480. btn_delrow3.visible = true;
  2481. ]]>
  2482. </script>
  2483. </button>
  2484. <button id="btn_icuinfo" class="btn_sw6" group="tab" style="left:734px; top:482px; width:81px; height:22px; ">
  2485. <caption>중환자실정보</caption>
  2486. <toggle case="icutotinfo" ev:event="onclick"/>
  2487. <script type="javascript" ev:event="DOMActivate">
  2488. <![CDATA[
  2489. model.toggle("icutotinfo");
  2490. btn_addrow3.visible = false;
  2491. btn_delrow3.visible = false;
  2492. ]]>
  2493. </script>
  2494. </button>
  2495. <caption id="caption62" style="left:294px; top:321px; width:45px; height:20px; font-weight:bold; ">전신 :</caption>
  2496. <input id="input2" ref="/root/main/dschanalyhist/dschanalyinfo/gnrlanstcnt" class="input_search" navindex="82" maxlength="3" format="###" appearance="input" style="left:335px; top:320px; width:55px; height:19px; "/>
  2497. <caption id="caption63" style="left:400px; top:321px; width:45px; height:20px; font-weight:bold; ">부분 :</caption>
  2498. <caption id="caption64" style="left:510px; top:320px; width:45px; height:20px; font-weight:bold; ">국소 :</caption>
  2499. <input id="input3" ref="/root/main/dschanalyhist/dschanalyinfo/prtanstcnt" class="input_search" navindex="84" maxlength="3" format="###" appearance="input" style="left:440px; top:320px; width:55px; height:19px; "/>
  2500. <input id="input4" ref="/root/main/dschanalyhist/dschanalyinfo/tpclanstcnt" class="input_search" navindex="86" maxlength="3" format="###" appearance="input" style="left:551px; top:320px; width:55px; height:19px; "/>
  2501. <caption id="caption65" style="left:1076px; top:296px; width:10px; height:20px; ">/</caption>
  2502. <input id="ipt_spctotcnt" ref="/root/main/dschanalyhist/dschanalyinfo/spctotcnt" class="input_search" navindex="69" format="####" appearance="input" style="left:1128px; top:296px; width:64px; height:19px; "/>
  2503. <input id="ipt_statcnts" ref="/root/main/cond/statcnts" disabled="true" style="left:735px; top:762px; width:460px; height:19px; font-weight:bold; "/>
  2504. <input id="ipt_indrid" ref="/root/main/dschanalyhist/dschanalyinfo/indrid" class="input_search" navindex="87" appearance="input" style="left:93px; top:192px; width:57px; height:19px; ">
  2505. <script type="javascript" ev:event="onkeydown">
  2506. <![CDATA[
  2507. if(event.keyCode == 13){
  2508. clearParameter("reqflag");
  2509. clearParameter("usernm");
  2510. clearParameter("stnddd");
  2511. clearParameter("autortnyn");
  2512. setParameter("reqflag", "userid");
  2513. setParameter("userid", ipt_indrid.currentText);
  2514. setParameter("stnddd", model.getValue(xDschAnalyListPath+"/indd"));
  2515. setParameter("autortnyn","Y");
  2516. model.resetInstanceNode("/root/temp/userinfo");
  2517. modal("SPMRF03200");
  2518. var userid = model.getValue("/root/temp/userinfo/userid")
  2519. if(userid!=""){
  2520. model.setValue(xDschAnalyListPath+"/indrid", model.getValue("/root/temp/userinfo/userid"));
  2521. model.setValue(xDschAnalyListPath+"/indrnm", model.getValue("/root/temp/userinfo/usernm"));
  2522. ipt_indrid.refresh();
  2523. ipt_indrnm.refresh();
  2524. }else{
  2525. return;
  2526. }
  2527. }
  2528. ]]>
  2529. </script>
  2530. </input>
  2531. <input id="ipt_indrnm" ref="/root/main/dschanalyhist/dschanalyinfo/indrnm" class="input_search" navindex="29" appearance="input" style="left:152px; top:192px; width:64px; height:19px; ">
  2532. <script type="javascript" ev:event="onkeydown">
  2533. <![CDATA[
  2534. if(event.keyCode == 13){
  2535. clearParameter("reqflag");
  2536. clearParameter("usernm");
  2537. clearParameter("stnddd");
  2538. clearParameter("autortnyn");
  2539. setParameter("reqflag", "usernm");
  2540. setParameter("usernm", ipt_indrnm.currentText);
  2541. setParameter("stnddd", model.getValue(xDschAnalyListPath+"/indd"));
  2542. setParameter("autortnyn","Y");
  2543. model.resetInstanceNode("/root/temp/userinfo");
  2544. modal("SPMRF03200");
  2545. var userid = model.getValue("/root/temp/userinfo/userid")
  2546. if(userid!=""){
  2547. model.setValue(xDschAnalyListPath+"/indrid", model.getValue("/root/temp/userinfo/userid"));
  2548. model.setValue(xDschAnalyListPath+"/indrnm", model.getValue("/root/temp/userinfo/usernm"));
  2549. ipt_indrid.refresh();
  2550. ipt_indrnm.refresh();
  2551. }else{
  2552. return;
  2553. }
  2554. }
  2555. ]]>
  2556. </script>
  2557. </input>
  2558. <input id="ipt_dschdrid" ref="/root/main/dschanalyhist/dschanalyinfo/dschdrid" class="input_search" navindex="39" appearance="input" style="left:312px; top:192px; width:58px; height:19px; ">
  2559. <script type="javascript" ev:event="onkeydown">
  2560. <![CDATA[
  2561. if(event.keyCode == 13){
  2562. clearParameter("reqflag");
  2563. clearParameter("usernm");
  2564. clearParameter("stnddd");
  2565. clearParameter("autortnyn");
  2566. setParameter("reqflag", "userid");
  2567. setParameter("userid", ipt_dschdrid.currentText);
  2568. setParameter("stnddd", model.getValue(xDschAnalyListPath+"/dschdd"));
  2569. setParameter("autortnyn","Y");
  2570. model.resetInstanceNode("/root/temp/userinfo");
  2571. modal("SPMRF03200");
  2572. var userid = model.getValue("/root/temp/userinfo/userid")
  2573. if(userid!=""){
  2574. model.setValue(xDschAnalyListPath+"/dschdrid", model.getValue("/root/temp/userinfo/userid"));
  2575. model.setValue(xDschAnalyListPath+"/dschdrnm", model.getValue("/root/temp/userinfo/usernm"));
  2576. ipt_dschdrid.refresh();
  2577. ipt_dschdrnm.refresh();
  2578. }else{
  2579. return;
  2580. }
  2581. }
  2582. ]]>
  2583. </script>
  2584. </input>
  2585. <input id="ipt_dschdrnm" ref="/root/main/dschanalyhist/dschanalyinfo/dschdrnm" class="input_search" navindex="40" appearance="input" style="left:372px; top:192px; width:66px; height:19px; ">
  2586. <script type="javascript" ev:event="onkeydown">
  2587. <![CDATA[
  2588. if(event.keyCode == 13){
  2589. clearParameter("reqflag");
  2590. clearParameter("usernm");
  2591. clearParameter("stnddd");
  2592. clearParameter("autortnyn");
  2593. setParameter("reqflag", "usernm");
  2594. setParameter("usernm", ipt_dschdrnm.currentText);
  2595. setParameter("stnddd", model.getValue(xDschAnalyListPath+"/dschdd"));
  2596. setParameter("autortnyn","Y");
  2597. model.resetInstanceNode("/root/temp/userinfo");
  2598. modal("SPMRF03200");
  2599. var userid = model.getValue("/root/temp/userinfo/userid")
  2600. if(userid!=""){
  2601. model.setValue(xDschAnalyListPath+"/dschdrid", model.getValue("/root/temp/userinfo/userid"));
  2602. model.setValue(xDschAnalyListPath+"/dschdrnm", model.getValue("/root/temp/userinfo/usernm"));
  2603. ipt_dschdrid.refresh();
  2604. ipt_dschdrnm.refresh();
  2605. }else{
  2606. return;
  2607. }
  2608. }
  2609. ]]>
  2610. </script>
  2611. </input>
  2612. <input id="ipt_inapprtcdrid" ref="/root/main/dschanalyhist/dschanalyinfo/inapprtcdrid" class="input_search" navindex="30" appearance="input" style="left:93px; top:218px; width:57px; height:19px; ">
  2613. <script type="javascript" ev:event="onkeydown">
  2614. <![CDATA[
  2615. if(event.keyCode == 13){
  2616. clearParameter("reqflag");
  2617. clearParameter("usernm");
  2618. clearParameter("stnddd");
  2619. clearParameter("autortnyn");
  2620. setParameter("reqflag", "userid");
  2621. setParameter("userid", ipt_inapprtcdrid.currentText);
  2622. setParameter("stnddd", model.getValue(xDschAnalyListPath+"/indd"));
  2623. setParameter("autortnyn","Y");
  2624. model.resetInstanceNode("/root/temp/userinfo");
  2625. modal("SPMRF03200");
  2626. var userid = model.getValue("/root/temp/userinfo/userid")
  2627. if(userid!=""){
  2628. model.setValue(xDschAnalyListPath+"/inapprtcdrid", model.getValue("/root/temp/userinfo/userid"));
  2629. model.setValue(xDschAnalyListPath+"/inapprtcdrnm", model.getValue("/root/temp/userinfo/usernm"));
  2630. ipt_inapprtcdrid.refresh();
  2631. ipt_inapprtcdrnm.refresh();
  2632. }else{
  2633. return;
  2634. }
  2635. }
  2636. ]]>
  2637. </script>
  2638. </input>
  2639. <input id="ipt_inapprtcdrnm" ref="/root/main/dschanalyhist/dschanalyinfo/inapprtcdrnm" class="input_search" navindex="31" appearance="input" style="left:152px; top:218px; width:64px; height:19px; ">
  2640. <script type="javascript" ev:event="onkeydown">
  2641. <![CDATA[
  2642. if(event.keyCode == 13){
  2643. clearParameter("reqflag");
  2644. clearParameter("usernm");
  2645. clearParameter("stnddd");
  2646. clearParameter("autortnyn");
  2647. setParameter("reqflag", "usernm");
  2648. setParameter("usernm", ipt_inapprtcdrnm.currentText);
  2649. setParameter("stnddd", model.getValue(xDschAnalyListPath+"/indd"));
  2650. setParameter("autortnyn","Y");
  2651. model.resetInstanceNode("/root/temp/userinfo");
  2652. modal("SPMRF03200");
  2653. var userid = model.getValue("/root/temp/userinfo/userid")
  2654. if(userid!=""){
  2655. model.setValue(xDschAnalyListPath+"/inapprtcdrid", model.getValue("/root/temp/userinfo/userid"));
  2656. model.setValue(xDschAnalyListPath+"/inapprtcdrnm", model.getValue("/root/temp/userinfo/usernm"));
  2657. ipt_inapprtcdrid.refresh();
  2658. ipt_inapprtcdrnm.refresh();
  2659. }else{
  2660. return;
  2661. }
  2662. }
  2663. ]]>
  2664. </script>
  2665. </input>
  2666. <input id="ipt_dschapprtcdrid" ref="/root/main/dschanalyhist/dschanalyinfo/dschapprtcdrid" class="input_search" navindex="41" appearance="input" style="left:313px; top:218px; width:58px; height:19px; ">
  2667. <script type="javascript" ev:event="onkeydown">
  2668. <![CDATA[
  2669. if(event.keyCode == 13){
  2670. clearParameter("reqflag");
  2671. clearParameter("usernm");
  2672. clearParameter("stnddd");
  2673. clearParameter("autortnyn");
  2674. setParameter("reqflag", "userid");
  2675. setParameter("userid", ipt_dschapprtcdrid.currentText);
  2676. setParameter("stnddd", model.getValue(xDschAnalyListPath+"/dschdd"));
  2677. setParameter("autortnyn","Y");
  2678. model.resetInstanceNode("/root/temp/userinfo");
  2679. modal("SPMRF03200");
  2680. var userid = model.getValue("/root/temp/userinfo/userid")
  2681. if(userid!=""){
  2682. model.setValue(xDschAnalyListPath+"/dschapprtcdrid", model.getValue("/root/temp/userinfo/userid"));
  2683. model.setValue(xDschAnalyListPath+"/dschapprtcdrnm", model.getValue("/root/temp/userinfo/usernm"));
  2684. ipt_dschapprtcdrid.refresh();
  2685. ipt_dschapprtcdrnm.refresh();
  2686. }else{
  2687. return;
  2688. }
  2689. }
  2690. ]]>
  2691. </script>
  2692. </input>
  2693. <input id="ipt_dschapprtcdrnm" ref="/root/main/dschanalyhist/dschanalyinfo/dschapprtcdrnm" class="input_search" navindex="42" appearance="input" style="left:373px; top:218px; width:66px; height:19px; ">
  2694. <script type="javascript" ev:event="onkeydown">
  2695. <![CDATA[
  2696. if(event.keyCode == 13){
  2697. clearParameter("reqflag");
  2698. clearParameter("usernm");
  2699. clearParameter("stnddd");
  2700. clearParameter("autortnyn");
  2701. setParameter("reqflag", "usernm");
  2702. setParameter("usernm", ipt_dschapprtcdrnm.currentText);
  2703. setParameter("stnddd", model.getValue(xDschAnalyListPath+"/dschdd"));
  2704. setParameter("autortnyn","Y");
  2705. model.resetInstanceNode("/root/temp/userinfo");
  2706. modal("SPMRF03200");
  2707. var userid = model.getValue("/root/temp/userinfo/userid")
  2708. if(userid!=""){
  2709. model.setValue(xDschAnalyListPath+"/dschapprtcdrid", model.getValue("/root/temp/userinfo/userid"));
  2710. model.setValue(xDschAnalyListPath+"/dschapprtcdrnm", model.getValue("/root/temp/userinfo/usernm"));
  2711. ipt_dschapprtcdrid.refresh();
  2712. ipt_dschapprtcdrnm.refresh();
  2713. }else{
  2714. return;
  2715. }
  2716. }
  2717. ]]>
  2718. </script>
  2719. </input>
  2720. <input id="ipt_inroomcd" ref="/root/main/dschanalyhist/dschanalyinfo/inroomcd" class="input_search" navindex="33" appearance="input" style="left:155px; top:244px; width:61px; height:19px; ">
  2721. <script type="javascript" ev:event="onkeydown">
  2722. <![CDATA[
  2723. if(event.keyCode == 13){
  2724. fGetWardInfo("/root/send", "in", "ipt_inroomcd");
  2725. }
  2726. ]]>
  2727. </script>
  2728. </input>
  2729. <input id="ipt_dschroomcd" ref="/root/main/dschanalyhist/dschanalyinfo/dschroomcd" class="input_search" navindex="44" appearance="input" style="left:379px; top:244px; width:60px; height:19px; ">
  2730. <script type="javascript" ev:event="onkeydown">
  2731. <![CDATA[
  2732. if(event.keyCode == 13){
  2733. fGetWardInfo("/root/send", "dsch", "ipt_dschroomcd");
  2734. }
  2735. ]]>
  2736. </script>
  2737. </input>
  2738. <input id="cmb_inrmdd" ref="/root/main/dschanalyhist/dschanalyinfo/inrmdd" class="input_search" navindex="12" editable="true" inputtype="date" style="left:424px; top:67px; width:94px; height:19px; "/>
  2739. <select1 id="cmb_unprepstatcd" ref="/root/main/dschanalyhist/dschanalyinfo/unprepstatcd" class="combo_search" disabled="true" appearance="minimal" style="left:724px; top:42px; width:151px; height:19px; ">
  2740. <choices>
  2741. <itemset nodeset="/root/init/unprepstatlist/M0417">
  2742. <label ref="cdnm"/>
  2743. <value ref="cdid"/>
  2744. </itemset>
  2745. </choices>
  2746. <script type="javascript" ev:event="xforms-select">
  2747. <![CDATA[
  2748. model.setValue("/root/main/indsch_info/curersltcd", model.getValue("/root/main/indsch_info/curersltnm"));
  2749. model.refresh();
  2750. ]]>
  2751. </script>
  2752. </select1>
  2753. <caption id="caption67" class="cell_1" style="left:520px; top:40px; width:62px; height:23px; vertical-align:middle; ">차트상태</caption>
  2754. <caption id="caption5" class="cell_1" style="left:876px; top:90px; width:60px; height:23px; vertical-align:middle; ">상세주소</caption>
  2755. <input id="input7" ref="/root/main/dschanalyhist/dschanalyinfo/detladdr" class="input_search" navindex="26" style="left:937px; top:92px; width:256px; height:19px; "/>
  2756. <caption id="caption35" class="tit_2" style="left:739px; top:462px; width:95px; height:14px; ">중환자실정보</caption>
  2757. <line id="line20" class="line_1" style="x1:734px; y1:477px; x2:1192px; y2:477px; "/>
  2758. <button id="btn_delrow3" class="btn2_letter3" navindex="95" style="left:1136px; top:457px; width:53px; height:19px; ">
  2759. <caption>행삭제</caption>
  2760. <script type="javascript" ev:event="DOMActivate">
  2761. <![CDATA[
  2762. fDelGridRow("grd_iculist");
  2763. ]]>
  2764. </script>
  2765. </button>
  2766. <button id="btn_addrow3" class="btn2_letter3" navindex="94" style="left:1080px; top:457px; width:53px; height:19px; ">
  2767. <caption>행추가</caption>
  2768. <script type="javascript" ev:event="DOMActivate">
  2769. <![CDATA[
  2770. fAddGridRow("grd_iculist");
  2771. ]]>
  2772. </script>
  2773. </button>
  2774. <input id="ipt_totinhospdayno" ref="/root/main/dschanalyhist/dschanalyinfo/totinhospdayno" class="input_search" navindex="13" style="left:424px; top:92px; width:94px; height:19px; "/>
  2775. <input id="ipt_opbfinhospdayno" ref="/root/main/dschanalyhist/dschanalyinfo/opbfinhospdayno" class="input_search" navindex="14" style="left:424px; top:117px; width:94px; height:19px; "/>
  2776. <input id="ipt_zipcd1" ref="/root/main/dschanalyhist/dschanalyinfo/zipcd1" class="input_search" navindex="23" style="left:936px; top:41px; width:41px; height:19px; "/>
  2777. <input id="ipt_zipcd2" ref="/root/main/dschanalyhist/dschanalyinfo/zipcd2" class="input_search" navindex="24" style="left:980px; top:41px; width:41px; height:19px; "/>
  2778. <button id="btn_srchaddr" class="icon_search" style="left:1025px; top:43px; width:16px; height:16px; ">
  2779. <caption/>
  2780. <script type="javascript" ev:event="DOMActivate">
  2781. <![CDATA[
  2782. var addr = model.getValue("/root/main/cond/addr");
  2783. if(addr == ""){
  2784. messageBox("동을","C001");
  2785. model.setFocus("ipt_srchaddr");
  2786. return;
  2787. }
  2788. var rcv_zipcdhead_path =xDschAnalyListPath+"/zipcd1";
  2789. var rcv_zipcdfoot_path = xDschAnalyListPath+"/zipcd2";
  2790. var rcv_seqno_path = "/root/main/cond/seqno";
  2791. var rcv_address_path = xDschAnalyListPath+"/addr";
  2792. zbcfOpenZipCodeList("combination", addr, rcv_zipcdhead_path, rcv_zipcdfoot_path, rcv_seqno_path, rcv_address_path);
  2793. model.setValue("/root/main/cond/addr","");
  2794. model.refresh();
  2795. ]]>
  2796. </script>
  2797. </button>
  2798. <input id="ipt_srchaddr" ref="/root/main/cond/addr" class="input_search" navindex="25" style="left:1045px; top:41px; width:147px; height:19px; ">
  2799. <script type="javascript" ev:event="onkeydown">
  2800. <![CDATA[
  2801. if(event.keyCode == 13){
  2802. inputEnterKey("btn_srchaddr", "DOMActivate");
  2803. }
  2804. ]]>
  2805. </script>
  2806. </input>
  2807. <select1 id="cmb_disposstatcd" ref="/root/main/dschanalyhist/dschanalyinfo/disposstatcd" class="combo_search" disabled="true" appearance="minimal" style="left:583px; top:42px; width:140px; height:19px; ">
  2808. <choices>
  2809. <itemset nodeset="/root/init/disposstatlist/M0416">
  2810. <label ref="cdnm"/>
  2811. <value ref="cdid"/>
  2812. </itemset>
  2813. </choices>
  2814. <script type="javascript" ev:event="xforms-select">
  2815. <![CDATA[
  2816. model.setValue("/root/main/indsch_info/curersltcd", model.getValue("/root/main/indsch_info/curersltnm"));
  2817. model.refresh();
  2818. ]]>
  2819. </script>
  2820. </select1>
  2821. <input id="ipt_wundcascls" ref="/root/main/dschanalyhist/dschanalyinfo/wundcascls" class="input_search" navindex="61" style="left:790px; top:295px; width:30px; height:19px; ">
  2822. <script type="javascript" ev:event="onkeydown">
  2823. <![CDATA[
  2824. if(event.keyCode == 13){
  2825. var sWundCasCls = ipt_wundcascls.currentText;
  2826. if(sWundCasCls == "") return;
  2827. if(sWundCasCls.length == 1){
  2828. sWundCasCls = "0" + sWundCasCls;
  2829. }
  2830. if(model.getValue("/root/init/wundcasclslist/M0415[cdid='"+sWundCasCls+"']/cdnm") == ""){
  2831. model.setValue(xDschAnalyListPath+"/wundcascls",model.getValue(xDschAnalyListPath+"/wundcasclscd"));
  2832. ipt_wundcascls.refresh();
  2833. }else{
  2834. model.setValue(xDschAnalyListPath+"/wundcasclscd",sWundCasCls);
  2835. model.setValue(xDschAnalyListPath+"/wundcascls",sWundCasCls);
  2836. cmb_wundcasclscd.refresh();
  2837. ipt_wundcascls.refresh();
  2838. }
  2839. }
  2840. ]]>
  2841. </script>
  2842. </input>
  2843. <caption id="caption61" class="cell_1" style="left:683px; top:65px; width:79px; height:23px; vertical-align:middle; ">최종퇴원년도</caption>
  2844. <input id="ipt_dschwardnm" ref="/root/main/dschanalyhist/dschanalyinfo/dschwardnm" class="input_search" navindex="44" appearance="input" style="left:313px; top:244px; width:64px; height:19px; "/>
  2845. <input id="ipt_inwardnm" ref="/root/main/dschanalyhist/dschanalyinfo/inwardnm" class="input_search" navindex="33" appearance="input" style="left:93px; top:244px; width:60px; height:19px; "/>
  2846. <input id="ipt_lastdschyy" ref="/root/main/dschanalyhist/dschanalyinfo/lastdschyy" class="input_search" navindex="15" maxlength="4" format="###" appearance="input" style="left:764px; top:67px; width:110px; height:19px; ">
  2847. <script type="javascript" ev:event="xforms-value-changed">
  2848. <![CDATA[
  2849. if(model.getValue(xDschAnalyListPath+"/indg") == "1"){
  2850. model.setValue(xDschAnalyListPath+"/reinyncd","");
  2851. model.setValue(xDschAnalyListPath+"/reinyn","");
  2852. model.setValue(xDschAnalyListPath+"/reinresncd","");
  2853. model.setValue(xDschAnalyListPath+"/reinresn","");
  2854. ipt_reinresn.disabled = true;
  2855. cmb_reinresncd.disabled = true;
  2856. ipt_reinyncd.disabled = true;
  2857. cmb_reinyn.disabled = true;
  2858. }else{
  2859. ipt_reinresn.disabled = false;
  2860. cmb_reinresncd.disabled = false;
  2861. ipt_reinyncd.disabled = false;
  2862. cmb_reinyn.disabled = false;
  2863. }
  2864. ]]>
  2865. </script>
  2866. </input>
  2867. <button id="button17" class="btn3_letter6" style="left:607px; top:11px; width:104px; height:22px; ">
  2868. <caption>통합결과조회</caption>
  2869. <script type="javascript" ev:event="DOMActivate">
  2870. <![CDATA[
  2871. var orgdschdd = model.getValue(xDschAnalyListPath+"/orgdschdd");
  2872. if(orgdschdd == ""){
  2873. messageBox("환자의 퇴원일자가 선택되지", "E007");
  2874. return;
  2875. }
  2876. open("SMAER00800", "", "", "", "SMAER00800", "/root/main/dschanalyhist/dschanalyinfo/pid", "/root/send/data/singdata/srchpid");
  2877. ]]>
  2878. </script>
  2879. </button>
  2880. <select1 id="cmb_orgdschdd" ref="/root/main/dschanalyhist/dschanalyinfo/orgdschdd" class="combo_search" navindex="11" visibility="hidden" appearance="minimal" editmode="input" style="left:325px; top:140px; width:94px; height:19px; ">
  2881. <choices>
  2882. <itemset nodeset="/root/temp/patinfo/dschddlist">
  2883. <label ref="dschddnm"/>
  2884. <value ref="dschdd"/>
  2885. </itemset>
  2886. </choices>
  2887. </select1>
  2888. <select id="chk_cretchknum" ref="/root/init/checknum/value" overflow="visible" appearance="full" style="left:248px; top:42px; width:75px; height:20px; border-style:none; ">
  2889. <choices>
  2890. <item>
  2891. <label>체크번호X</label>
  2892. <value>true</value>
  2893. </item>
  2894. </choices>
  2895. <script type="javascript" ev:event="xforms-select">
  2896. <![CDATA[
  2897. chk_cretchknum.value = "true";
  2898. ]]>
  2899. </script>
  2900. <script type="javascript" ev:event="xforms-deselect">
  2901. <![CDATA[
  2902. chk_cretchknum.value = "false";
  2903. ]]>
  2904. </script>
  2905. </select>
  2906. </xhtml:body>
  2907. </xhtml:html>