SMMND01100_HD Scheduling.xrw 97 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299
  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>HD Scheduling</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <chklist>
  11. <chkinfo>
  12. <shitfchk/>
  13. <bedchk/>
  14. <existbed/>
  15. <rsrvdd/>
  16. <existdialseat/>
  17. </chkinfo>
  18. </chklist>
  19. <cretlist>
  20. <cretrgvlist>
  21. <cretrgv>
  22. <pid/>
  23. <rsrvopt/>
  24. <rsrvdd1/>
  25. <rsrvdd2/>
  26. <shiftflag>1</shiftflag>
  27. <bedopt/>
  28. <dialseatflag/>
  29. <dw/>
  30. <dwmult/>
  31. <hngnm/>
  32. <rrgstno1/>
  33. <rrgstno2/>
  34. <ioflag/>
  35. <maintepatrgstdd/>
  36. <matnflag/>
  37. <infcflag/>
  38. <memo/>
  39. <rsrvcnts/>
  40. <dialkindopt/>
  41. <dialkindcd/>
  42. <matndialflag/>
  43. <getdatelist/>
  44. <centcd/>
  45. </cretrgv>
  46. </cretrgvlist>
  47. <getcrelist>
  48. <getcreinfo>
  49. <hngnm/>
  50. <rrgstno1/>
  51. <rrgstno2/>
  52. <ioflag/>
  53. <dialseatflag/>
  54. <maintepatrgstdd/>
  55. <matnflag/>
  56. <infcflag/>
  57. <matndialflag/>
  58. <prcpfalg/>
  59. <prcpdd/>
  60. <prcpnm/>
  61. <prcpinfo/>
  62. <centcd/>
  63. </getcreinfo>
  64. </getcrelist>
  65. </cretlist>
  66. <detlrsrvlist>
  67. <detlrsrvinfo>
  68. <status/>
  69. <pid/>
  70. <hngnm/>
  71. <sexage/>
  72. <rsrvdd/>
  73. <dw/>
  74. <shiftflag/>
  75. <ioflag/>
  76. <dialseatflag/>
  77. <viralmarker/>
  78. <rcptflag/>
  79. <histstat/>
  80. <orddd/>
  81. <cretno/>
  82. <orddeptcd/>
  83. <orddrid/>
  84. <dialflag/>
  85. <orddd_old/>
  86. <cretno_old/>
  87. <genrflagcd_old/>
  88. <orddeptcd_old/>
  89. <copyflag/>
  90. <hdcretno/>
  91. <shiftnm/>
  92. </detlrsrvinfo>
  93. <detlrsrvsrch>
  94. <pid/>
  95. <srchdd1/>
  96. <srchdd2/>
  97. <hngnm/>
  98. <rrgstno1/>
  99. <rrgstno2/>
  100. <centcd/>
  101. </detlrsrvsrch>
  102. </detlrsrvlist>
  103. <rsrvlist>
  104. <rsrvinfo>
  105. <status/>
  106. <pid/>
  107. <hngnm/>
  108. <sexage/>
  109. <ioflag/>
  110. <viralmarker/>
  111. <shiftflag/>
  112. <dialseatflag/>
  113. <rsrvdd/>
  114. <cretno/>
  115. <hdcretno/>
  116. <shiftnm/>
  117. </rsrvinfo>
  118. <rsrvsrch>
  119. <srchdd/>
  120. <shiftflag/>
  121. <mypid/>
  122. </rsrvsrch>
  123. <chkinfo>
  124. <chkdialseat/>
  125. <existdialseat/>
  126. </chkinfo>
  127. </rsrvlist>
  128. <poplist>
  129. <popinfoER>
  130. <menu>
  131. <name>응급-&gt;외래 전환</name>
  132. <func>fChngioER_OUT</func>
  133. </menu>
  134. <menu>
  135. <name>응급-&gt;입원 전환</name>
  136. <func>fChngioER_IN</func>
  137. </menu>
  138. <menu>
  139. <name>예약취소</name>
  140. <func>fCancle</func>
  141. </menu>
  142. </popinfoER>
  143. <popinfoIN>
  144. <menu>
  145. <name>입원-&gt;외래 전환</name>
  146. <func>fChngioIN_OUT</func>
  147. </menu>
  148. <menu>
  149. <name>입원-&gt;응급 전환</name>
  150. <func>fChngioIN_ER</func>
  151. </menu>
  152. <menu>
  153. <name>예약취소</name>
  154. <func>fCancle</func>
  155. </menu>
  156. </popinfoIN>
  157. <popinfoOUT>
  158. <menu>
  159. <name>외래-&gt;입원 전환</name>
  160. <func>fChngioOUT_IN</func>
  161. </menu>
  162. <menu>
  163. <name>외래-&gt;응급 전환</name>
  164. <func>fChngioOUT_ER</func>
  165. </menu>
  166. <menu>
  167. <name>예약취소</name>
  168. <func>fCancle</func>
  169. </menu>
  170. </popinfoOUT>
  171. <popinfo2>
  172. <menu>
  173. <name>교환</name>
  174. <func>fChgbed</func>
  175. </menu>
  176. </popinfo2>
  177. </poplist>
  178. <cal>
  179. <weeks>
  180. <sun/>
  181. <mon/>
  182. <tue/>
  183. <wed/>
  184. <thu/>
  185. <fri/>
  186. <sat/>
  187. </weeks>
  188. <weeks>
  189. <sun/>
  190. <mon/>
  191. <tue/>
  192. <wed/>
  193. <thu/>
  194. <fri/>
  195. <sat/>
  196. </weeks>
  197. <weeks>
  198. <sun/>
  199. <mon/>
  200. <tue/>
  201. <wed/>
  202. <thu/>
  203. <fri/>
  204. <sat/>
  205. </weeks>
  206. <weeks>
  207. <sun/>
  208. <mon/>
  209. <tue/>
  210. <wed/>
  211. <thu/>
  212. <fri/>
  213. <sat/>
  214. </weeks>
  215. <weeks>
  216. <sun/>
  217. <mon/>
  218. <tue/>
  219. <wed/>
  220. <thu/>
  221. <fri/>
  222. <sat/>
  223. </weeks>
  224. <weeks>
  225. <sun/>
  226. <mon/>
  227. <tue/>
  228. <wed/>
  229. <thu/>
  230. <fri/>
  231. <sat/>
  232. </weeks>
  233. </cal>
  234. <year/>
  235. <month/>
  236. <selecteddd/>
  237. <selectedshift>1</selectedshift>
  238. <alldate/>
  239. <dialseatlist>
  240. <dialseatinfo>
  241. <dialkindcd_1/>
  242. <dialseatflag_1/>
  243. <hngnm_1/>
  244. <pid_1/>
  245. <hdcretno_1/>
  246. <dialkindcd_2/>
  247. <dialseatflag_2/>
  248. <hngnm_2/>
  249. <pid_2/>
  250. <hdcretno_2/>
  251. <dialkindcd_3/>
  252. <dialseatflag_3/>
  253. <hngnm_3/>
  254. <pid_3/>
  255. <hdcretno_3/>
  256. <dialkindcd_4/>
  257. <dialseatflag_4/>
  258. <hngnm_4/>
  259. <pid_4/>
  260. <hdcretno_4/>
  261. <dialkindcd_5/>
  262. <dialseatflag_5/>
  263. <hngnm_5/>
  264. <pid_5/>
  265. <hdcretno_5/>
  266. </dialseatinfo>
  267. </dialseatlist>
  268. <caldatalist>
  269. <caldatainfo>
  270. <basedd/>
  271. <holiflag/>
  272. <day/>
  273. <dialsum/>
  274. <oneshiftsum/>
  275. <twoshiftsum/>
  276. <threeshiftsum/>
  277. <dw/>
  278. <weekno/>
  279. <ershiftsum/>
  280. </caldatainfo>
  281. </caldatalist>
  282. <condition>
  283. <rsrvfalg>1</rsrvfalg>
  284. <srchdd/>
  285. <year/>
  286. <month/>
  287. <weeks/>
  288. <shiftflag>1</shiftflag>
  289. <formflag>1</formflag>
  290. <vitalopt/>
  291. </condition>
  292. <srchdialseatlist>
  293. <srchdialseatinfo>
  294. <dialareaflag/>
  295. <dialseatflag/>
  296. <dialkindcd/>
  297. <hngnm/>
  298. <comment/>
  299. </srchdialseatinfo>
  300. <optinfo>
  301. <srchdd/>
  302. <shiftflag/>
  303. <todaycount/>
  304. <newcount/>
  305. <newhngnm/>
  306. <weekcount/>
  307. <weeknewcount/>
  308. </optinfo>
  309. </srchdialseatlist>
  310. <disposdialseatlist>
  311. <disposdialseatinfo_1>
  312. <dialkindcd_1/>
  313. <dialseatflag_1/>
  314. <hngnm_1/>
  315. <dialkindcd_2/>
  316. <dialseatflag_2/>
  317. <hngnm_2/>
  318. <dialkindcd_3/>
  319. <dialseatflag_3/>
  320. <hngnm_3/>
  321. <dialkindcd_4/>
  322. <dialseatflag_4/>
  323. <hngnm_4/>
  324. <dialkindcd_5/>
  325. <dialseatflag_5/>
  326. <hngnm_5/>
  327. <rsrvdd/>
  328. </disposdialseatinfo_1>
  329. <disposdialseatinfo_2>
  330. <dialkindcd_1/>
  331. <dialseatflag_1/>
  332. <hngnm_1/>
  333. <dialkindcd_2/>
  334. <dialseatflag_2/>
  335. <hngnm_2/>
  336. <dialkindcd_3/>
  337. <dialseatflag_3/>
  338. <hngnm_3/>
  339. <dialkindcd_4/>
  340. <dialseatflag_4/>
  341. <hngnm_4/>
  342. <dialkindcd_5/>
  343. <dialseatflag_5/>
  344. <hngnm_5/>
  345. <basedd_2/>
  346. <rsrvdd/>
  347. </disposdialseatinfo_2>
  348. <disposdialseatinfo_3>
  349. <dialkindcd_1/>
  350. <dialseatflag_1/>
  351. <hngnm_1/>
  352. <dialkindcd_2/>
  353. <dialseatflag_2/>
  354. <hngnm_2/>
  355. <dialkindcd_3/>
  356. <dialseatflag_3/>
  357. <hngnm_3/>
  358. <dialkindcd_4/>
  359. <dialseatflag_4/>
  360. <hngnm_4/>
  361. <dialkindcd_5/>
  362. <dialseatflag_5/>
  363. <hngnm_5/>
  364. <rsrvdd/>
  365. </disposdialseatinfo_3>
  366. <disposdialseatinfo_4>
  367. <dialkindcd_1/>
  368. <dialseatflag_1/>
  369. <hngnm_1/>
  370. <dialkindcd_2/>
  371. <dialseatflag_2/>
  372. <hngnm_2/>
  373. <dialkindcd_3/>
  374. <dialseatflag_3/>
  375. <hngnm_3/>
  376. <dialkindcd_4/>
  377. <dialseatflag_4/>
  378. <hngnm_4/>
  379. <dialkindcd_5/>
  380. <dialseatflag_5/>
  381. <hngnm_5/>
  382. <rsrvdd/>
  383. </disposdialseatinfo_4>
  384. <disposdialseatinfo_5>
  385. <dialkindcd_1/>
  386. <dialseatflag_1/>
  387. <hngnm_1/>
  388. <dialkindcd_2/>
  389. <dialseatflag_2/>
  390. <hngnm_2/>
  391. <dialkindcd_3/>
  392. <dialseatflag_3/>
  393. <hngnm_3/>
  394. <dialkindcd_4/>
  395. <dialseatflag_4/>
  396. <hngnm_4/>
  397. <dialkindcd_5/>
  398. <dialseatflag_5/>
  399. <hngnm_5/>
  400. <rsrvdd/>
  401. </disposdialseatinfo_5>
  402. <disposdialseatinfo_6>
  403. <dialkindcd_1/>
  404. <dialseatflag_1/>
  405. <hngnm_1/>
  406. <dialkindcd_2/>
  407. <dialseatflag_2/>
  408. <hngnm_2/>
  409. <dialkindcd_3/>
  410. <dialseatflag_3/>
  411. <hngnm_3/>
  412. <dialkindcd_4/>
  413. <dialseatflag_4/>
  414. <hngnm_4/>
  415. <dialkindcd_5/>
  416. <dialseatflag_5/>
  417. <hngnm_5/>
  418. <rsrvdd/>
  419. </disposdialseatinfo_6>
  420. <disposdialseatinfo_7>
  421. <dialkindcd_1/>
  422. <dialseatflag_1/>
  423. <hngnm_1/>
  424. <dialkindcd_2/>
  425. <dialseatflag_2/>
  426. <hngnm_2/>
  427. <dialkindcd_3/>
  428. <dialseatflag_3/>
  429. <hngnm_3/>
  430. <dialkindcd_4/>
  431. <dialseatflag_4/>
  432. <hngnm_4/>
  433. <dialkindcd_5/>
  434. <dialseatflag_5/>
  435. <hngnm_5/>
  436. <rsrvdd/>
  437. </disposdialseatinfo_7>
  438. <getdisposdialcalinfo>
  439. <basedd/>
  440. <dw/>
  441. <weekno/>
  442. </getdisposdialcalinfo>
  443. </disposdialseatlist>
  444. <result>
  445. <caldata/>
  446. </result>
  447. <wardpatinfo>
  448. <settingrn>
  449. <settingrnnm/>
  450. <settingrnid/>
  451. </settingrn>
  452. </wardpatinfo>
  453. </main>
  454. <send>
  455. <reqdata/>
  456. <savedata/>
  457. <date/>
  458. </send>
  459. <init>
  460. <iteminfo_tmp>
  461. <itemlist>
  462. <itemnm>HBsAg</itemnm>
  463. <itemcd>1</itemcd>
  464. </itemlist>
  465. <itemlist>
  466. <itemnm>HBeAg</itemnm>
  467. <itemcd>2</itemcd>
  468. </itemlist>
  469. <itemlist>
  470. <itemnm>HCVAb</itemnm>
  471. <itemcd>3</itemcd>
  472. </itemlist>
  473. <itemlist>
  474. <itemnm>HIV</itemnm>
  475. <itemcd>4</itemcd>
  476. </itemlist>
  477. <itemlist>
  478. <itemnm>VDRL</itemnm>
  479. <itemcd>5</itemcd>
  480. </itemlist>
  481. <itemlist>
  482. <itemnm>기타</itemnm>
  483. <itemcd>6</itemcd>
  484. </itemlist>
  485. </iteminfo_tmp>
  486. <iteminfo>
  487. <itemlist>
  488. <itemnm/>
  489. <itemcd/>
  490. </itemlist>
  491. </iteminfo>
  492. </init>
  493. <hidden>
  494. </hidden>
  495. <temp>
  496. <paminfo/>
  497. <rtnmsg/>
  498. <bedchnginfo/>
  499. </temp>
  500. </root>
  501. </instance>
  502. <submission id="TRMND01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/chkinfo"/>
  503. <submission id="TRMND01102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/getcreinfo"/>
  504. <submission id="TRMND01103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/detlrsrvinfo"/>
  505. <submission id="TRMND01104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/rsrvlist/rsrvinfo"/>
  506. <submission id="TRMND01105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/getcreinfo"/>
  507. <submission id="TRMND01106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/detlrsrvsrch"/>
  508. <submission id="TRMND01107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/chkinfo"/>
  509. <submission id="TRMND01108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/dialseatinfo"/>
  510. <submission id="TRMND01109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/caldatainfo"/>
  511. <submission id="TXMND01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/temp"/>
  512. <submission id="TXMND01102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata"/>
  513. <submission id="TRMND01110" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/cretlist/getcreinfo"/>
  514. <submission id="TXMND01103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata"/>
  515. <submission id="TRMND01111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/chkinfo"/>
  516. <submission id="TRMND01112" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/srchdialseatlist/srchdialseatinfo"/>
  517. <submission id="TRMND01114" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/disposdialseatinfo_1"/>
  518. <submission id="TRMND01115" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/getdisposdialcalinfo"/>
  519. <submission id="TRMND01116" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/disposdialseatinfo_1, disposdialseatinfo_2, disposdialseatinfo_3, disposdialseatinfo_4, disposdialseatinfo_5, disposdialseatinfo_6, disposdialseatinfo_7, getdisposdialcalinfo"/>
  520. <submission id="TRMND03402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/settingrn"/>
  521. <submission id="TRMNC00999" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_diaginfo" replace="instance" resultref="/root/diaginfo"/>
  522. <submission id="TRMNC00900" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden"/>
  523. <script type="javascript" ev:event="xforms-ready">
  524. <![CDATA[
  525. //그리드 초기화
  526. //model.removeNodeset("/root/main/cal/weeks");
  527. setHelp(); // 온라인 도움말 화면이 있는 경우 ready 에서 실행.
  528. grd_calendar.dataheight = 46; //예약현황 Calendar 높이 지정
  529. model.removeNodeset("/root/main/dialseatlist/dialseatinfo");
  530. model.removeNodeset("/root/main/rsrvlist/rsrvinfo");
  531. model.removeNodeset("/root/main/detlrsrvlist/detlrsrvinfo");
  532. model.removeNodeset("/root/main/srchdialseatlist/srchdialseatinfo");
  533. fInitStyle();
  534. fInitControl();
  535. //fCountShift(); //예약현황 달력에 예약환자수 표시
  536. fCreateCalendar();
  537. fDone();
  538. //내환자 setting 간호사 load
  539. fLoadMyPatSetting();
  540. //센터코드가져오기 2012.10.26 by ky
  541. ]]>
  542. </script>
  543. </model>
  544. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  545. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  546. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  547. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  548. <script type="javascript" src="../../../emr/dialroomweb/js/SMMND01100.js"/>
  549. </xhtml:head>
  550. <xhtml:body guideline="1,1193;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  551. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  552. <caption id="cpt_HDTitle" class="tit_1" style="left:5px; top:0px; width:195px; height:13px; ">HD Scheduling</caption>
  553. <caption id="cpt_SrchTitle" class="tit_1" visibility="hidden" style="left:5px; top:0px; width:195px; height:13px; ">투석자리조회</caption>
  554. </group>
  555. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  556. <button id="btn_sr" class="btn_sw" group="tab" selected="true" style="left:116px; top:8px; width:88px; height:22px; ">
  557. <caption>투석자리조회</caption>
  558. <toggle case="case2" ev:event="onclick"/>
  559. <script type="javascript" ev:event="DOMActivate">
  560. <![CDATA[
  561. cpt_HDTitle.visible=false;
  562. cpt_SrchTitle.visible=true;
  563. //* 조회 *//
  564. //리스트형식
  565. if(rdo_formflag.value==1){
  566. fSrchDialSeatList(); // 투석자리 리스트형식 조회
  567. // fSrchCount(); //당일환자수, 신원환자수, 신원환자명 조회
  568. fAppViral(); //스타일지정
  569. }
  570. //배치표형식
  571. else if(rdo_formflag.value==2){
  572. fSrchDialSeatDispos(); //투석자리 배치표형식 조회
  573. // fSrchCount(); //주당환자수, 신원환자수 조회
  574. fAppViral(); //스타일지정
  575. }
  576. ]]>
  577. </script>
  578. </button>
  579. <button id="btn_hdsd" class="btn_sw" group="tab" selected="true" style="left:0px; top:8px; width:116px; height:22px; ">
  580. <caption>HD Scheduling</caption>
  581. <toggle case="case1" ev:event="onclick"/>
  582. <script type="javascript" ev:event="onclick">
  583. <![CDATA[
  584. model.toggle("case1");
  585. cpt_HDTitle.visible=true;
  586. cpt_SrchTitle.visible=false;
  587. ]]>
  588. </script>
  589. </button>
  590. <switch id="switch1" style="left:0px; top:30px; width:1192px; height:705px; border-color:#c7a3cf; border-style:solid; ">
  591. <case id="case1" selected="true">
  592. <input id="ipt_pid" ref="/root/main/cretlist/cretrgvlist/cretrgv/pid" class="input_default" maxlength="10" style="left:848px; top:37px; width:72px; height:19px; ">
  593. <script type="javascript" ev:event="onkeyup">
  594. <![CDATA[
  595. inputEnterKey("btn_srchpat", "DOMActivate");
  596. ]]>
  597. </script>
  598. </input>
  599. <button id="btn_cvrt" class="btn5_letter4" style="left:1123px; top:307px; width:64px; height:19px; ">
  600. <caption>전환저장</caption>
  601. <script type="javascript" ev:event="onclick">
  602. <![CDATA[
  603. fSaveChngio("chng"); //전환저장
  604. //fSrchDetlrSrvInfo(); //결과조회 함수호출
  605. ]]>
  606. </script>
  607. </button>
  608. <datagrid id="grd_cvrt" nodeset="/root/main/detlrsrvlist/detlrsrvinfo" class="datagrid2" backcoloralternate="#ffffff" caption="status^등록번호^환자명^S/A^예약일자^요일^Shift^구분^Bed &#xA;No.^Viral&#xA;marker^수납^histstat^orddd^cretno^orddeptcd^orddrid^dialflag" colsep="^" colwidth="0, 61, 70, 46, 77, 32, 33, 33, 36, 52, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheight="32" rowsep="|" style="left:789px; top:333px; width:400px; height:359px; text-align:center; ">
  609. <col ref="status"/>
  610. <col ref="pid" style="text-align:center; "/>
  611. <col ref="hngnm" style="text-align:center; "/>
  612. <col ref="sexage"/>
  613. <col ref="rsrvdd" format="yyyy-mm-dd"/>
  614. <col ref="dw"/>
  615. <col ref="shiftnm" style="text-align:center; "/>
  616. <col ref="ioflag"/>
  617. <col ref="dialseatflag"/>
  618. <col disabled="true" ref="viralmarker" type="combo">
  619. <choices>
  620. <item>
  621. <label>HBsAg</label>
  622. <value>1</value>
  623. </item>
  624. <item>
  625. <label>HBeAg</label>
  626. <value>2</value>
  627. </item>
  628. <item>
  629. <label>HCVAb</label>
  630. <value>3</value>
  631. </item>
  632. <item>
  633. <label>HIV</label>
  634. <value>4</value>
  635. </item>
  636. <item>
  637. <label>VDRL</label>
  638. <value>5</value>
  639. </item>
  640. <item>
  641. <label>기타</label>
  642. <value>6</value>
  643. </item>
  644. </choices>
  645. </col>
  646. <col ref="rcptflag"/>
  647. <col ref="histstat"/>
  648. <col ref="orddd"/>
  649. <col ref="cretno"/>
  650. <col ref="orddeptcd"/>
  651. <col ref="orddrid"/>
  652. <col ref="dialflag"/>
  653. <col ref="orddd_old"/>
  654. <col ref="cretno_old"/>
  655. <col ref="genrflagcd_old"/>
  656. <col ref="orddeptcd_old"/>
  657. <col ref="copyflag"/>
  658. <col ref="hdcretno"/>
  659. <col ref="shiftflag"/>
  660. <script type="javascript" ev:event="onmousedown">
  661. <![CDATA[
  662. if(grd_cvrt.mouseRow>0){
  663. fChngioPop();
  664. }
  665. ]]>
  666. </script>
  667. <script type="javascript" ev:event="DOMFocusOut">
  668. <![CDATA[
  669. window.setPopupMenu(false);
  670. ]]>
  671. </script>
  672. <script type="javascript" ev:event="xforms-hint">
  673. <![CDATA[
  674. ]]>
  675. </script>
  676. <script type="javascript" ev:event="onmouseup">
  677. <![CDATA[
  678. for ( var i = 1; i < grd_cvrt.rows; i++) {
  679. model.makeValue("/root/main/detlrsrvlist/detlrsrvinfo["+i+"]/check", "N");
  680. }
  681. for ( var i =0 ; i< grd_cvrt.selectedRows;i++){
  682. model.makeValue("/root/main/detlrsrvlist/detlrsrvinfo[" + grd_cvrt.selectedRow(i) + "]/check", "Y");
  683. }
  684. ]]>
  685. </script>
  686. </datagrid>
  687. <caption id="caption7" class="tit_2" style="left:794px; top:313px; width:192px; height:13px; vertical-align:bottom; ">상세 예약정보 (환자개인별)</caption>
  688. <line id="line6" class="line_1" style="x1:789px; y1:328px; x2:1189px; y2:328px; vertical-align:bottom; "/>
  689. <caption id="caption10" class="tit_2" style="left:10px; top:363px; width:113px; height:14px; vertical-align:middle; ">자리테이블</caption>
  690. <line id="line1" class="line_1" style="x1:5px; y1:378px; x2:424px; y2:378px; "/>
  691. <button id="button12" class="btn5_letter2" style="left:380px; top:357px; width:42px; height:19px; ">
  692. <caption>저장</caption>
  693. <script type="javascript" ev:event="DOMActivate">
  694. <![CDATA[
  695. fSaveChngPos(); //투석자리 수정(교환)시 저장
  696. fSrchDialseat(); //선택된 셀의 일자에 해당하는 자리관리 테이블 조회
  697. fSrchRsrvInfo(); //선택된 셀의 일자에 해당하는 예약환자 리스트 조회
  698. //컨트롤 초기화
  699. pid_1=""; pid_2=""; bed_1=""; bed_2=""; hdcretno_1 = ""; hdcretno_2 = ""; //hdcretno 추가 20091218-kys
  700. /* for(var i=1; i<grd_dialseat.rows; i++) {
  701. for(var j=0; j<grd_dialseat.cols; j++) {
  702. grd_dialseat.cellstyle("background-color", i,j,i,j) = "white";
  703. }
  704. }
  705. */
  706. //grd_dialseat.cellstyle("background-color", 1, 0, grd_dialseat.rows, grd_dialseat.cols) = "white";
  707. ]]>
  708. </script>
  709. </button>
  710. <group id="group1" style="left:789px; top:243px; width:400px; height:60px; vertical-align:top; ">
  711. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:399px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  712. <caption id="caption14" class="search_name" style="left:16px; top:9px; width:84px; height:17px; ">등록번호:</caption>
  713. <button id="button14" class="btn1_letter2" style="left:317px; top:32px; width:56px; height:22px; ">
  714. <caption>조회</caption>
  715. <script type="javascript" ev:event="DOMActivate">
  716. <![CDATA[
  717. fSrchDetlrSrvInfo();
  718. ]]>
  719. </script>
  720. </button>
  721. <line id="line9" class="line_4" style="x1:302px; y1:31px; x2:302px; y2:53px; "/>
  722. <caption id="caption15" class="search_name" style="left:16px; top:32px; width:82px; height:17px; ">조회일자:</caption>
  723. <input id="ipt2_pid" ref="/root/main/detlrsrvlist/detlrsrvsrch/pid" class="input_search" maxlength="10" style="left:97px; top:8px; width:80px; height:19px; text-align:center; ">
  724. <script type="javascript" ev:event="xforms-value-changed">
  725. <![CDATA[
  726. model.refresh();
  727. //clearGroup(grp_patinfo);
  728. ]]>
  729. </script>
  730. <script type="javascript" ev:event="onkeyup">
  731. <![CDATA[
  732. inputEnterKey("btn_srchpat2", "DOMActivate");
  733. ]]>
  734. </script>
  735. </input>
  736. <input id="input_RsrvInfoFrDT" ref="/root/main/detlrsrvlist/detlrsrvsrch/srchdd1" class="input_search" inputtype="date" style="left:98px; top:31px; width:85px; height:19px; "/>
  737. <input id="ipt_RsrvInfoToDT" ref="/root/main/detlrsrvlist/detlrsrvsrch/srchdd2" class="input_search" inputtype="date" style="left:202px; top:31px; width:85px; height:19px; "/>
  738. <caption id="caption16" style="left:186px; top:32px; width:15px; height:20px; font-weight:bold; vertical-align:middle; ">~</caption>
  739. <button id="btn_srchpat2" class="icon_search" visibility="hidden" style="left:164px; top:10px; width:16px; height:16px; ">
  740. <caption/>
  741. <script type="javascript" ev:event="DOMActivate">
  742. <![CDATA[
  743. fSrchPat2();
  744. fSrchDetlrSrvInfo();
  745. ]]>
  746. </script>
  747. </button>
  748. </group>
  749. <datagrid id="grd_dialseat" nodeset="/root/main/dialseatlist/dialseatinfo" backcoloralternate="#ffffff" caption="dialkindcd1^A^A^pid_1^hdcretno_1^dialkindcd2^B^B^pid_2^hdcretno_2^dialkindcd3^C^C^pid_3^hdcretno_3^dialkindcd4^D^D^pid_4^hdcretno_4^dialkindcd5^E^E^pid_5^hdcretno_5" colsep="^" colwidth="0, 26, 54, 0, 0, 0, 26, 54, 0, 0, 0, 27, 54, 0, 0, 0, 26, 54, 0, 0, 0, 26, 54, 0, 0" focuscolor="transparent" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:5px; top:383px; width:419px; height:310px; ">
  750. <col ref="dialkindcd_1"/>
  751. <col ref="dialseatflag_1"/>
  752. <col ref="hngnm_1"/>
  753. <col ref="pid_1"/>
  754. <col ref="hdcretno_1"/>
  755. <col ref="dialkindcd_2"/>
  756. <col ref="dialseatflag_2"/>
  757. <col ref="hngnm_2"/>
  758. <col ref="pid_2"/>
  759. <col ref="hdcretno_2"/>
  760. <col ref="dialkindcd_3"/>
  761. <col ref="dialseatflag_3"/>
  762. <col ref="hngnm_3"/>
  763. <col ref="pid_3"/>
  764. <col ref="hdcretno_3"/>
  765. <col ref="dialkindcd_4"/>
  766. <col ref="dialseatflag_4"/>
  767. <col ref="hngnm_4"/>
  768. <col ref="pid_4"/>
  769. <col ref="hdcretno_4"/>
  770. <col ref="dialkindcd_5"/>
  771. <col ref="dialseatflag_5"/>
  772. <col ref="hngnm_5"/>
  773. <col ref="pid_5"/>
  774. <col ref="hdcretno_5"/>
  775. <script type="javascript" ev:event="onclick">
  776. <![CDATA[
  777. var iRow = grd_dialseat.row;
  778. var iCol = grd_dialseat.col;
  779. //현재일자 이후의 예약 Bed정보 변경
  780. if(model.getValue("/root/main/selecteddd") >= sRtn ) {
  781. //if(iCol == 2 || iCol == 6 || iCol == 10 || iCol ==14 || iCol ==18) {
  782. if(iCol == 2 || iCol == 7 || iCol == 12 || iCol ==17 || iCol ==22) { //hdcretno추가로 변경-20091218-kys
  783. if( grd_dialseat.textmatrix(iRow, iCol - 1) == "") { //자리 수정 할 환자의 bed
  784. messageBox("존재하지 않는 투석자리입니다.", "E", "");
  785. fChngBedInit(); // 투석자리 수정(교환)정보 초기화
  786. } else {
  787. fChngPos(iRow, iCol);
  788. }
  789. }
  790. }
  791. ]]>
  792. </script>
  793. <script type="javascript" ev:event="onmousedown">
  794. <![CDATA[
  795. if(grd_dialseat.mouseRow>0){
  796. var iRow = grd_dialseat.row;
  797. var iCol = grd_dialseat.col;
  798. //alert("iRow = " + iRow);
  799. //alert("iCol = " + iCol);
  800. if((iCol == 2 || iCol == 7 || iCol == 12 || iCol ==17 || iCol ==22) && (grd_dialseat.textmatrix(iRow, iCol) != "")) {
  801. fChgbedPop();
  802. }
  803. }
  804. ]]>
  805. </script>
  806. <script type="javascript" ev:event="DOMFocusOut">
  807. <![CDATA[
  808. window.setPopupMenu(false);
  809. ]]>
  810. </script>
  811. </datagrid>
  812. <output id="opt_hiddenselecteddd" ref="/root/main/selecteddd" class="output_fix" visibility="hidden" style="left:280px; top:347px; width:30px; height:19px; "/>
  813. <group id="grp_sea" style="left:429px; top:10px; width:357px; height:100px; vertical-align:top; ">
  814. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:357px; height:100px; background-color:#fffbf2; border-color:#ffd799; "/>
  815. <button id="button3" class="btn1_letter2" style="left:230px; top:12px; width:56px; height:22px; ">
  816. <caption>조회</caption>
  817. <script type="javascript" ev:event="DOMActivate">
  818. <![CDATA[
  819. fSrchRsrvInfo(); //예약환자 리스트 조회
  820. ]]>
  821. </script>
  822. </button>
  823. <line id="line13" class="line_4" style="x1:220px; y1:12px; x2:220px; y2:34px; "/>
  824. <caption id="caption12" class="search_name" style="left:15px; top:45px; width:66px; height:17px; ">Shift :</caption>
  825. <select1 id="rdo_rsrv" ref="/root/main/rsrvlist/rsrvsrch/shiftflag" class="radio_search" appearance="full" cols="5" overflow="visible" style="left:84px; top:46px; width:166px; height:13px; border-style:none; ">
  826. <choices>
  827. <item>
  828. <label>ALL</label>
  829. <value/>
  830. </item>
  831. <item>
  832. <label>1</label>
  833. <value>1</value>
  834. </item>
  835. <item>
  836. <label>2</label>
  837. <value>2</value>
  838. </item>
  839. <item>
  840. <label>3</label>
  841. <value>3</value>
  842. </item>
  843. <item>
  844. <label>응급</label>
  845. <value>5</value>
  846. </item>
  847. </choices>
  848. <script type="javascript" ev:event="xforms-value-changed">
  849. <![CDATA[
  850. fSrchRsrvInfo(); //예약환자 리스트 조회
  851. ]]>
  852. </script>
  853. </select1>
  854. <button id="button13" class="btn1_letter2" style="left:288px; top:12px; width:56px; height:22px; ">
  855. <caption>출력</caption>
  856. <script type="javascript" ev:event="DOMActivate">
  857. <![CDATA[
  858. model.removenode("/root/send");
  859. model.makeNode("/root/send/rsrvlist");
  860. model.copyNode("/root/send/rsrvlist", "/root/main/rsrvlist");
  861. for(var i=1;i<grd_rsrvPat.rows;i++){
  862. var sViralMarker = model.getValue("/root/main/rsrvlist/rsrvinfo["+i+"]/viralmarker");
  863. switch(sViralMarker){
  864. case '1':
  865. model.makeValue("/root/send/rsrvlist/rsrvinfo["+i+"]/viralmarker", "HBsAg"); break;
  866. case '2':
  867. model.makeValue("/root/send/rsrvlist/rsrvinfo["+i+"]/viralmarker", "HBeAg"); break;
  868. case '3':
  869. model.makeValue("/root/send/rsrvlist/rsrvinfo["+i+"]/viralmarker", "HCVAb"); break;
  870. case '4':
  871. model.makeValue("/root/send/rsrvlist/rsrvinfo["+i+"]/viralmarker", "HIV"); break;
  872. case '5':
  873. model.makeValue("/root/send/rsrvlist/rsrvinfo["+i+"]/viralmarker", "VDRL"); break;
  874. case '5':
  875. model.makeValue("/root/send/rsrvlist/rsrvinfo["+i+"]/viralmarker", "기타"); break;
  876. }
  877. }
  878. exeReportPreview("RPMND01100", "XMLSTR");
  879. ]]>
  880. </script>
  881. </button>
  882. <caption id="caption11" class="search_name" style="left:15px; top:15px; width:86px; height:17px; ">조회일자 :</caption>
  883. <input id="input_RsrvInfoDT" ref="/root/main/rsrvlist/rsrvsrch/srchdd" class="input_search" inputtype="date" style="left:105px; top:14px; width:85px; height:19px; ">
  884. <script type="javascript" ev:event="xforms-value-changed">
  885. <![CDATA[
  886. fSrchRsrvInfo(); //예약환자 리스트 조회
  887. ]]>
  888. </script>
  889. </input>
  890. <caption id="caption25" class="search_name" style="left:15px; top:70px; width:81px; height:17px; ">내환자 :</caption>
  891. <select1 id="combo1" ref="/root/main/rsrvlist/rsrvsrch/mypid" appearance="minimal" style="left:105px; top:70px; width:80px; height:19px; ">
  892. <choices>
  893. <itemset nodeset="/root/init/settingrn/settingrnlist">
  894. <label ref="settingrnnm"/>
  895. <value ref="settingrnid"/>
  896. </itemset>
  897. </choices>
  898. <script type="javascript" ev:event="xforms-value-changed">
  899. <![CDATA[
  900. fSrchRsrvInfo(); //예약환자 리스트 조회
  901. ]]>
  902. </script>
  903. </select1>
  904. </group>
  905. <caption id="caption66" class="tit_2" style="left:434px; top:120px; width:113px; height:13px; vertical-align:middle; ">예약환자 리스트</caption>
  906. <line id="line2" class="line_1" style="x1:429px; y1:135px; x2:786px; y2:135px; "/>
  907. <datagrid id="grd_rsrvPat" nodeset="/root/main/rsrvlist/rsrvinfo" class="datagrid2" caption="status^등록번호^환자명^S/A^구분^Viral&#xA;marker^Shift^Bed&#xA; No.^Shiftflag^rsrvdd^cretno^hdcretno" colsep="^" colwidth="0, 63, 63, 38, 37, 54, 31, 32, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" style="left:428px; top:140px; width:357px; height:552px; ">
  908. <col ref="status"/>
  909. <col ref="pid"/>
  910. <col ref="hngnm"/>
  911. <col ref="sexage"/>
  912. <col ref="ioflag"/>
  913. <col disabled="true" ref="viralmarker" type="combo">
  914. <choices>
  915. <item>
  916. <label>HBsAg</label>
  917. <value>1</value>
  918. </item>
  919. <item>
  920. <label>HBeAg</label>
  921. <value>2</value>
  922. </item>
  923. <item>
  924. <label>HCVAb</label>
  925. <value>3</value>
  926. </item>
  927. <item>
  928. <label>HIV</label>
  929. <value>4</value>
  930. </item>
  931. <item>
  932. <label>VDRL</label>
  933. <value>5</value>
  934. </item>
  935. <item>
  936. <label>기타</label>
  937. <value>6</value>
  938. </item>
  939. </choices>
  940. </col>
  941. <col ref="shiftnm" style="text-align:center; "/>
  942. <col ref="dialseatflag" type="input"/>
  943. <col ref="shiftflag"/>
  944. <col ref="rsrvdd"/>
  945. <col ref="cretno"/>
  946. <col ref="hdcretno"/>
  947. <script type="javascript" ev:event="xforms-value-changed">
  948. <![CDATA[
  949. fChngRsrv();
  950. ]]>
  951. </script>
  952. <script type="javascript" ev:event="ondblclick">
  953. <![CDATA[
  954. if(grd_rsrvPat.row != 0){
  955. if(grd_rsrvPat.col != 8) { //grd_rsrvPat.col == 8 : Bed No.
  956. fSetPid();
  957. }
  958. }
  959. ]]>
  960. </script>
  961. </datagrid>
  962. <caption id="caption1" class="tit_2" style="left:10px; top:20px; width:80px; height:13px; vertical-align:bottom; ">
  963. <![CDATA[예약현황]]>
  964. <hint>
  965. <![CDATA[당일 총 예약인원수(1Shift/2Shift/3Shift)]]>
  966. </hint>
  967. </caption>
  968. <caption id="caption2" style="left:178px; top:17px; width:17px; height:19px; font-weight:bold; vertical-align:middle; ">년</caption>
  969. <select1 id="combo2" ref="/root/main/year" class="combo_default" appearance="minimal" style="left:127px; top:17px; width:50px; height:19px; color:#ff0000; ">
  970. <choices>
  971. <item>
  972. <label>2000</label>
  973. <value>2000</value>
  974. </item>
  975. <item>
  976. <label>2001</label>
  977. <value>2001</value>
  978. </item>
  979. <item>
  980. <label>2002</label>
  981. <value>2002</value>
  982. </item>
  983. <item>
  984. <label>2003</label>
  985. <value>2003</value>
  986. </item>
  987. <item>
  988. <label>2004</label>
  989. <value>2004</value>
  990. </item>
  991. <item>
  992. <label>2005</label>
  993. <value>2005</value>
  994. </item>
  995. <item>
  996. <label>2006</label>
  997. <value>2006</value>
  998. </item>
  999. <item>
  1000. <label>2007</label>
  1001. <value>2007</value>
  1002. </item>
  1003. <item>
  1004. <label>2008</label>
  1005. <value>2008</value>
  1006. </item>
  1007. <item>
  1008. <label>2009</label>
  1009. <value>2009</value>
  1010. </item>
  1011. <item>
  1012. <label>2010</label>
  1013. <value>2010</value>
  1014. </item>
  1015. <item>
  1016. <label>2011</label>
  1017. <value>2011</value>
  1018. </item>
  1019. <item>
  1020. <label>2012</label>
  1021. <value>2012</value>
  1022. </item>
  1023. <item>
  1024. <label>2013</label>
  1025. <value>2013</value>
  1026. </item>
  1027. <item>
  1028. <label>2014</label>
  1029. <value>2014</value>
  1030. </item>
  1031. <item>
  1032. <label>2015</label>
  1033. <value>2015</value>
  1034. </item>
  1035. <item>
  1036. <label>2016</label>
  1037. <value>2016</value>
  1038. </item>
  1039. <item>
  1040. <label>2017</label>
  1041. <value>2017</value>
  1042. </item>
  1043. <item>
  1044. <label>2018</label>
  1045. <value>2018</value>
  1046. </item>
  1047. </choices>
  1048. <script type="javascript" ev:event="xforms-select">
  1049. <![CDATA[
  1050. //fCreateCalendar();
  1051. ]]>
  1052. </script>
  1053. <script type="javascript" ev:event="xforms-value-changed">
  1054. <![CDATA[
  1055. fCreateCalendar();
  1056. ]]>
  1057. </script>
  1058. </select1>
  1059. <caption id="caption32" style="left:238px; top:17px; width:20px; height:19px; font-weight:bold; vertical-align:middle; ">월</caption>
  1060. <select1 id="combo3" ref="/root/main/month" class="combo_default" appearance="minimal" style="left:196px; top:17px; width:38px; height:19px; ">
  1061. <choices>
  1062. <item>
  1063. <label>01</label>
  1064. <value>01</value>
  1065. </item>
  1066. <item>
  1067. <label>02</label>
  1068. <value>02</value>
  1069. </item>
  1070. <item>
  1071. <label>03</label>
  1072. <value>03</value>
  1073. </item>
  1074. <item>
  1075. <label>04</label>
  1076. <value>04</value>
  1077. </item>
  1078. <item>
  1079. <label>05</label>
  1080. <value>05</value>
  1081. </item>
  1082. <item>
  1083. <label>06</label>
  1084. <value>06</value>
  1085. </item>
  1086. <item>
  1087. <label>07</label>
  1088. <value>07</value>
  1089. </item>
  1090. <item>
  1091. <label>08</label>
  1092. <value>08</value>
  1093. </item>
  1094. <item>
  1095. <label>09</label>
  1096. <value>09</value>
  1097. </item>
  1098. <item>
  1099. <label>10</label>
  1100. <value>10</value>
  1101. </item>
  1102. <item>
  1103. <label>11</label>
  1104. <value>11</value>
  1105. </item>
  1106. <item>
  1107. <label>12</label>
  1108. <value>12</value>
  1109. </item>
  1110. </choices>
  1111. <script type="javascript" ev:event="xforms-select">
  1112. <![CDATA[
  1113. //fCreateCalendar();
  1114. ]]>
  1115. </script>
  1116. <script type="javascript" ev:event="xforms-value-changed">
  1117. <![CDATA[
  1118. fCreateCalendar();
  1119. ]]>
  1120. </script>
  1121. </select1>
  1122. <line id="line3" class="line_1" style="x1:5px; y1:41px; x2:424px; y2:41px; "/>
  1123. <button id="button55" class="icon_pre_year" style="left:89px; top:19px; width:16px; height:16px; ">
  1124. <caption/>
  1125. <script type="javascript" ev:event="DOMActivate">
  1126. <![CDATA[
  1127. combo2.select(combo2.focusIndex -1);
  1128. //fCreateCalendar();
  1129. ]]>
  1130. </script>
  1131. </button>
  1132. <button id="button56" class="icon_next_year" style="left:275px; top:19px; width:16px; height:16px; ">
  1133. <caption/>
  1134. <script type="javascript" ev:event="DOMActivate">
  1135. <![CDATA[
  1136. combo2.select(combo2.focusIndex +1);
  1137. //fCreateCalendar();
  1138. ]]>
  1139. </script>
  1140. </button>
  1141. <button id="button57" class="icon_pre_month" style="left:108px; top:19px; width:16px; height:16px; ">
  1142. <caption/>
  1143. <script type="javascript" ev:event="DOMActivate">
  1144. <![CDATA[
  1145. combo3.select(combo3.focusIndex -1);
  1146. //fCreateCalendar();
  1147. ]]>
  1148. </script>
  1149. </button>
  1150. <button id="button58" class="icon_next_month" style="left:256px; top:19px; width:16px; height:16px; ">
  1151. <caption/>
  1152. <script type="javascript" ev:event="DOMActivate">
  1153. <![CDATA[
  1154. combo3.select(combo3.focusIndex +1);
  1155. //fCreateCalendar();
  1156. ]]>
  1157. </script>
  1158. </button>
  1159. <datagrid id="grd_calendar" nodeset="/root/main/cal/weeks" allowselection="true" allowuserresize="false" backcoloralternate="#ffffff" caption="일^월^화^수^목^금^토" colsep="^" colwidth="60, 59, 60, 59, 60, 59, 60" defaultrows="7" focuscolor="transparent" rowsep="|" selectionmode="free" style="left:5px; top:47px; width:419px; height:301px; text-align:center; ">
  1160. <col ref="sun"/>
  1161. <col ref="mon"/>
  1162. <col ref="tue"/>
  1163. <col ref="wed"/>
  1164. <col ref="thu"/>
  1165. <col ref="fri"/>
  1166. <col ref="sat"/>
  1167. <script type="javascript" ev:event="ondblclick">
  1168. <![CDATA[
  1169. if(grd_calendar.row>0) {
  1170. fSelCells(); //선택한 셀에 색상을 지정
  1171. fChngBedInit(); // 투석자리 수정(교환)정보 초기화
  1172. // fSrchDialseat(); //선택된 셀의 일자에 해당하는 자리관리 테이블 조회
  1173. // fSrchRsrvInfo(); //선택된 셀의 일자에 해당하는 예약환자 리스트 조회
  1174. }
  1175. ]]>
  1176. </script>
  1177. </datagrid>
  1178. <output id="opt_selecteddd" class="output_fix" style="left:105px; top:357px; width:82px; height:19px; text-align:center; "/>
  1179. <button id="button2" class="btn5_letter2" style="left:743px; top:113px; width:42px; height:19px; ">
  1180. <caption>저장</caption>
  1181. <script type="javascript" ev:event="DOMActivate">
  1182. <![CDATA[
  1183. fSaveChngRsrv(); //일자별 예약환자리스트 Bed변경 저장
  1184. ]]>
  1185. </script>
  1186. </button>
  1187. <select1 id="cmb_shift" ref="/root/main/selectedshift" class="combo_defult" navindex="2" appearance="minimal" style="left:190px; top:357px; width:66px; height:19px; focus-rect:visible; ">
  1188. <choices>
  1189. <item>
  1190. <label>1Shift</label>
  1191. <value>1</value>
  1192. </item>
  1193. <item>
  1194. <label>2Shift</label>
  1195. <value>2</value>
  1196. </item>
  1197. <item>
  1198. <label>3Shift</label>
  1199. <value>3</value>
  1200. </item>
  1201. <item>
  1202. <label>응급Shift</label>
  1203. <value>5</value>
  1204. </item>
  1205. </choices>
  1206. <script type="javascript" ev:event="xforms-value-changed">
  1207. <![CDATA[
  1208. fSrchDialseat();
  1209. ]]>
  1210. </script>
  1211. </select1>
  1212. <group id="grp_patinfo" style="left:968px; top:251px; width:192px; height:20px; ">
  1213. <caption id="caption31" style="left:120px; top:0px; width:15px; height:20px; font-weight:bold; vertical-align:middle; ">-</caption>
  1214. <output id="opt2_hngnm" ref="/root/main/detlrsrvlist/detlrsrvsrch/hngnm" class="output_search" style="left:0px; top:0px; width:66px; height:19px; text-align:center; "/>
  1215. <output id="opt2_rrgstno1" ref="/root/main/detlrsrvlist/detlrsrvsrch/rrgstno1" class="output_search" style="left:69px; top:0px; width:50px; height:19px; text-align:center; "/>
  1216. <output id="opt2_rrgstno2" ref="/root/main/detlrsrvlist/detlrsrvsrch/rrgstno2" class="output_search" style="left:130px; top:0px; width:62px; height:19px; text-align:center; "/>
  1217. </group>
  1218. <line id="line8" class="line_1" style="x1:790px; y1:30px; x2:1189px; y2:30px; vertical-align:bottom; "/>
  1219. <output id="opt_matnflag" ref="/root/main/cretlist/getcrelist/getcreinfo/matnflag" class="output_fix" visibility="hidden" style="left:1150px; top:60px; width:34px; height:19px; "/>
  1220. <output id="opt_maintepatrgstdd" ref="/root/main/cretlist/getcrelist/getcreinfo/maintepatrgstdd" class="output_fix" visibility="hidden" style="left:1080px; top:60px; width:69px; height:19px; "/>
  1221. <select1 id="rdo_shift" ref="/root/main/cretlist/cretrgvlist/cretrgv/shiftflag" appearance="full" cols="4" overflow="visible" style="left:848px; top:107px; width:122px; height:18px; border-style:none; ">
  1222. <choices>
  1223. <item>
  1224. <label>1</label>
  1225. <value>1</value>
  1226. </item>
  1227. <item>
  1228. <label>2</label>
  1229. <value>2</value>
  1230. </item>
  1231. <item>
  1232. <label>3</label>
  1233. <value>3</value>
  1234. </item>
  1235. <item>
  1236. <label>응급</label>
  1237. <value>5</value>
  1238. </item>
  1239. </choices>
  1240. </select1>
  1241. <button id="btn_srchpat" class="icon_search" visibility="hidden" style="left:904px; top:38px; width:16px; height:16px; ">
  1242. <caption/>
  1243. <script type="javascript" ev:event="DOMActivate">
  1244. <![CDATA[
  1245. fSrchPat();
  1246. ]]>
  1247. </script>
  1248. </button>
  1249. <line id="line10" class="line_2" style="x1:791px; y1:193px; x2:1189px; y2:193px; vertical-align:bottom; "/>
  1250. <output id="opt_ioflag" ref="/root/main/cretlist/getcrelist/getcreinfo/ioflag" class="output_fix" style="left:1144px; top:37px; width:40px; height:19px; text-align:center; "/>
  1251. <output id="opt_hngnm" ref="/root/main/cretlist/getcrelist/getcreinfo/hngnm" class="output_fix" style="left:943px; top:37px; width:63px; height:19px; text-align:center; "/>
  1252. <select1 id="rdo_DW" ref="/root/main/cretlist/cretrgvlist/cretrgv/dwmult" appearance="full" cols="3" vcellspacing="7" overflow="visible" style="left:848px; top:148px; width:194px; height:43px; border-style:none; ">
  1253. <choices>
  1254. <item>
  1255. <label>월수금</label>
  1256. <value>1</value>
  1257. </item>
  1258. <item>
  1259. <label>화목토</label>
  1260. <value>2</value>
  1261. </item>
  1262. <item>
  1263. <label>월수토</label>
  1264. <value>3</value>
  1265. </item>
  1266. <item>
  1267. <label>월금</label>
  1268. <value>4</value>
  1269. </item>
  1270. <item>
  1271. <label>화토</label>
  1272. <value>5</value>
  1273. </item>
  1274. </choices>
  1275. <script type="javascript" ev:event="xforms-value-changed">
  1276. <![CDATA[
  1277. fAutoSelDW();
  1278. fChkRsrvRange();
  1279. ]]>
  1280. </script>
  1281. </select1>
  1282. <caption id="caption97" style="left:908px; top:64px; width:-10px; height:9px; vertical-align:middle; ">~</caption>
  1283. <button id="button5" class="btn2_letter2" style="left:1145px; top:8px; width:42px; height:19px; ">
  1284. <caption>생성</caption>
  1285. <script type="javascript" ev:event="DOMActivate">
  1286. <![CDATA[
  1287. fSelGetDate(); // 지정된 일자 설정
  1288. fCretRsrvcnts(); // 요일정보
  1289. fChkDupl(); // 중복된 Shift 및 bed 유무 체크
  1290. ]]>
  1291. </script>
  1292. </button>
  1293. <input id="ipt_dialseatflag" ref="/root/main/cretlist/cretrgvlist/cretrgv/dialseatflag" class="input_default" maxlength="3" style="left:1109px; top:105px; width:40px; height:19px; text-align:center; ">
  1294. <script type="javascript" ev:event="xforms-value-changed">
  1295. <![CDATA[
  1296. if(ipt_dialseatflag.value != ""){
  1297. fExistBed();
  1298. }
  1299. ]]>
  1300. </script>
  1301. </input>
  1302. <output id="opt_matndialflag" ref="/root/main/cretlist/getcrelist/getcreinfo/matndialflag" class="output_fix" visibility="hidden" style="left:1045px; top:60px; width:35px; height:19px; "/>
  1303. <caption id="caption43" style="left:1066px; top:37px; width:15px; height:20px; font-weight:bold; ">-</caption>
  1304. <caption id="caption3" class="tit_2" style="left:795px; top:15px; width:80px; height:13px; vertical-align:bottom; ">예약생성</caption>
  1305. <caption id="caption34" class="cell_1" style="left:970px; top:104px; width:35px; height:23px; text-align:center; vertical-align:middle; ">Bed</caption>
  1306. <caption id="caption4" class="cell_1" style="left:790px; top:104px; width:55px; height:23px; text-align:center; vertical-align:middle; ">Shift</caption>
  1307. <caption id="caption24" class="cell_1" style="left:790px; top:59px; width:55px; height:44px; text-align:center; vertical-align:middle; ">예약범위</caption>
  1308. <caption id="caption13" style="left:940px; top:84px; width:15px; height:20px; font-weight:bold; vertical-align:middle; ">~</caption>
  1309. <select1 id="rdo_flag" ref="/root/main/cretlist/cretrgvlist/cretrgv/rsrvopt" appearance="full" cols="4" overflow="visible" style="left:848px; top:62px; width:196px; height:18px; text-align:justify; border-style:none; ">
  1310. <choices>
  1311. <item>
  1312. <label>1주</label>
  1313. <value>1</value>
  1314. </item>
  1315. <item>
  1316. <label>1개월</label>
  1317. <value>2</value>
  1318. </item>
  1319. <item>
  1320. <label>1일</label>
  1321. <value>3</value>
  1322. </item>
  1323. <item>
  1324. <label>임의설정</label>
  1325. <value>4</value>
  1326. </item>
  1327. </choices>
  1328. <script type="javascript" ev:event="xforms-value-changed">
  1329. <![CDATA[
  1330. if(rdo_flag.value == "3"){
  1331. chx_DW.disabled = true;
  1332. rdo_DW.disabled = true;
  1333. } else {
  1334. chx_DW.disabled = false;
  1335. rdo_DW.disabled = false;
  1336. }
  1337. var stat = fChkRsrvRange();
  1338. // alert(stat);
  1339. if(stat ==true) {
  1340. fRsvFlag("F");
  1341. }
  1342. ]]>
  1343. </script>
  1344. </select1>
  1345. <caption id="caption5" class="cell_1" style="left:790px; top:128px; width:55px; height:65px; text-align:center; vertical-align:middle; ">요일</caption>
  1346. <select1 id="rdo_dialkindcd" ref="/root/main/cretlist/cretrgvlist/cretrgv/dialkindcd" disabled="true" appearance="full" cols="3" overflow="visible" style="left:928px; top:196px; width:174px; height:38px; border-style:none; ">
  1347. <choices>
  1348. <item>
  1349. <label>HBsAg</label>
  1350. <value>1</value>
  1351. </item>
  1352. <item>
  1353. <label>HBeAg</label>
  1354. <value>2</value>
  1355. </item>
  1356. <item>
  1357. <label>HCVAb</label>
  1358. <value>3</value>
  1359. </item>
  1360. <item>
  1361. <label>HIV</label>
  1362. <value>4</value>
  1363. </item>
  1364. <item>
  1365. <label>VDRL</label>
  1366. <value>5</value>
  1367. </item>
  1368. <item>
  1369. <label>기타</label>
  1370. <value>6</value>
  1371. </item>
  1372. </choices>
  1373. <script type="javascript" ev:event="xforms-value-changed">
  1374. <![CDATA[
  1375. model.makeValue("/root/main/cretlist/getcrelist/getcreinfo/infcflag", model.getValue("/root/main/cretlist/cretrgvlist/cretrgv/dialkindcd"));
  1376. cmb_infcflag.refresh();
  1377. ]]>
  1378. </script>
  1379. </select1>
  1380. <input id="input_toDT" ref="/root/main/cretlist/cretrgvlist/cretrgv/rsrvdd2" class="input_default" inputtype="date" style="left:953px; top:82px; width:90px; height:19px; ">
  1381. <script type="javascript" ev:event="xforms-value-changed">
  1382. <![CDATA[
  1383. /*
  1384. if(model.getValue("/root/main/cretlist/cretrgvlist/cretrgv/rsrvdd1") > model.getValue("/root/main/cretlist/cretrgvlist/cretrgv/rsrvdd2")) {
  1385. messageBox("잘못된 예약범위 입니다.", "E");
  1386. model.setValue("/root/main/cretlist/cretrgvlist/cretrgv/rsrvdd1", getCurrentDate());
  1387. model.setValue("/root/main/cretlist/cretrgvlist/cretrgv/rsrvdd2", "" );
  1388. model.refresh();
  1389. return;
  1390. }
  1391. */
  1392. fRsvFlag("T");
  1393. ]]>
  1394. </script>
  1395. </input>
  1396. <select id="chk_pastseat" ref="/root/main/cretlist/cretrgvlist/cretrgv/bedopt" overflow="visible" appearance="full" cols="6" style="left:1007px; top:107px; width:100px; height:18px; border-style:none; ">
  1397. <choices>
  1398. <item>
  1399. <label>이전자리 적용</label>
  1400. <value>1</value>
  1401. </item>
  1402. </choices>
  1403. <script type="javascript" ev:event="xforms-select">
  1404. <![CDATA[
  1405. fSrchPastSeat();
  1406. ]]>
  1407. </script>
  1408. <script type="javascript" ev:event="xforms-deselect">
  1409. <![CDATA[
  1410. fInitSeatInfo();
  1411. ]]>
  1412. </script>
  1413. </select>
  1414. <caption id="caption6" class="cell_1" style="left:790px; top:195px; width:55px; height:38px; vertical-align:middle; ">감염구분</caption>
  1415. <line id="line19" class="line_2" style="x1:791px; y1:102px; x2:1189px; y2:102px; vertical-align:bottom; "/>
  1416. <caption id="caption8" style="left:943px; top:203px; width:-10px; height:9px; vertical-align:middle; ">~</caption>
  1417. <line id="line4" class="line_3" style="x1:791px; y1:232px; x2:1189px; y2:232px; vertical-align:bottom; "/>
  1418. <caption id="caption9" class="cell_1" style="left:790px; top:35px; width:55px; height:23px; text-align:center; vertical-align:middle; ">등록번호</caption>
  1419. <line id="line5" class="line_2" style="x1:791px; y1:57px; x2:1189px; y2:57px; vertical-align:bottom; "/>
  1420. <output id="opt_rrgstno1" ref="/root/main/cretlist/getcrelist/getcreinfo/rrgstno1" class="output_fix" style="left:1009px; top:37px; width:55px; height:19px; text-align:center; "/>
  1421. <select id="chk_dialkindopt" ref="/root/main/cretlist/cretrgvlist/cretrgv/dialkindopt" overflow="visible" appearance="full" cols="3" style="left:848px; top:216px; width:73px; height:18px; border-style:none; ">
  1422. <choices>
  1423. <item>
  1424. <label>해당없음</label>
  1425. <value>1</value>
  1426. </item>
  1427. </choices>
  1428. <script type="javascript" ev:event="xforms-select">
  1429. <![CDATA[
  1430. rdo_dialkindcd.disabled = true;
  1431. ipt_dialseatflag.value ='';
  1432. model.makeValue("/root/main/cretlist/cretrgvlist/cretrgv/dialkindcd", "");
  1433. model.makeValue("/root/main/cretlist/getcrelist/getcreinfo/infcflag", "");
  1434. cmb_infcflag.refresh();
  1435. rdo_dialkindcd.refresh();
  1436. ]]>
  1437. </script>
  1438. <script type="javascript" ev:event="xforms-deselect">
  1439. <![CDATA[
  1440. rdo_dialkindcd.disabled = false;
  1441. ]]>
  1442. </script>
  1443. </select>
  1444. <output id="opt_rrgstno2" ref="/root/main/cretlist/getcrelist/getcreinfo/rrgstno2" class="output_fix" style="left:1077px; top:37px; width:64px; height:19px; text-align:center; "/>
  1445. <select id="chx_DW" ref="/root/main/cretlist/cretrgvlist/cretrgv/dw" overflow="visible" appearance="full" cols="6" style="left:848px; top:129px; width:194px; height:18px; border-style:none; ">
  1446. <choices>
  1447. <item>
  1448. <label>월</label>
  1449. <value>1</value>
  1450. </item>
  1451. <item>
  1452. <label>화</label>
  1453. <value>2</value>
  1454. </item>
  1455. <item>
  1456. <label>수</label>
  1457. <value>3</value>
  1458. </item>
  1459. <item>
  1460. <label>목</label>
  1461. <value>4</value>
  1462. </item>
  1463. <item>
  1464. <label>금</label>
  1465. <value>5</value>
  1466. </item>
  1467. <item>
  1468. <label>토</label>
  1469. <value>6</value>
  1470. </item>
  1471. </choices>
  1472. <script type="javascript" ev:event="xforms-value-changed">
  1473. <![CDATA[
  1474. rdo_DW.value="";
  1475. ]]>
  1476. </script>
  1477. </select>
  1478. <line id="line7" class="line_2" style="x1:791px; y1:126px; x2:1189px; y2:126px; vertical-align:bottom; "/>
  1479. <input id="input_frDT" ref="/root/main/cretlist/cretrgvlist/cretrgv/rsrvdd1" class="input_default" inputtype="date" style="left:848px; top:82px; width:90px; height:19px; ">
  1480. <script type="javascript" ev:event="xforms-value-changed">
  1481. <![CDATA[
  1482. /*
  1483. if(model.getValue("/root/main/cretlist/cretrgvlist/cretrgv/rsrvdd1") > model.getValue("/root/main/cretlist/cretrgvlist/cretrgv/rsrvdd2")) {
  1484. messageBox("잘못된 예약범위 입니다.", "E");
  1485. model.setValue("/root/main/cretlist/cretrgvlist/cretrgv/rsrvdd1", getCurrentDate());
  1486. model.setValue("/root/main/cretlist/cretrgvlist/cretrgv/rsrvdd2", "" );
  1487. model.refresh();
  1488. return;
  1489. }
  1490. */
  1491. fRsvFlag("F");
  1492. ]]>
  1493. </script>
  1494. </input>
  1495. <caption id="caption21" style="left:307px; top:8px; width:115px; height:28px; text-align:center; ">
  1496. <![CDATA[당일 총 예약인원수
  1497. (1/2/3/응급Shift)]]>
  1498. </caption>
  1499. <shape id="roundrect4" class="roundrect_example" appearance="roundrect" style="left:305px; top:5px; width:119px; height:33px; "/>
  1500. <caption id="caption26" class="cell_1" style="left:790px; top:195px; width:55px; height:38px; text-align:center; vertical-align:middle; ">감염구분</caption>
  1501. <output id="opt_prcpinfo" ref="/root/main/cretlist/getcrelist/getcreinfo/prcpinfo" style="left:875px; top:10px; width:210px; height:19px; "/>
  1502. <datagrid id="grd_chkinfo" nodeset="/root/main/chklist/chkinfo" visibility="hidden" caption="shiftchk^bedchk^existbed^rsrvdd" colsep="^" colwidth="79, 75, 75, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:430px; top:265px; width:350px; height:150px; ">
  1503. <col ref="shitfchk"/>
  1504. <col ref="bedchk"/>
  1505. <col ref="existbed"/>
  1506. <col ref="rsrvdd"/>
  1507. <script type="javascript" ev:event="onclick">
  1508. <![CDATA[
  1509. // alert(grd_chkinfo.row+"/"+grd_chkinfo.col);
  1510. ]]>
  1511. </script>
  1512. </datagrid>
  1513. <button id="button4" class="btn2_letter3" style="left:1089px; top:8px; width:53px; height:19px; ">
  1514. <caption>초기화</caption>
  1515. <script type="javascript" ev:event="DOMActivate">
  1516. <![CDATA[
  1517. fInitRsrvInfo(); //예약정보를 초기화한다. (예약생성, 상세 예약정보)
  1518. ]]>
  1519. </script>
  1520. </button>
  1521. <button id="btn_ChoiCncl" class="btn2_letter4" style="left:268px; top:357px; width:64px; height:19px; ">
  1522. <caption>선택취소</caption>
  1523. <script type="javascript" ev:event="DOMActivate">
  1524. <![CDATA[
  1525. if(chk == "Y") {
  1526. fSrchDialseat(); //선택된 셀의 일자에 해당하는 자리관리 테이블 조회
  1527. }
  1528. fChngBedInit(); // 투석자리 수정(교환)정보 초기화
  1529. ]]>
  1530. </script>
  1531. </button>
  1532. <button id="btn_patpopup" class="icon_search" style="left:922px; top:38px; width:16px; height:16px; ">
  1533. <caption/>
  1534. <script type="javascript" ev:event="DOMActivate">
  1535. <![CDATA[
  1536. fUseridPopup("/root/main/cretlist/cretrgvlist/cretrgv", "/pid", "", "", "", ipt_pid);
  1537. fSrchPat();
  1538. ]]>
  1539. </script>
  1540. </button>
  1541. <output id="opt_shiftchk" ref="/root/main/chklist/chkinfo/shitfchk" class="output_fix" visibility="hidden" style="left:971px; top:106px; width:8px; height:19px; "/>
  1542. <output id="opt_existbed" ref="/root/main/chklist/chkinfo/existbed" class="output_fix" visibility="hidden" style="left:1114px; top:84px; width:35px; height:19px; "/>
  1543. <output id="opt_bedchk" ref="/root/main/chklist/chkinfo/bedchk" class="output_fix" visibility="hidden" style="left:1150px; top:105px; width:35px; height:19px; text-align:center; "/>
  1544. <output id="opt_pidchk" ref="/root/main/chklist/chkinfo/pidchk" class="output_fix" visibility="hidden" style="left:1149px; top:84px; width:35px; height:19px; "/>
  1545. <select1 id="cmb_infcflag" ref="/root/main/cretlist/getcrelist/getcreinfo/infcflag" class="combo_defult" disabled="true" navindex="2" appearance="minimal" style="left:849px; top:196px; width:71px; height:19px; focus-rect:visible; ">
  1546. <choices>
  1547. <itemset nodeset="/root/init/iteminfo/itemlist">
  1548. <label ref="itemnm"/>
  1549. <value ref="itemcd"/>
  1550. </itemset>
  1551. </choices>
  1552. <script type="javascript" ev:event="xforms-value-changed">
  1553. <![CDATA[
  1554. model.makeValue("/root/main/cretlist/cretrgvlist/cretrgv/dialkindcd", model.getValue("/root/main/cretlist/getcrelist/getcreinfo/infcflag"));
  1555. rdo_dialkindcd.refresh();
  1556. ]]>
  1557. </script>
  1558. </select1>
  1559. <datagrid id="grd_chk" nodeset="/root/main/rsrvlist/chkinfo" visibility="hidden" caption="chkdialseat" colsep="^" colwidth="100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:525px; top:465px; width:103px; height:125px; ">
  1560. <col ref="chkdialseat"/>
  1561. </datagrid>
  1562. <button id="button6" class="btn2_letter2" style="left:335px; top:357px; width:42px; height:19px; ">
  1563. <caption>교환</caption>
  1564. <script type="javascript" ev:event="DOMActivate">
  1565. <![CDATA[
  1566. fAppChngPos();
  1567. ]]>
  1568. </script>
  1569. </button>
  1570. <input id="ipt_centcd" ref="/root/main/cretlist/getcrelist/getcreinfo/centcd" visibility="hidden" style="left:1075px; top:145px; width:95px; height:19px; "/>
  1571. <button id="button1" class="btn5_letter4" style="left:1045px; top:307px; width:64px; height:19px; ">
  1572. <caption>예약취소</caption>
  1573. <script type="javascript" ev:event="onclick">
  1574. <![CDATA[
  1575. fCancleMulti(); //전환저장
  1576. //fSrchDetlrSrvInfo(); //결과조회 함수호출
  1577. ]]>
  1578. </script>
  1579. </button>
  1580. </case>
  1581. <case id="case2" style="left:0px; top:0px; width:1190px; height:708px; ">
  1582. <group id="group3" visibility="hidden" style="left:5px; top:77px; width:1175px; height:600px; ">
  1583. <caption id="cpt_1" class="cell_1" style="left:0px; top:0px; width:98px; height:373px; text-align:center; "/>
  1584. <caption id="cpt_2" class="cell_1" visibility="hidden" style="left:0px; top:374px; width:98px; height:373px; text-align:center; "/>
  1585. <datagrid id="grd_disposdialseat_2" nodeset="/root/main/disposdialseatlist/disposdialseatinfo_2" visibility="hidden" backcoloralternate="#ffffff" caption="dialkindcd1^A^A^dialkindcd2^B^B^dialkindcd3^C^C^dialkindcd4^D^D^dialkindcd5^E^E" colsep="^" colwidth="0, 32, 61, 0, 32, 61, 0, 32, 61, 0, 32, 63, 0, 32, 61" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:100px; top:374px; width:1015px; height:370px; ">
  1586. <col ref="dialkindcd_1"/>
  1587. <col ref="dialseatflag_1"/>
  1588. <col ref="hngnm_1"/>
  1589. <col ref="dialkindcd_2"/>
  1590. <col ref="dialseatflag_2"/>
  1591. <col ref="hngnm_2"/>
  1592. <col ref="dialkindcd_3"/>
  1593. <col ref="dialseatflag_3"/>
  1594. <col ref="hngnm_3"/>
  1595. <col ref="dialkindcd_4"/>
  1596. <col ref="dialseatflag_4"/>
  1597. <col ref="hngnm_4"/>
  1598. <col ref="dialkindcd_5"/>
  1599. <col ref="dialseatflag_5"/>
  1600. <col ref="hngnm_5"/>
  1601. <script type="javascript" ev:event="onclick">
  1602. <![CDATA[
  1603. ]]>
  1604. </script>
  1605. </datagrid>
  1606. <datagrid id="grd_disposdialseat_3" nodeset="/root/main/disposdialseatlist/disposdialseatinfo_3" visibility="hidden" backcoloralternate="#ffffff" caption="dialkindcd1^A^A^dialkindcd2^B^B^dialkindcd3^C^C^dialkindcd4^D^D^dialkindcd5^E^E" colsep="^" colwidth="0, 32, 61, 0, 32, 61, 0, 32, 61, 0, 32, 63, 0, 32, 61" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:100px; top:749px; width:1015px; height:370px; ">
  1607. <col ref="dialkindcd_1"/>
  1608. <col ref="dialseatflag_1"/>
  1609. <col ref="hngnm_1"/>
  1610. <col ref="dialkindcd_2"/>
  1611. <col ref="dialseatflag_2"/>
  1612. <col ref="hngnm_2"/>
  1613. <col ref="dialkindcd_3"/>
  1614. <col ref="dialseatflag_3"/>
  1615. <col ref="hngnm_3"/>
  1616. <col ref="dialkindcd_4"/>
  1617. <col ref="dialseatflag_4"/>
  1618. <col ref="hngnm_4"/>
  1619. <col ref="dialkindcd_5"/>
  1620. <col ref="dialseatflag_5"/>
  1621. <col ref="hngnm_5"/>
  1622. <script type="javascript" ev:event="onclick">
  1623. <![CDATA[
  1624. ]]>
  1625. </script>
  1626. </datagrid>
  1627. <caption id="cpt_3" class="cell_1" visibility="hidden" style="left:0px; top:749px; width:98px; height:373px; text-align:center; "/>
  1628. <caption id="cpt_4" class="cell_1" visibility="hidden" style="left:0px; top:1124px; width:98px; height:373px; text-align:center; "/>
  1629. <caption id="cpt_5" class="cell_1" visibility="hidden" style="left:0px; top:1498px; width:98px; height:373px; text-align:center; "/>
  1630. <datagrid id="grd_disposdialseat_4" nodeset="/root/main/disposdialseatlist/disposdialseatinfo_4" visibility="hidden" backcoloralternate="#ffffff" caption="dialkindcd1^A^A^dialkindcd2^B^B^dialkindcd3^C^C^dialkindcd4^D^D^dialkindcd5^E^E" colsep="^" colwidth="0, 32, 61, 0, 32, 61, 0, 32, 61, 0, 32, 63, 0, 32, 61" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:100px; top:1124px; width:1015px; height:370px; ">
  1631. <col ref="dialkindcd_1"/>
  1632. <col ref="dialseatflag_1"/>
  1633. <col ref="hngnm_1"/>
  1634. <col ref="dialkindcd_2"/>
  1635. <col ref="dialseatflag_2"/>
  1636. <col ref="hngnm_2"/>
  1637. <col ref="dialkindcd_3"/>
  1638. <col ref="dialseatflag_3"/>
  1639. <col ref="hngnm_3"/>
  1640. <col ref="dialkindcd_4"/>
  1641. <col ref="dialseatflag_4"/>
  1642. <col ref="hngnm_4"/>
  1643. <col ref="dialkindcd_5"/>
  1644. <col ref="dialseatflag_5"/>
  1645. <col ref="hngnm_5"/>
  1646. <script type="javascript" ev:event="onclick">
  1647. <![CDATA[
  1648. ]]>
  1649. </script>
  1650. </datagrid>
  1651. <caption id="cpt_6" class="cell_1" visibility="hidden" style="left:0px; top:1872px; width:98px; height:373px; text-align:center; "/>
  1652. <datagrid id="grd_disposdialseat_5" nodeset="/root/main/disposdialseatlist/disposdialseatinfo_5" visibility="hidden" backcoloralternate="#ffffff" caption="dialkindcd1^A^A^dialkindcd2^B^B^dialkindcd3^C^C^dialkindcd4^D^D^dialkindcd5^E^E" colsep="^" colwidth="0, 32, 61, 0, 32, 61, 0, 32, 61, 0, 32, 63, 0, 32, 61" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:100px; top:1498px; width:1015px; height:370px; ">
  1653. <col ref="dialkindcd_1"/>
  1654. <col ref="dialseatflag_1"/>
  1655. <col ref="hngnm_1"/>
  1656. <col ref="dialkindcd_2"/>
  1657. <col ref="dialseatflag_2"/>
  1658. <col ref="hngnm_2"/>
  1659. <col ref="dialkindcd_3"/>
  1660. <col ref="dialseatflag_3"/>
  1661. <col ref="hngnm_3"/>
  1662. <col ref="dialkindcd_4"/>
  1663. <col ref="dialseatflag_4"/>
  1664. <col ref="hngnm_4"/>
  1665. <col ref="dialkindcd_5"/>
  1666. <col ref="dialseatflag_5"/>
  1667. <col ref="hngnm_5"/>
  1668. <script type="javascript" ev:event="onclick">
  1669. <![CDATA[
  1670. ]]>
  1671. </script>
  1672. </datagrid>
  1673. <datagrid id="grd_disposdialseat_6" nodeset="/root/main/disposdialseatlist/disposdialseatinfo_6" visibility="hidden" caption="dialkindcd1^A^A^dialkindcd2^B^B^dialkindcd3^C^C^dialkindcd4^D^D^dialkindcd5^E^E" colsep="^" colwidth="0, 32, 61, 0, 32, 61, 0, 32, 61, 0, 32, 63, 0, 32, 61" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:100px; top:1872px; width:1015px; height:370px; ">
  1674. <col ref="dialkindcd_1"/>
  1675. <col ref="dialseatflag_1"/>
  1676. <col ref="hngnm_1"/>
  1677. <col ref="dialkindcd_2"/>
  1678. <col ref="dialseatflag_2"/>
  1679. <col ref="hngnm_2"/>
  1680. <col ref="dialkindcd_3"/>
  1681. <col ref="dialseatflag_3"/>
  1682. <col ref="hngnm_3"/>
  1683. <col ref="dialkindcd_4"/>
  1684. <col ref="dialseatflag_4"/>
  1685. <col ref="hngnm_4"/>
  1686. <col ref="dialkindcd_5"/>
  1687. <col ref="dialseatflag_5"/>
  1688. <col ref="hngnm_5"/>
  1689. <script type="javascript" ev:event="onclick">
  1690. <![CDATA[
  1691. ]]>
  1692. </script>
  1693. </datagrid>
  1694. <datagrid id="grd_disposdialseat_7" nodeset="/root/main/disposdialseatlist/disposdialseatinfo_7" visibility="hidden" caption="dialkindcd1^A^A^dialkindcd2^B^B^dialkindcd3^C^C^dialkindcd4^D^D^dialkindcd5^E^E" colsep="^" colwidth="0, 32, 61, 0, 32, 61, 0, 32, 61, 0, 32, 63, 0, 32, 61" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:100px; top:2246px; width:1015px; height:370px; ">
  1695. <col ref="dialkindcd_1"/>
  1696. <col ref="dialseatflag_1"/>
  1697. <col ref="hngnm_1"/>
  1698. <col ref="dialkindcd_2"/>
  1699. <col ref="dialseatflag_2"/>
  1700. <col ref="hngnm_2"/>
  1701. <col ref="dialkindcd_3"/>
  1702. <col ref="dialseatflag_3"/>
  1703. <col ref="hngnm_3"/>
  1704. <col ref="dialkindcd_4"/>
  1705. <col ref="dialseatflag_4"/>
  1706. <col ref="hngnm_4"/>
  1707. <col ref="dialkindcd_5"/>
  1708. <col ref="dialseatflag_5"/>
  1709. <col ref="hngnm_5"/>
  1710. <script type="javascript" ev:event="onclick">
  1711. <![CDATA[
  1712. ]]>
  1713. </script>
  1714. </datagrid>
  1715. <caption id="cpt_7" class="cell_1" visibility="hidden" style="left:0px; top:2246px; width:98px; height:373px; text-align:center; "/>
  1716. <datagrid id="grd_disposdialseat_1" nodeset="/root/main/disposdialseatlist/disposdialseatinfo_1" backcoloralternate="#ffffff" caption="dialkindcd1^A^A^dialkindcd2^B^B^dialkindcd3^C^C^dialkindcd4^D^D^dialkindcd5^E^E" colsep="^" colwidth="0, 32, 61, 0, 32, 61, 0, 32, 61, 0, 32, 63, 0, 32, 61" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:100px; top:0px; width:1015px; height:370px; ">
  1717. <col ref="dialkindcd_1"/>
  1718. <col ref="dialseatflag_1"/>
  1719. <col ref="hngnm_1"/>
  1720. <col ref="dialkindcd_2"/>
  1721. <col ref="dialseatflag_2"/>
  1722. <col ref="hngnm_2"/>
  1723. <col ref="dialkindcd_3"/>
  1724. <col ref="dialseatflag_3"/>
  1725. <col ref="hngnm_3"/>
  1726. <col ref="dialkindcd_4"/>
  1727. <col ref="dialseatflag_4"/>
  1728. <col ref="hngnm_4"/>
  1729. <col ref="dialkindcd_5"/>
  1730. <col ref="dialseatflag_5"/>
  1731. <col ref="hngnm_5"/>
  1732. </datagrid>
  1733. </group>
  1734. <datagrid id="grd_listsrch" nodeset="/root/main/detlrsrvlist/detlrsrvsrch/centcd" backcoloralternate="#ffffff" caption="구역^dialkindcd^Bed^성명^비고" colsep="^" colwidth="192, 0, 181, 251, 535" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:77px; width:1179px; height:600px; ">
  1735. <col ref="dialareaflag"/>
  1736. <col ref="dialkindcd"/>
  1737. <col ref="dialseatflag"/>
  1738. <col ref="hngnm"/>
  1739. <col ref="comment"/>
  1740. </datagrid>
  1741. <line id="line12" class="line_1" style="x1:5px; y1:72px; x2:1184px; y2:72px; "/>
  1742. <group id="group6" visibility="hidden" style="left:5px; top:680px; width:1173px; height:23px; ">
  1743. <output id="opt_weeknewcount" ref="/root/main/srchdialseatlist/optinfo/weeknewcount" class="output_fix" style="left:255px; top:1px; width:95px; height:19px; text-align:center; "/>
  1744. <output id="opt_weekcount" ref="/root/main/srchdialseatlist/optinfo/weekcount" class="output_fix" style="left:65px; top:1px; width:100px; height:19px; text-align:center; "/>
  1745. <caption id="caption50" style="left:168px; top:2px; width:25px; height:20px; ">명</caption>
  1746. <caption id="caption51" style="left:353px; top:2px; width:25px; height:20px; ">명</caption>
  1747. <caption id="caption53" class="cell_1" style="left:185px; top:0px; width:67px; height:23px; text-align:center; ">주신환환자</caption>
  1748. <caption id="caption55" class="cell_1" style="left:0px; top:0px; width:63px; height:23px; text-align:center; ">주당환자</caption>
  1749. </group>
  1750. <group id="group5" style="left:5px; top:679px; width:1175px; height:24px; ">
  1751. <output id="opt_newcount" ref="/root/main/srchdialseatlist/optinfo/newcount" class="output_fix" style="left:205px; top:1px; width:55px; height:19px; text-align:center; "/>
  1752. <output id="opt_todaycount" ref="/root/main/srchdialseatlist/optinfo/todaycount" class="output_fix" style="left:65px; top:1px; width:55px; height:19px; text-align:center; "/>
  1753. <output id="opt_newhngnm" ref="/root/main/srchdialseatlist/optinfo/newhngnm" class="output_fix" style="left:353px; top:1px; width:337px; height:19px; "/>
  1754. <caption id="caption44" style="left:122px; top:2px; width:23px; height:20px; ">명</caption>
  1755. <caption id="caption45" style="left:262px; top:2px; width:17px; height:20px; ">명</caption>
  1756. <caption id="caption46" class="cell_1" style="left:140px; top:0px; width:63px; height:23px; text-align:center; ">신환환자</caption>
  1757. <caption id="caption47" class="cell_1" style="left:282px; top:0px; width:67px; height:23px; text-align:center; ">신환환자명</caption>
  1758. <caption id="caption22" class="cell_1" style="left:0px; top:0px; width:63px; height:23px; text-align:center; ">당일환자</caption>
  1759. </group>
  1760. <group id="group2" ref="/root/main/year" style="left:4px; top:10px; width:1181px; height:35px; vertical-align:top; ">
  1761. <shape id="roundrect3" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1180px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  1762. <select1 id="rdo_srsvflag" ref="/root/main/condition/rsrvfalg" class="radio_search" disabled="true" appearance="full" cellspacing="90" cols="2" overflow="visible" style="left:340px; top:11px; width:220px; height:13px; background-color:transparent; border-style:none; ">
  1763. <choices>
  1764. <item>
  1765. <label>일 단위</label>
  1766. <value>1</value>
  1767. </item>
  1768. <item>
  1769. <label>주 단위</label>
  1770. <value>2</value>
  1771. </item>
  1772. </choices>
  1773. <script type="javascript" ev:event="xforms-value-changed">
  1774. <![CDATA[
  1775. if(rdo_srsvflag.value ==1){ //일단위 조회
  1776. ipt_srchdd.disabled = false;
  1777. cmb_year.disabled = true;
  1778. cmb_month.disabled = true;
  1779. cmb_weeks.disabled = true;
  1780. opt_srchdd.disabled = false;
  1781. group5.visible = true;
  1782. group6.visible = false;
  1783. cpt_2.visible = false;
  1784. grd_disposdialseat_2.attribute("visibility") = "hidden";
  1785. cpt_3.visible = false;
  1786. grd_disposdialseat_3.attribute("visibility") = "hidden";
  1787. cpt_4.visible = false;
  1788. grd_disposdialseat_4.attribute("visibility") = "hidden";
  1789. cpt_5.visible = false;
  1790. grd_disposdialseat_5.attribute("visibility") = "hidden";
  1791. cpt_6.visible = false;
  1792. grd_disposdialseat_6.attribute("visibility") = "hidden";
  1793. cpt_7.visible = false;
  1794. grd_disposdialseat_7.attribute("visibility") = "hidden";
  1795. //조회
  1796. //리스트형식
  1797. if(rdo_formflag.value==1){
  1798. fSrchDialSeatList(); // 투석자리 리스트형식 조회
  1799. // fSrchCount(); //당일환자수, 신원환자수, 신원환자명 조회
  1800. fAppViral(); //스타일지정
  1801. }
  1802. //배치표형식
  1803. else if(rdo_formflag.value==2){
  1804. fSrchDialSeatDispos(); //투석자리 배치표형식 조회
  1805. // fSrchCount();
  1806. fAppViral(); //스타일지정
  1807. } //주당환자수, 신원환자수 조회
  1808. }else{ //주단위 조회
  1809. ipt_srchdd.disabled = true;
  1810. if(rdo_formflag.value == 1){ //리스트형식일 때
  1811. //조회
  1812. fSrchDialSeatList(); // 투석자리 리스트형식 조회
  1813. // fSrchCount(); //당일환자수, 신원환자수, 신원환자명 조회
  1814. fAppViral(); //스타일지정
  1815. cmb_year.disabled = true;
  1816. cmb_month.disabled = true;
  1817. cmb_weeks.disabled = true;
  1818. opt_srchdd.disabled = false;
  1819. group5.visible = true;
  1820. group6.visible = false;
  1821. }else{ //배치표형식일 때
  1822. fSrchDialSeatDispos(); //투석자리 배치표형식 조회
  1823. // fSrchCount();
  1824. fAppViral(); //스타일지정
  1825. cmb_year.disabled = false;
  1826. cmb_month.disabled = false;
  1827. cmb_weeks.disabled = false;
  1828. opt_srchdd.disabled = true;
  1829. group5.visible = false;
  1830. group6.visible = true;
  1831. // cpt_2.visible = true;
  1832. // grd_disposdialseat_2.attribute("visibility") = "visible";
  1833. // cpt_3.visible = true;
  1834. // grd_disposdialseat_3.attribute("visibility") = "visible";
  1835. // cpt_4.visible = true;
  1836. // grd_disposdialseat_4.attribute("visibility") = "visible";
  1837. // cpt_5.visible = true;
  1838. // grd_disposdialseat_5.attribute("visibility") = "visible";
  1839. // cpt_6.visible = true;
  1840. // grd_disposdialseat_6.attribute("visibility") = "visible";
  1841. // cpt_7.visible = true;
  1842. // grd_disposdialseat_7.attribute("visibility") = "visible";
  1843. }
  1844. }
  1845. ]]>
  1846. </script>
  1847. </select1>
  1848. <caption id="caption17" class="search_name" style="left:251px; top:9px; width:86px; height:17px; ">조회일자 :</caption>
  1849. <button id="button16" class="btn1_letter2" style="left:1055px; top:7px; width:56px; height:22px; ">
  1850. <caption>조회</caption>
  1851. <script type="javascript" ev:event="DOMActivate">
  1852. <![CDATA[
  1853. if(model.getValue("/root/main/condition/srchdd") == "") {
  1854. messageBox("조회일자를", "C001", "");
  1855. } else {
  1856. //리스트형식
  1857. if(rdo_formflag.value==1){
  1858. fSrchDialSeatList(); // 투석자리 리스트형식 조회
  1859. // fSrchCount(); //당일환자수, 신원환자수, 신원환자명 조회
  1860. fAppViral(); //스타일지정
  1861. }
  1862. //배치표형식
  1863. else if(rdo_formflag.value==2){
  1864. fSrchDialSeatDispos(); //투석자리 배치표형식 조회
  1865. // fSrchCount(); //주당환자수, 신원환자수 조회
  1866. fAppViral(); //스타일지정
  1867. }
  1868. }
  1869. ]]>
  1870. </script>
  1871. </button>
  1872. <line id="line11" class="line_4" style="x1:1040px; y1:7px; x2:1040px; y2:29px; "/>
  1873. <select id="chk_viral" ref="/root/main/condition/vitalopt" class="checkbox_search" overflow="visible" appearance="full" style="left:930px; top:10px; width:100px; height:15px; background-color:transparent; border-style:none; ">
  1874. <choices>
  1875. <item>
  1876. <label>Viral 표기제외</label>
  1877. <value>1</value>
  1878. </item>
  1879. </choices>
  1880. <script type="javascript" ev:event="xforms-value-changed">
  1881. <![CDATA[
  1882. if(chk_viral.value == 1) {
  1883. grd_listsrch.allstyle("all"," background-color" ) = "white";
  1884. grd_disposdialseat_1.allstyle("all"," background-color" ) = "white";
  1885. grd_disposdialseat_2.allstyle("all"," background-color" ) = "white";
  1886. grd_disposdialseat_3.allstyle("all"," background-color" ) = "white";
  1887. grd_disposdialseat_4.allstyle("all"," background-color" ) = "white";
  1888. grd_disposdialseat_5.allstyle("all"," background-color" ) = "white";
  1889. grd_disposdialseat_6.allstyle("all"," background-color" ) = "white";
  1890. grd_disposdialseat_7.allstyle("all"," background-color" ) = "white";
  1891. } else {
  1892. fAppCellColor(grd_listsrch , "/root/main/srchdialseatlist/srchdialseatinfo");
  1893. fAppCellColor(grd_disposdialseat_1, "/root/main/disposdialseatlist/disposdialseatinfo_1");
  1894. fAppCellColor(grd_disposdialseat_2, "/root/main/disposdialseatlist/disposdialseatinfo_2");
  1895. fAppCellColor(grd_disposdialseat_3, "/root/main/disposdialseatlist/disposdialseatinfo_3");
  1896. fAppCellColor(grd_disposdialseat_4, "/root/main/disposdialseatlist/disposdialseatinfo_4");
  1897. fAppCellColor(grd_disposdialseat_5, "/root/main/disposdialseatlist/disposdialseatinfo_5");
  1898. fAppCellColor(grd_disposdialseat_6, "/root/main/disposdialseatlist/disposdialseatinfo_6");
  1899. fAppCellColor(grd_disposdialseat_7, "/root/main/disposdialseatlist/disposdialseatinfo_7");
  1900. model.refresh();
  1901. }
  1902. ]]>
  1903. </script>
  1904. </select>
  1905. <input id="ipt_srchdd" ref="/root/main/condition/srchdd" class="input_search" inputtype="date" style="left:400px; top:8px; width:85px; height:19px; ">
  1906. <script type="javascript" ev:event="xforms-value-changed">
  1907. <![CDATA[
  1908. //* 조회 *//
  1909. if(rdo_formflag.value==1){
  1910. fSrchDialSeatList(); // 투석자리 리스트형식 조회
  1911. // fSrchCount(); //당일환자수, 신원환자수, 신원환자명 조회
  1912. fAppViral(); //스타일지정
  1913. }
  1914. //배치표형식
  1915. else if(rdo_formflag.value==2){
  1916. fSrchDialSeatDispos(); //투석자리 배치표형식 조회
  1917. // fSrchCount(); //주당환자수, 신원환자수 조회
  1918. fAppViral(); //스타일지정
  1919. }
  1920. ]]>
  1921. </script>
  1922. </input>
  1923. <select1 id="cmb_weeks" ref="/root/main/condition/weeks" class="combo_search" disabled="true" appearance="minimal" style="left:678px; top:8px; width:35px; height:19px; ">
  1924. <choices>
  1925. <item>
  1926. <label>1</label>
  1927. <value>1</value>
  1928. </item>
  1929. <item>
  1930. <label>2</label>
  1931. <value>2</value>
  1932. </item>
  1933. <item>
  1934. <label>3</label>
  1935. <value>3</value>
  1936. </item>
  1937. <item>
  1938. <label>4</label>
  1939. <value>4</value>
  1940. </item>
  1941. <item>
  1942. <label>5</label>
  1943. <value>5</value>
  1944. </item>
  1945. <item>
  1946. <label>6</label>
  1947. <value>6</value>
  1948. </item>
  1949. </choices>
  1950. <script type="javascript" ev:event="xforms-value-changed">
  1951. <![CDATA[
  1952. fSrchDialSeatDispos(); //투석자리 배치표형식 조회
  1953. // fSrchCount(); //주당환자수, 신원환자수 조회
  1954. fAppViral(); //스타일지정
  1955. ]]>
  1956. </script>
  1957. </select1>
  1958. <caption id="caption18" style="left:715px; top:9px; width:25px; height:20px; ">주</caption>
  1959. <button id="button21" class="btn1_letter2" style="left:1112px; top:7px; width:56px; height:22px; ">
  1960. <caption>출력</caption>
  1961. <script type="javascript" ev:event="DOMActivate">
  1962. <![CDATA[
  1963. var sFormFlag = model.getValue("/root/main/condition/formflag");
  1964. if(sFormFlag == "1"){ // List형식
  1965. model.removenode("/root/send");
  1966. model.makeNode("/root/send/condition");
  1967. model.makeNode("/root/send/srchdialseatlist");
  1968. model.makeNode("/root/send/optinfo");
  1969. model.copyNode("/root/send/condition" , "/root/main/condition");
  1970. model.copyNode("/root/send/srchdialseatlist", "/root/main/srchdialseatlist");
  1971. if(chk_viral.value == 1) { // Viral 표기제외 일 경우
  1972. for(var i=1; i<grd_listsrch.rows; i++){
  1973. model.makeValue("/root/send/srchdialseatlist/srchdialseatinfo["+i+"]/dialkindcd", "");
  1974. }
  1975. }
  1976. model.copyNode("/root/send/optinfo" , "/root/main/srchdialseatlist/optinfo");
  1977. exeReportPreview("RPMND01101", "XMLSTR");
  1978. }else if(sFormFlag == "2"){ // 배치표형식
  1979. model.removenode("/root/send");
  1980. model.makeNode("/root/send/condition");
  1981. model.makeNode("/root/send/optinfo");
  1982. model.copyNode("/root/send/condition", "/root/main/condition");
  1983. for(var j=1; j<8; j++){
  1984. for(var i=0; i<eval("grd_disposdialseat_"+j).rows; i++){
  1985. model.makeNode("/root/send/disposdialseatlist/disposdialseatinfo_"+j+"["+i+"]");
  1986. model.copyNode ("/root/send/disposdialseatlist/disposdialseatinfo_"+j+"["+i+"]", "/root/main/disposdialseatlist/disposdialseatinfo_"+j+"["+i+"]");
  1987. }
  1988. }
  1989. if(chk_viral.value == 1) { // Viral 표기제외 일 경우
  1990. for(i=1; i<6 ; i++){
  1991. for(var j=1; j<grd_disposdialseat_1.rows; j++){
  1992. model.makeValue("/root/send/disposdialseatlist/disposdialseatinfo_1["+j+"]/dialkindcd_"+i, "");
  1993. }
  1994. for(var j=1; j<grd_disposdialseat_2.rows; j++){
  1995. model.makeValue("/root/send/disposdialseatlist/disposdialseatinfo_2["+j+"]/dialkindcd_"+i, "");
  1996. }
  1997. for(var j=1; j<grd_disposdialseat_3.rows; j++){
  1998. model.makeValue("/root/send/disposdialseatlist/disposdialseatinfo_3["+j+"]/dialkindcd_"+i, "");
  1999. }
  2000. for(var j=1; j<grd_disposdialseat_4.rows; j++){
  2001. model.makeValue("/root/send/disposdialseatlist/disposdialseatinfo_4["+j+"]/dialkindcd_"+i, "");
  2002. }
  2003. for(var j=1; j<grd_disposdialseat_5.rows; j++){
  2004. model.makeValue("/root/send/disposdialseatlist/disposdialseatinfo_5["+j+"]/dialkindcd_"+i, "");
  2005. }
  2006. for(var j=1; j<grd_disposdialseat_6.rows; j++){
  2007. model.makeValue("/root/send/disposdialseatlist/disposdialseatinfo_6["+j+"]/dialkindcd_"+i, "");
  2008. }
  2009. for(var j=1; j<grd_disposdialseat_7.rows; j++){
  2010. model.makeValue("/root/send/disposdialseatlist/disposdialseatinfo_7["+j+"]/dialkindcd_"+i, "");
  2011. }
  2012. }
  2013. }
  2014. model.copyNode("/root/send/optinfo", "/root/main/srchdialseatlist/optinfo");
  2015. exeReportPreview("RPMND01102", "XMLSTR");
  2016. }
  2017. ]]>
  2018. </script>
  2019. </button>
  2020. <select1 id="rdo_shiftflag" ref="/root/main/condition/shiftflag" class="radio_search" appearance="full" cols="4" overflow="visible" style="left:800px; top:10px; width:120px; height:13px; background-color:transparent; border-style:none; ">
  2021. <choices>
  2022. <item>
  2023. <label>1</label>
  2024. <value>1</value>
  2025. </item>
  2026. <item>
  2027. <label>2</label>
  2028. <value>2</value>
  2029. </item>
  2030. <item>
  2031. <label>3</label>
  2032. <value>3</value>
  2033. </item>
  2034. <item>
  2035. <label>응급</label>
  2036. <value>5</value>
  2037. </item>
  2038. </choices>
  2039. <script type="javascript" ev:event="xforms-value-changed">
  2040. <![CDATA[
  2041. model.setValue("/root/main/condition/vitalopt", "");
  2042. if(rdo_formflag.value==1){
  2043. fSrchDialSeatList(); // 투석자리 리스트형식 조회
  2044. // fSrchCount(); //당일환자수, 신원환자수, 신원환자명 조회
  2045. fAppViral(); //스타일지정
  2046. }
  2047. //배치표형식
  2048. else if(rdo_formflag.value==2){
  2049. fSrchDialSeatDispos(); //투석자리 배치표형식 조회
  2050. // fSrchCount(); //주당환자수, 신원환자수 조회
  2051. fAppViral(); //스타일지정
  2052. }
  2053. ]]>
  2054. </script>
  2055. </select1>
  2056. <caption id="caption37" class="search_name" style="left:736px; top:9px; width:68px; height:17px; ">Shift :</caption>
  2057. <select1 id="cmb_month" ref="/root/main/condition/month" class="combo_search" disabled="true" appearance="minimal" style="left:619px; top:8px; width:39px; height:19px; ">
  2058. <choices>
  2059. <item>
  2060. <label>01</label>
  2061. <value>01</value>
  2062. </item>
  2063. <item>
  2064. <label>02</label>
  2065. <value>02</value>
  2066. </item>
  2067. <item>
  2068. <label>03</label>
  2069. <value>03</value>
  2070. </item>
  2071. <item>
  2072. <label>04</label>
  2073. <value>04</value>
  2074. </item>
  2075. <item>
  2076. <label>05</label>
  2077. <value>05</value>
  2078. </item>
  2079. <item>
  2080. <label>06</label>
  2081. <value>06</value>
  2082. </item>
  2083. <item>
  2084. <label>07</label>
  2085. <value>07</value>
  2086. </item>
  2087. <item>
  2088. <label>08</label>
  2089. <value>08</value>
  2090. </item>
  2091. <item>
  2092. <label>09</label>
  2093. <value>09</value>
  2094. </item>
  2095. <item>
  2096. <label>10</label>
  2097. <value>10</value>
  2098. </item>
  2099. <item>
  2100. <label>11</label>
  2101. <value>11</value>
  2102. </item>
  2103. <item>
  2104. <label>12</label>
  2105. <value>12</value>
  2106. </item>
  2107. </choices>
  2108. <script type="javascript" ev:event="xforms-value-changed">
  2109. <![CDATA[
  2110. fSrchDialSeatDispos(); //투석자리 배치표형식 조회
  2111. // fSrchCount(); //주당환자수, 신원환자수 조회
  2112. fAppViral(); //스타일지정
  2113. ]]>
  2114. </script>
  2115. </select1>
  2116. <select1 id="rdo_formflag" ref="/root/main/condition/formflag" class="radio_search" appearance="full" cols="2" overflow="visible" style="left:85px; top:10px; width:155px; height:13px; background-color:transparent; border-style:none; ">
  2117. <choices>
  2118. <item>
  2119. <label>List 형식</label>
  2120. <value>1</value>
  2121. </item>
  2122. <item>
  2123. <label>배치표 형식</label>
  2124. <value>2</value>
  2125. </item>
  2126. </choices>
  2127. <script type="javascript" ev:event="xforms-select">
  2128. <![CDATA[
  2129. if(rdo_formflag.value == 1){ //리스트형식 선택
  2130. rdo_srsvflag.value = 1; //조회일자 일단위 지정
  2131. grd_listsrch.visible = true; //리스트형식 visible
  2132. group3.visible = false; //배치표형식 hidden
  2133. opt_srchdd.visible = true; //조회일자 output visible
  2134. rdo_srsvflag.disabled = true; //조회일자 option
  2135. fSrchDialSeatList(); // 투석자리 리스트형식 조회
  2136. // fSrchCount(); //당일환자수, 신원환자수, 신원환자명 조회
  2137. fAppViral(); //스타일지정
  2138. //일단위 적용
  2139. cmb_year.disabled = true;
  2140. cmb_month.disabled = true;
  2141. cmb_weeks.disabled = true;
  2142. opt_srchdd.disabled = false;
  2143. group5.visible = true;
  2144. group6.visible = false;
  2145. cpt_2.visible = false;
  2146. grd_disposdialseat_2.attribute("visibility") = "hidden";
  2147. cpt_3.visible = false;
  2148. grd_disposdialseat_3.attribute("visibility") = "hidden";
  2149. cpt_4.visible = false;
  2150. grd_disposdialseat_4.attribute("visibility") = "hidden";
  2151. cpt_5.visible = false;
  2152. grd_disposdialseat_5.attribute("visibility") = "hidden";
  2153. cpt_6.visible = false;
  2154. grd_disposdialseat_6.attribute("visibility") = "hidden";
  2155. cpt_7.visible = false;
  2156. grd_disposdialseat_7.attribute("visibility") = "hidden";
  2157. }else{ //배치표형식 선택
  2158. grd_listsrch.visible = false; //리스트형식 hidden
  2159. group3.visible = true; //배치표형식 visible
  2160. opt_srchdd.visible = false; //조회일자 output hidden
  2161. rdo_srsvflag.disabled = false; //조회일자 option
  2162. fSrchDialSeatDispos(); //투석자리 배치표형식 조회
  2163. // fSrchCount(); //주당환자수, 신원환자수 조회
  2164. fAppViral(); //스타일지정
  2165. }
  2166. ]]>
  2167. </script>
  2168. </select1>
  2169. <caption id="caption19" class="search_name" style="left:16px; top:9px; width:66px; height:17px; ">형 식 :</caption>
  2170. <caption id="caption29" style="left:661px; top:9px; width:25px; height:20px; ">월</caption>
  2171. <caption id="caption23" style="left:601px; top:9px; width:25px; height:20px; ">년</caption>
  2172. <select1 id="cmb_year" ref="/root/main/condition/year" class="combo_search" disabled="true" appearance="minimal" style="left:550px; top:8px; width:50px; height:19px; ">
  2173. <choices>
  2174. <item>
  2175. <label>2000</label>
  2176. <value>2000</value>
  2177. </item>
  2178. <item>
  2179. <label>2001</label>
  2180. <value>2001</value>
  2181. </item>
  2182. <item>
  2183. <label>2002</label>
  2184. <value>2002</value>
  2185. </item>
  2186. <item>
  2187. <label>2003</label>
  2188. <value>2003</value>
  2189. </item>
  2190. <item>
  2191. <label>2004</label>
  2192. <value>2004</value>
  2193. </item>
  2194. <item>
  2195. <label>2005</label>
  2196. <value>2005</value>
  2197. </item>
  2198. <item>
  2199. <label>2006</label>
  2200. <value>2006</value>
  2201. </item>
  2202. <item>
  2203. <label>2007</label>
  2204. <value>2007</value>
  2205. </item>
  2206. <item>
  2207. <label>2008</label>
  2208. <value>2008</value>
  2209. </item>
  2210. <item>
  2211. <label>2009</label>
  2212. <value>2009</value>
  2213. </item>
  2214. <item>
  2215. <label>2010</label>
  2216. <value>2010</value>
  2217. </item>
  2218. <item>
  2219. <label>2011</label>
  2220. <value>2011</value>
  2221. </item>
  2222. <item>
  2223. <label>2012</label>
  2224. <value>2012</value>
  2225. </item>
  2226. <item>
  2227. <label>2013</label>
  2228. <value>2013</value>
  2229. </item>
  2230. <item>
  2231. <label>2014</label>
  2232. <value>2014</value>
  2233. </item>
  2234. <item>
  2235. <label>2015</label>
  2236. <value>2015</value>
  2237. </item>
  2238. <item>
  2239. <label>2016</label>
  2240. <value>2016</value>
  2241. </item>
  2242. <item>
  2243. <label>2017</label>
  2244. <value>2017</value>
  2245. </item>
  2246. <item>
  2247. <label>2018</label>
  2248. <value>2018</value>
  2249. </item>
  2250. </choices>
  2251. <script type="javascript" ev:event="xforms-value-changed">
  2252. <![CDATA[
  2253. fSrchDialSeatDispos(); //투석자리 배치표형식 조회
  2254. // fSrchCount(); //주당환자수, 신원환자수 조회
  2255. fAppViral(); //스타일지정
  2256. ]]>
  2257. </script>
  2258. </select1>
  2259. </group>
  2260. <caption id="caption20" class="tit_2" style="left:11px; top:55px; width:195px; height:14px; ">투석자리 배치표</caption>
  2261. <caption id="caption33" style="left:1154px; top:51px; width:30px; height:20px; ">Shift</caption>
  2262. <output id="opt_srchdd" ref="/root/main/srchdialseatlist/optinfo/srchdd" class="output_fix" style="left:1015px; top:50px; width:100px; height:19px; text-align:center; "/>
  2263. <output id="opt_shiftflag" ref="/root/main/srchdialseatlist/optinfo/shiftflag" class="output_fix" style="left:1118px; top:50px; width:35px; height:19px; text-align:center; "/>
  2264. </case>
  2265. </switch>
  2266. </group>
  2267. </xhtml:body>
  2268. </xhtml:html>