SMMRD00400_퇴원분석관리.xrw 114 KB

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