SMMRD01600_연구용검색.xrw 111 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>연구용 검색</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <cond>
  11. <instcd/>
  12. <opkind>N</opkind>
  13. <partrtnkind>N</partrtnkind>
  14. <allwomntypecd/>
  15. <chngdeptkind>N</chngdeptkind>
  16. <cnstkind>N</cnstkind>
  17. <dschfromdd/>
  18. <dschtodd/>
  19. <dschdeptcd/>
  20. <dschmedispclid/>
  21. <dschmedispclnm/>
  22. <dschatdoctid/>
  23. <dschatdoctnm/>
  24. <dschclsdept/>
  25. <infromdd/>
  26. <intodd/>
  27. <indeptcd/>
  28. <inmedispclid/>
  29. <inmedispclnm/>
  30. <inatdoctid/>
  31. <inatdoctnm/>
  32. <inclsdept/>
  33. <dschwardnm/>
  34. <inhospfromdd/>
  35. <inhosptodd/>
  36. <opfromdd/>
  37. <optodd/>
  38. <opdeptcd/>
  39. <opclsdept/>
  40. <perfdrid/>
  41. <perfdrnm/>
  42. <agefrom/>
  43. <ageto/>
  44. <sex/>
  45. <religncd/>
  46. <marystatcd/>
  47. <jobcd/>
  48. <insukind/>
  49. <fsexam/>
  50. <specordyn/>
  51. <cptrgt>-</cptrgt>
  52. <wundcasclscd/>
  53. <curersltcd/>
  54. <dethtypecd/>
  55. <dschtypecd/>
  56. <opdethtypecd/>
  57. <chosprogcd/>
  58. <reinresncd/>
  59. <inpathcd/>
  60. <reinyn/>
  61. <reopresncd/>
  62. <infccascd/>
  63. <infcpartcd/>
  64. <cncrrgstyn/>
  65. <cmplcd/>
  66. <indxinfo/>
  67. <icucd/>
  68. <icuroomcd/>
  69. <partrtnfromdd/>
  70. <partrtntodd/>
  71. <womntypecd/>
  72. <stlborncd/>
  73. <partrtnkindcd/>
  74. <prgweekfrom/>
  75. <prgweekto/>
  76. <nbabybdwtqtyfrom/>
  77. <nbabybdwtqtyto/>
  78. <chngdeptfromdd/>
  79. <chngdepttodd/>
  80. <chngdeptcd/>
  81. <chngclsdept/>
  82. <cnstreqfromdd/>
  83. <cnstreqtodd/>
  84. <cnstreqdeptcd/>
  85. <cnstclsdept/>
  86. <cnstexecfromdd/>
  87. <cnstexectodd/>
  88. <cnstexecdeptcd/>
  89. <cnstexeclrsdeptcd/>
  90. <cncrflag/>
  91. <infdisyn/>
  92. <tmpcodeyn/>
  93. <prmycncryn/>
  94. <dethyn/>
  95. <seer/>
  96. <staging/>
  97. <rerntmetstaspart/>
  98. <ecog/>
  99. <regimen/>
  100. <chosbfcuremthd/>
  101. <prmypart/>
  102. <metstaspart/>
  103. <icd10>I</icd10>
  104. <cctermcd/>
  105. <diagtermcd/>
  106. <optermcd/>
  107. <chngdeptcdlist/>
  108. <diagcd/>
  109. <dethcd/>
  110. <kinddethcd/>
  111. <tophcd/>
  112. <morphcd/>
  113. <rerntmetstaspartcd/>
  114. <baseinfo>Y</baseinfo>
  115. <duplelmn/>
  116. <addr/>
  117. <rrgstno/>
  118. <cntctel/>
  119. <dschanaly/>
  120. <sickandop/>
  121. <cncrpat/>
  122. <patinfoprtc/>
  123. <section1/>
  124. <section2/>
  125. <section3/>
  126. <section4/>
  127. <section5/>
  128. <section6/>
  129. <section7/>
  130. <offset>0</offset>
  131. <pagesize>10000</pagesize>
  132. <condnm/>
  133. <conduserid/>
  134. <dscdno/>
  135. <lglydiskind/>
  136. <rgstuserid/>
  137. <rgstusernm/>
  138. <rgstfromdd/>
  139. <rgsttodd/>
  140. <snum/>
  141. <enum/>
  142. <lastrow>Y</lastrow>
  143. <cnt/>
  144. <filepath/>
  145. <filenm/>
  146. <chkopt/>
  147. <!-- NOT node 추가 -->
  148. <n_cctermcd/>
  149. <n_diagtermcd/>
  150. <n_optermcd/>
  151. <n_chngdeptcd/>
  152. <n_rectermcd/>
  153. <n_dethcd/>
  154. <n_tophcd/>
  155. <n_morphcd/>
  156. <n_rerntmetstaspartcd/>
  157. </cond>
  158. <cclist>
  159. <rows>
  160. <cdid1/>
  161. <cdid2/>
  162. <cond/>
  163. <condflag/>
  164. </rows>
  165. </cclist>
  166. <diagcdlist>
  167. <rows>
  168. <cdid1/>
  169. <cdid2/>
  170. <cond/>
  171. <condflag/>
  172. <exceptro/>
  173. </rows>
  174. </diagcdlist>
  175. <opcdlist>
  176. <rows>
  177. <cdid1/>
  178. <cdid2/>
  179. <cond/>
  180. <condflag/>
  181. </rows>
  182. </opcdlist>
  183. <chngcdlist>
  184. <rows>
  185. <cdid1/>
  186. <cdid2/>
  187. <cond/>
  188. <condflag/>
  189. </rows>
  190. </chngcdlist>
  191. <cnstcdlist>
  192. <rows>
  193. <cdid1/>
  194. <cdid2/>
  195. <cond/>
  196. <condflag/>
  197. </rows>
  198. </cnstcdlist>
  199. <directcdlist>
  200. <rows>
  201. <cdid1/>
  202. <cdid2/>
  203. <cond/>
  204. <condflag/>
  205. </rows>
  206. </directcdlist>
  207. <tcdlist>
  208. <rows>
  209. <cdid1/>
  210. <cdid2/>
  211. <cond/>
  212. <condflag/>
  213. </rows>
  214. </tcdlist>
  215. <mcdlist>
  216. <rows>
  217. <cdid1/>
  218. <cdid2/>
  219. <cond/>
  220. <condflag/>
  221. </rows>
  222. </mcdlist>
  223. <metstascdlist>
  224. <rows>
  225. <cdid1/>
  226. <cdid2/>
  227. <cond/>
  228. <condflag/>
  229. </rows>
  230. </metstascdlist>
  231. <userpopupinfo>
  232. <param/>
  233. <flag/>
  234. <searchitem/>
  235. </userpopupinfo>
  236. <tempuserinfo/>
  237. <tempgrid>
  238. <prgmnm/>
  239. <prcsstat/>
  240. <fromdt/>
  241. <enddt/>
  242. </tempgrid>
  243. </main>
  244. <send>
  245. <reqdata/>
  246. <userinfo>
  247. <userid/>
  248. </userinfo>
  249. <wardcd/>
  250. <condsave/>
  251. <srchcond/>
  252. </send>
  253. <init>
  254. <orddept/>
  255. <relignList/>
  256. <maryStatList/>
  257. <jobList/>
  258. <insukindList/>
  259. <jobList/>
  260. <cureRsltList/>
  261. <dethTypeList/>
  262. <opDethTypeList/>
  263. <DschTypeList/>
  264. <chosProgList/>
  265. <inPathList/>
  266. <reInResnList/>
  267. <reOpResnList/>
  268. <infccaselist/>
  269. <infdcpartinfo/>
  270. <cmpllist/>
  271. <infccaselist/>
  272. <womntypeList/>
  273. <partrtntypeList/>
  274. <cncrlist/>
  275. <seer/>
  276. <staging/>
  277. <init>
  278. <ward>
  279. <wardcd/>
  280. <wardnm/>
  281. </ward>
  282. </init>
  283. <useynlist>
  284. <yn>
  285. <cd>-</cd>
  286. <nm>전체</nm>
  287. </yn>
  288. <yn>
  289. <cd>01</cd>
  290. <nm>Y</nm>
  291. </yn>
  292. <yn>
  293. <cd>02</cd>
  294. <nm>N</nm>
  295. </yn>
  296. </useynlist>
  297. <icudeptlist>
  298. <icudept>
  299. <deptcd/>
  300. <deptnm/>
  301. </icudept>
  302. </icudeptlist>
  303. <indxlist>
  304. <indx>
  305. <indxcd>01</indxcd>
  306. <indxnm>수술전후진단불일치</indxnm>
  307. </indx>
  308. </indxlist>
  309. <condition>
  310. <rows>
  311. <cdid>AND</cdid>
  312. <cdnm>AND</cdnm>
  313. </rows>
  314. <rows>
  315. <cdid>OR</cdid>
  316. <cdnm>OR</cdnm>
  317. </rows>
  318. <rows>
  319. <cdid>NOT</cdid>
  320. <cdnm>NOT</cdnm>
  321. </rows>
  322. </condition>
  323. <mdclrsdeptlist/>
  324. <gsclrsdeptlist/>
  325. <gyclrsdeptlist/>
  326. <pdclrsdeptlist/>
  327. <nulllist>
  328. <M503>
  329. <cdid>-</cdid>
  330. <cdnm>전체</cdnm>
  331. </M503>
  332. </nulllist>
  333. <wundcasclslist/>
  334. </init>
  335. <tmp>
  336. </tmp>
  337. <hidden>
  338. <infdcpartinfo>
  339. <infdcpartlist/>
  340. </infdcpartinfo>
  341. </hidden>
  342. <temp>
  343. <initlist/>
  344. </temp>
  345. <attachfile>
  346. <datacnt/>
  347. <fileYn/>
  348. <filesrc/>
  349. <list>
  350. <stdysrchlist/>
  351. </list>
  352. </attachfile>
  353. </root>
  354. </instance>
  355. <script type="javascript" ev:event="xforms-ready">
  356. <![CDATA[
  357. fInitialize();
  358. ]]>
  359. </script>
  360. <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
  361. <submission id="TRMNW00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/ward"/>
  362. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  363. <submission id="TRMRD00404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/stnddd" replace="instance" resultref="/root/temp/initlist"/>
  364. <submission id="TRMRD01602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condsave" resultref="/root/tmp"/>
  365. <submission id="TRMRD01603" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/indxlist"/>
  366. <submission id="TRMRD01604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/attachfile"/>
  367. <submission id="TRMRD01605" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cond" add="bottom" resultref="/root/attachfile"/>
  368. </model>
  369. <script type="javascript" src="../../../emr/qiweb/js/SMMQR00000.js"/>
  370. <script type="javascript" src="../../../emr/dschanalyweb/js/SMMRD01600.js"/>
  371. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  372. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  373. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  374. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  375. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  376. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  377. <script type="javascript">
  378. <![CDATA[
  379. /*
  380. * 파일생성현황 변경
  381. */
  382. function setPrg(fileNm, sts) {
  383. var row = grd_prglist.rows;
  384. if(sts == "s"){
  385. grd_prglist.addRow();
  386. grd_prglist.valueMatrix(row, grd_prglist.colRef("prgmnm")) = fileNm;
  387. grd_prglist.valueMatrix(row, grd_prglist.colRef("prcsstat")) = sts;
  388. grd_prglist.valueMatrix(row, grd_prglist.colRef("fromdt")) = fGetCurrentTime();
  389. }else{
  390. var findRow = grd_prglist.findRow(fileNm, 1, grd_prglist.colRef("prgmnm"), false, true);
  391. grd_prglist.valueMatrix(findRow, grd_prglist.colRef("enddt")) = fGetCurrentTime();
  392. grd_prglist.valueMatrix(findRow, grd_prglist.colRef("prcsstat")) = sts;
  393. }
  394. grd_prglist.refresh();
  395. }
  396. /*
  397. * 현재시간 가져오기
  398. */
  399. function fGetCurrentTime() {
  400. var nDate = new Date();
  401. var clock = nDate.getFullYear() + "-";
  402. clock += (nDate.getMonth() + 1) + "-";
  403. clock += nDate.getDate();
  404. var m = nDate.getMinutes();
  405. var s = nDate.getSeconds();
  406. if(m.length < 2){
  407. m = "0" + m;
  408. }
  409. if(s.length < 2){
  410. s = "0" + s;
  411. }
  412. var nTime = nDate.getHours() + ":";
  413. nTime += m + ":";
  414. nTime += s;
  415. var toDate = clock + " " + nTime;
  416. return toDate;
  417. }
  418. function fSetGrpDg(val){
  419. grp_prg.attribute("left") = "270px";
  420. grp_prg.attribute("top") = "180px";
  421. grp_prg.visible = val;
  422. }
  423. ]]>
  424. </script>
  425. </xhtml:head>
  426. <xhtml:body style="border-color:#00ccff; border-width:1px; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  427. <iviewer id="iviewer_list" visibility="hidden" src="SMMRD01800_연구용검색 리스트.xrw" style="left:0px; top:45px; width:1186; height:695; "/>
  428. <group id="grp_cond" style="left:0px; top:45px; width:1186px; height:695px; border-color:#c0c0c0; border-width:1px; border-style:solid; ">
  429. <line id="line53" class="line_2" style="x1:1px; y1:663px; x2:366px; y2:663px; "/>
  430. <datagrid id="grd_mcdlist" nodeset="/root/main/mcdlist/rows" caption="M-Code1^M-Code2^조건^caption1" colsep="^" colwidth="75, 75, 50, 0" dataheight="23" extendlastcol="scroll" rowheader="update" rowheight="23" rowsep="|" selectionmode="free" style="left:952px; top:260px; width:231px; height:116px; ">
  431. <col ref="cdid1" type="input"/>
  432. <col ref="cdid2" type="input"/>
  433. <col ref="cond" type="combo">
  434. <choices>
  435. <itemset nodeset="/root/init/condition/rows">
  436. <label ref="cdnm"/>
  437. <value ref="cdid"/>
  438. </itemset>
  439. </choices>
  440. </col>
  441. <col ref="condflag" visibility="hidden"/>
  442. <script type="javascript" ev:event="xforms-value-changed">
  443. <![CDATA[
  444. if(grd_mcdlist.col == "1" ){
  445. //코드2에 데이터가있는데 코드1의 내용을 지울경우
  446. if(grd_mcdlist.valueMatrix(grd_mcdlist.row, 1) == "" && grd_mcdlist.valueMatrix(grd_mcdlist.row, 2) != ""){
  447. model.setValue("/root/main/mcdlist/rows["+ grd_mcdlist.row +"]/cdid1", model.getValue("/root/main/mcdlist/rows["+ grd_mcdlist.row +"]/cdid2"));
  448. model.setValue("/root/main/mcdlist/rows["+ grd_mcdlist.row +"]/cdid2", "");
  449. }
  450. }
  451. //코드1이 비었는데 코드2를 입력 불가
  452. if(grd_mcdlist.col == "2" ){
  453. if(grd_mcdlist.valueMatrix(grd_mcdlist.row, 1) == ""){
  454. model.setValue("/root/main/mcdlist/rows["+ grd_mcdlist.row +"]/cdid1", model.getValue("/root/main/mcdlist/rows["+ grd_mcdlist.row +"]/cdid2"));
  455. model.setValue("/root/main/mcdlist/rows["+ grd_mcdlist.row +"]/cdid2", "");
  456. }
  457. }
  458. model.refresh();
  459. ]]>
  460. </script>
  461. </datagrid>
  462. <line id="line73" class="line_3" style="x1:717px; y1:338px; x2:947px; y2:338px; "/>
  463. <caption id="caption102" class="tit_2" style="left:722px; top:238px; width:79px; height:13px; ">주호소</caption>
  464. <line id="line62" class="line_1" style="x1:716px; y1:496px; x2:947px; y2:496px; "/>
  465. <line id="line51" class="line_1" style="x1:374px; y1:664px; x2:709px; y2:664px; "/>
  466. <select id="chk_dschanaly" ref="/root/main/cond/dschanaly" disabled="false" overflow="visible" appearance="full" cellspacing="5" cols="5" rows="1" style="left:374px; top:606px; width:70px; height:20px; border-style:none; ">
  467. <choices>
  468. <item>
  469. <label>퇴원분석</label>
  470. <value>Y</value>
  471. </item>
  472. </choices>
  473. <script type="javascript" ev:event="xforms-value-changed">
  474. <![CDATA[
  475. var dschanaly = model.getValue("/root/main/cond/dschanaly");
  476. if(dschanaly == "Y"){
  477. model.setValue("/root/main/cond/baseinfo", "");
  478. // chk_duplelmn.disabled = true;
  479. //model.refresh();
  480. // 2010.11.26. 이은영 컨트롤 초기화하기..
  481. chk_baseinfo.refresh();
  482. }
  483. ]]>
  484. </script>
  485. </select>
  486. <datagrid id="grd_metstascdlist" nodeset="/root/main/metstascdlist/rows" caption="전이코드1^전이코드2^조건^caption1" colsep="^" colwidth="75, 75, 50, 0" dataheight="23" extendlastcol="scroll" rowheader="update" rowheight="23" rowsep="|" selectionmode="free" style="left:950px; top:547px; width:231px; height:116px; ">
  487. <col ref="cdid1" type="input"/>
  488. <col ref="cdid2" type="input"/>
  489. <col ref="cond" type="combo">
  490. <choices>
  491. <itemset nodeset="/root/init/condition/rows">
  492. <label ref="cdnm"/>
  493. <value ref="cdid"/>
  494. </itemset>
  495. </choices>
  496. </col>
  497. <col ref="condflag" visibility="hidden"/>
  498. <script type="javascript" ev:event="xforms-value-changed">
  499. <![CDATA[
  500. if(grd_metstascdlist.col == "1" ){
  501. //코드2에 데이터가있는데 코드1의 내용을 지울경우
  502. if(grd_metstascdlist.valueMatrix(grd_metstascdlist.row, 1) == "" && grd_metstascdlist.valueMatrix(grd_metstascdlist.row, 2) != ""){
  503. model.setValue("/root/main/metstascdlist/rows["+ grd_metstascdlist.row +"]/cdid1", model.getValue("/root/main/metstascdlist/rows["+ grd_metstascdlist.row +"]/cdid2"));
  504. model.setValue("/root/main/metstascdlist/rows["+ grd_metstascdlist.row +"]/cdid2", "");
  505. }
  506. }
  507. //코드1이 비었는데 코드2를 입력 불가
  508. if(grd_metstascdlist.col == "2" ){
  509. if(grd_metstascdlist.valueMatrix(grd_metstascdlist.row, 1) == ""){
  510. model.setValue("/root/main/metstascdlist/rows["+ grd_metstascdlist.row +"]/cdid1", model.getValue("/root/main/metstascdlist/rows["+ grd_metstascdlist.row +"]/cdid2"));
  511. model.setValue("/root/main/metstascdlist/rows["+ grd_metstascdlist.row +"]/cdid2", "");
  512. }
  513. }
  514. model.refresh();
  515. ]]>
  516. </script>
  517. </datagrid>
  518. <datagrid id="grd_diagcdlist" nodeset="/root/main/diagcdlist/rows" caption="질병코드1^질병코드2^조건^R/O제외^caption1" colsep="^" colwidth="61, 61, 50, 63, 0" dataheight="23" extendlastcol="scroll" rowheader="update" rowheight="23" rowsep="|" selectionmode="free" style="left:717px; top:28px; width:230px; height:202px; ">
  519. <col editable="true" ref="cdid1" type="input"/>
  520. <col editable="true" ref="cdid2" type="input"/>
  521. <col ref="cond" type="combo">
  522. <choices>
  523. <itemset nodeset="/root/init/condition/rows">
  524. <label ref="cdnm"/>
  525. <value ref="cdid"/>
  526. </itemset>
  527. </choices>
  528. </col>
  529. <col checkvalue="Y,N" ref="exceptro" type="checkbox"/>
  530. <col ref="condflag" visibility="hidden"/>
  531. <script type="javascript" ev:event="xforms-value-changed">
  532. <![CDATA[
  533. if(grd_diagcdlist.col == "1" ){
  534. //코드2에 데이터가있는데 코드1의 내용을 지울경우
  535. if(grd_diagcdlist.valueMatrix(grd_diagcdlist.row, 1) == "" && grd_diagcdlist.valueMatrix(grd_diagcdlist.row, 2) != ""){
  536. model.setValue("/root/main/diagcdlist/rows["+ grd_diagcdlist.row +"]/cdid1", model.getValue("/root/main/diagcdlist/rows["+ grd_diagcdlist.row +"]/cdid2"));
  537. model.setValue("/root/main/diagcdlist/rows["+ grd_diagcdlist.row +"]/cdid2", "");
  538. model.refresh();
  539. }
  540. }
  541. //코드1이 비었는데 코드2를 입력 불가
  542. if(grd_diagcdlist.col == "2" ){
  543. if(grd_diagcdlist.valueMatrix(grd_diagcdlist.row, 1) == ""){
  544. model.setValue("/root/main/diagcdlist/rows["+ grd_diagcdlist.row +"]/cdid1", model.getValue("/root/main/diagcdlist/rows["+ grd_diagcdlist.row +"]/cdid2"));
  545. model.setValue("/root/main/diagcdlist/rows["+ grd_diagcdlist.row +"]/cdid2", "");
  546. model.refresh();
  547. }
  548. }
  549. ]]>
  550. </script>
  551. </datagrid>
  552. <line id="line63" class="line_3" style="x1:716px; y1:554px; x2:946px; y2:554px; "/>
  553. <button id="button1" class="btn2_letter3" navindex="8" style="left:1085px; top:4px; width:53px; height:19px; ">
  554. <caption>행삭제</caption>
  555. <script type="javascript" ev:event="DOMActivate">
  556. <![CDATA[
  557. grd_opcdlist.deleteRow(grd_opcdlist.row, true);
  558. ]]>
  559. </script>
  560. </button>
  561. <line id="line52" class="line_1" style="x1:717px; y1:23px; x2:948px; y2:23px; "/>
  562. <button id="button28" class="btn2_letter3" navindex="8" style="left:850px; top:235px; width:53px; height:19px; ">
  563. <caption>행삭제</caption>
  564. <script type="javascript" ev:event="DOMActivate">
  565. <![CDATA[
  566. grd_cclist.deleteRow(grd_cclist.row, true);
  567. ]]>
  568. </script>
  569. </button>
  570. <button id="button17" class="btn2_letter3" navindex="8" style="left:1083px; top:522px; width:53px; height:19px; ">
  571. <caption>행삭제</caption>
  572. <script type="javascript" ev:event="DOMActivate">
  573. <![CDATA[
  574. grd_metstascdlist.deleteRow(grd_metstascdlist.row, true);
  575. ]]>
  576. </script>
  577. </button>
  578. <line id="line64" class="line_3" style="x1:951px; y1:519px; x2:1181px; y2:519px; "/>
  579. <button id="button2" class="btn2_letter3" navindex="7" style="left:1030px; top:4px; width:53px; height:19px; ">
  580. <caption>행추가</caption>
  581. <script type="javascript" ev:event="DOMActivate">
  582. <![CDATA[
  583. if(grd_opcdlist.valueMatrix(grd_opcdlist.rows - 1, 1) == "" || grd_opcdlist.valueMatrix(grd_opcdlist.rows - 1, 3) == ""){
  584. return;
  585. }
  586. grd_opcdlist.addRow();
  587. var iRow = grd_opcdlist.rows - grd_opcdlist.fixedrows;
  588. model.setValue("/root/main/opcdlist/rows["+ iRow+"]/cond" , "AND");
  589. model.setValue("/root/main/opcdlist/rows["+ iRow+"]/condflag" , "F");
  590. ]]>
  591. </script>
  592. </button>
  593. <select id="checkbox24" ref="/root/main/cond/addr" disabled="false" overflow="visible" appearance="full" cellspacing="5" cols="5" rows="1" style="left:520px; top:586px; width:47px; height:20px; border-style:none; ">
  594. <choices>
  595. <item>
  596. <label>주소</label>
  597. <value>Y</value>
  598. </item>
  599. </choices>
  600. </select>
  601. <button id="button29" class="btn2_letter3" navindex="7" style="left:795px; top:235px; width:53px; height:19px; ">
  602. <caption>행추가</caption>
  603. <script type="javascript" ev:event="DOMActivate">
  604. <![CDATA[
  605. if(grd_cclist.valueMatrix(grd_cclist.rows - 1, 1) == "" || grd_cclist.valueMatrix(grd_cclist.rows - 1, 3) == ""){
  606. return;
  607. }
  608. grd_cclist.addRow();
  609. var iRow = grd_cclist.rows - grd_cclist.fixedrows;
  610. model.setValue("/root/main/cclist/rows["+ iRow+"]/cond" , "AND");
  611. model.setValue("/root/main/cclist/rows["+ iRow+"]/condflag" , "B");
  612. ]]>
  613. </script>
  614. </button>
  615. <line id="line43" class="line_1" style="x1:717px; y1:255px; x2:948px; y2:255px; "/>
  616. <button id="button18" class="btn2_letter3" navindex="7" style="left:1028px; top:522px; width:53px; height:19px; ">
  617. <caption>행추가</caption>
  618. <script type="javascript" ev:event="DOMActivate">
  619. <![CDATA[
  620. if(grd_metstascdlist.valueMatrix(grd_metstascdlist.rows - 1, 1) == "" || grd_metstascdlist.valueMatrix(grd_metstascdlist.rows - 1, 3) == ""){
  621. return;
  622. }
  623. grd_metstascdlist.addRow();
  624. var iRow = grd_metstascdlist.rows - grd_metstascdlist.fixedrows;
  625. model.setValue("/root/main/metstascdlist/rows["+ iRow+"]/cond" , "AND");
  626. model.setValue("/root/main/metstascdlist/rows["+ iRow+"]/condflag" , "I");
  627. ]]>
  628. </script>
  629. </button>
  630. <caption id="caption95" class="tit_2" style="left:956px; top:386px; width:79px; height:13px; ">T-Code</caption>
  631. <line id="line65" class="line_1" style="x1:951px; y1:401px; x2:1182px; y2:401px; "/>
  632. <caption id="caption51" class="tit_2" style="left:722px; top:350px; width:79px; height:13px; ">전과코드</caption>
  633. <button id="button3" class="btn2_letter3" navindex="8" style="left:850px; top:557px; width:53px; height:19px; ">
  634. <caption>행삭제</caption>
  635. <script type="javascript" ev:event="DOMActivate">
  636. <![CDATA[
  637. grd_cnstcdlist.deleteRow(grd_cnstcdlist.row, true);
  638. ]]>
  639. </script>
  640. </button>
  641. <line id="line54" class="line_3" style="x1:717px; y1:232px; x2:947px; y2:232px; "/>
  642. <button id="button19" class="btn2_letter3" navindex="8" style="left:1085px; top:235px; width:53px; height:19px; ">
  643. <caption>행삭제</caption>
  644. <script type="javascript" ev:event="DOMActivate">
  645. <![CDATA[
  646. grd_mcdlist.deleteRow(grd_mcdlist.row, true);
  647. ]]>
  648. </script>
  649. </button>
  650. <select id="chk_baseinfo" ref="/root/main/cond/baseinfo" disabled="false" overflow="visible" appearance="full" cellspacing="5" cols="5" rows="1" style="left:374px; top:586px; width:70px; height:20px; border-style:none; ">
  651. <choices>
  652. <item>
  653. <label>기본정보</label>
  654. <value>Y</value>
  655. </item>
  656. </choices>
  657. <script type="javascript" ev:event="xforms-value-changed">
  658. <![CDATA[
  659. var baseinfo = model.getValue("/root/main/cond/baseinfo");
  660. if(baseinfo == "Y"){
  661. model.setValue("/root/main/cond/dschanaly", "");
  662. model.setValue("/root/main/cond/sickandop", "");
  663. model.setValue("/root/main/cond/cncrpat", "");
  664. model.setValue("/root/main/cond/opkind", "N");
  665. model.setValue("/root/main/cond/partrtnkind", "N");
  666. model.setValue("/root/main/cond/chngdeptkind", "N");
  667. model.setValue("/root/main/cond/cnstkind", "N");
  668. // chk_duplelmn.disabled = false;
  669. chk_opt.value = "";
  670. //model.refresh();
  671. // 2010.11.26. 이은영 컨트롤 초기화하기..
  672. chk_dschanaly.refresh();
  673. chk_sickandop.refresh();
  674. chk_cncrpat.refresh();
  675. rdo_opkind.refresh();
  676. rdo_partrtnkind.refresh();
  677. rdo_chngdeptkind.refresh();
  678. rdo_cnstkind.refresh();
  679. chk_baseinfo.refresh();
  680. }
  681. ]]>
  682. </script>
  683. </select>
  684. <select id="checkbox1" ref="/root/main/cond/kinddethcd" overflow="visible" appearance="full" cols="3" rows="1" sep="','" style="left:719px; top:458px; width:205px; height:20px; border-style:none; ">
  685. <choices>
  686. <item>
  687. <label>선행사인</label>
  688. <value>B</value>
  689. </item>
  690. <item>
  691. <label>중간사인</label>
  692. <value>M</value>
  693. </item>
  694. <item>
  695. <label>직접사인</label>
  696. <value>D</value>
  697. </item>
  698. </choices>
  699. </select>
  700. <line id="line66" class="line_3" style="x1:716px; y1:665px; x2:946px; y2:665px; "/>
  701. <button id="button4" class="btn2_letter3" navindex="7" style="left:795px; top:557px; width:53px; height:19px; ">
  702. <caption>행추가</caption>
  703. <script type="javascript" ev:event="DOMActivate">
  704. <![CDATA[
  705. if(grd_cnstcdlist.valueMatrix(grd_cnstcdlist.rows - 1, 1) == "" || grd_cnstcdlist.valueMatrix(grd_cnstcdlist.rows - 1, 3) == ""){
  706. return;
  707. }
  708. grd_cnstcdlist.addRow();
  709. var iRow = grd_cnstcdlist.rows - grd_cnstcdlist.fixedrows;
  710. model.setValue("/root/main/cnstcdlist/rows["+ iRow+"]/cond" , "AND");
  711. model.setValue("/root/main/cnstcdlist/rows["+ iRow+"]/condflag" , "E");
  712. ]]>
  713. </script>
  714. </button>
  715. <line id="line55" class="line_1" style="x1:717px; y1:365px; x2:948px; y2:365px; "/>
  716. <select id="checkbox26" ref="/root/main/cond/rrgstno" disabled="false" overflow="visible" appearance="full" cellspacing="5" cols="5" rows="1" style="left:570px; top:586px; width:73px; height:20px; border-style:none; ">
  717. <choices>
  718. <item>
  719. <label>주민번호</label>
  720. <value>Y</value>
  721. </item>
  722. </choices>
  723. </select>
  724. <line id="line56" class="line_3" style="x1:374px; y1:643px; x2:709px; y2:643px; "/>
  725. <datagrid id="grd_tcdlist" nodeset="/root/main/tcdlist/rows" caption="T-Code1^T-Code2^조건^caption1" colsep="^" colwidth="75, 75, 50, 0" dataheight="23" extendlastcol="scroll" rowheader="update" rowheight="23" rowsep="|" selectionmode="free" style="left:951px; top:406px; width:231px; height:111px; ">
  726. <col ref="cdid1" type="input"/>
  727. <col ref="cdid2" type="input"/>
  728. <col ref="cond" type="combo">
  729. <choices>
  730. <itemset nodeset="/root/init/condition/rows">
  731. <label ref="cdnm"/>
  732. <value ref="cdid"/>
  733. </itemset>
  734. </choices>
  735. </col>
  736. <col ref="condflag" visibility="hidden"/>
  737. <script type="javascript" ev:event="xforms-value-changed">
  738. <![CDATA[
  739. if(grd_tcdlist.col == "1" ){
  740. //코드2에 데이터가있는데 코드1의 내용을 지울경우
  741. if(grd_tcdlist.valueMatrix(grd_tcdlist.row, 1) == "" && grd_tcdlist.valueMatrix(grd_tcdlist.row, 2) != ""){
  742. model.setValue("/root/main/tcdlist/rows["+ grd_tcdlist.row +"]/cdid1", model.getValue("/root/main/tcdlist/rows["+ grd_tcdlist.row +"]/cdid2"));
  743. model.setValue("/root/main/tcdlist/rows["+ grd_tcdlist.row +"]/cdid2", "");
  744. }
  745. }
  746. //코드1이 비었는데 코드2를 입력 불가
  747. if(grd_tcdlist.col == "2" ){
  748. if(grd_tcdlist.valueMatrix(grd_tcdlist.row, 1) == ""){
  749. model.setValue("/root/main/tcdlist/rows["+ grd_tcdlist.row +"]/cdid1", model.getValue("/root/main/tcdlist/rows["+ grd_tcdlist.row +"]/cdid2"));
  750. model.setValue("/root/main/tcdlist/rows["+ grd_tcdlist.row +"]/cdid2", "");
  751. }
  752. }
  753. model.refresh();
  754. ]]>
  755. </script>
  756. </datagrid>
  757. <caption id="caption97" class="tit_2" style="left:955px; top:527px; width:79px; height:13px; ">전이코드</caption>
  758. <button id="button5" class="btn2_letter3" navindex="8" style="left:850px; top:345px; width:53px; height:19px; ">
  759. <caption>행삭제</caption>
  760. <script type="javascript" ev:event="DOMActivate">
  761. <![CDATA[
  762. grd_chngcdlist.deleteRow(grd_chngcdlist.row, true);
  763. ]]>
  764. </script>
  765. </button>
  766. <caption id="caption86" class="tit_2" style="left:379px; top:566px; width:123px; height:13px; ">출력옵션</caption>
  767. <line id="line68" class="line_1" style="x1:952px; y1:255px; x2:1183px; y2:255px; "/>
  768. <caption id="caption98" class="tit_2" style="left:957px; top:240px; width:79px; height:13px; ">M-Code</caption>
  769. <select id="checkbox27" ref="/root/main/cond/cntctel" disabled="false" overflow="visible" appearance="full" cellspacing="5" cols="5" rows="1" style="left:642px; top:586px; width:73px; height:20px; border-style:none; ">
  770. <choices>
  771. <item>
  772. <label>전화번호</label>
  773. <value>Y</value>
  774. </item>
  775. </choices>
  776. </select>
  777. <line id="line57" class="line_3" style="x1:372px; y1:689px; x2:707px; y2:689px; "/>
  778. <datagrid id="grd_opcdlist" nodeset="/root/main/opcdlist/rows" caption="수술코드1^수술코드2^조건^caption1" colsep="^" colwidth="75, 75, 50, 0" dataheight="23" extendlastcol="scroll" rowheader="update" rowheight="23" rowsep="|" selectionmode="free" style="left:952px; top:27px; width:230px; height:203px; ">
  779. <col ref="cdid1" type="input"/>
  780. <col ref="cdid2" type="input"/>
  781. <col ref="cond" type="combo">
  782. <choices>
  783. <itemset nodeset="/root/init/condition/rows">
  784. <label ref="cdnm"/>
  785. <value ref="cdid"/>
  786. </itemset>
  787. </choices>
  788. </col>
  789. <col ref="condflag" visibility="hidden"/>
  790. <script type="javascript" ev:event="xforms-value-changed">
  791. <![CDATA[
  792. if(grd_opcdlist.col == "1" ){
  793. //코드2에 데이터가있는데 코드1의 내용을 지울경우
  794. if(grd_opcdlist.valueMatrix(grd_opcdlist.row, 1) == "" && grd_opcdlist.valueMatrix(grd_opcdlist.row, 2) != ""){
  795. model.setValue("/root/main/opcdlist/rows["+ grd_opcdlist.row +"]/cdid1", model.getValue("/root/main/opcdlist/rows["+ grd_opcdlist.row +"]/cdid2"));
  796. model.setValue("/root/main/opcdlist/rows["+ grd_opcdlist.row +"]/cdid2", "");
  797. }
  798. }
  799. //코드1이 비었는데 코드2를 입력 불가
  800. if(grd_opcdlist.col == "2" ){
  801. if(grd_opcdlist.valueMatrix(grd_opcdlist.row, 1) == ""){
  802. model.setValue("/root/main/opcdlist/rows["+ grd_opcdlist.row +"]/cdid1", model.getValue("/root/main/opcdlist/rows["+ grd_opcdlist.row +"]/cdid2"));
  803. model.setValue("/root/main/opcdlist/rows["+ grd_opcdlist.row +"]/cdid2", "");
  804. }
  805. }
  806. model.refresh();
  807. ]]>
  808. </script>
  809. </datagrid>
  810. <button id="button6" class="btn2_letter3" navindex="7" style="left:795px; top:345px; width:53px; height:19px; ">
  811. <caption>행추가</caption>
  812. <script type="javascript" ev:event="DOMActivate">
  813. <![CDATA[
  814. if(grd_chngcdlist.valueMatrix(grd_chngcdlist.rows - 1, 1) == "" || grd_chngcdlist.valueMatrix(grd_chngcdlist.rows - 1, 3) == ""){
  815. return;
  816. }
  817. grd_chngcdlist.addRow();
  818. var iRow = grd_chngcdlist.rows - grd_chngcdlist.fixedrows;
  819. model.setValue("/root/main/chngcdlist/rows["+ iRow+"]/cond" , "AND");
  820. model.setValue("/root/main/chngcdlist/rows["+ iRow+"]/condflag" , "C");
  821. ]]>
  822. </script>
  823. </button>
  824. <caption id="caption87" class="tit_2" style="left:379px; top:647px; width:126px; height:13px; ">확장코드 검색조건</caption>
  825. <line id="line69" class="line_3" style="x1:952px; y1:377px; x2:1182px; y2:377px; "/>
  826. <line id="line58" class="line_1" style="x1:716px; y1:577px; x2:947px; y2:577px; "/>
  827. <caption id="caption88" class="tit_2" style="left:722px; top:8px; width:79px; height:13px; ">질병코드</caption>
  828. <group id="group4" style="left:372px; top:52px; width:340px; height:293px; ">
  829. <line id="line31" class="line_2" style="x1:0px; y1:266px; x2:335px; y2:266px; "/>
  830. <line id="line39" class="line_2" style="x1:0px; y1:242px; x2:335px; y2:242px; "/>
  831. <line id="line38" class="line_2" style="x1:0px; y1:218px; x2:335px; y2:218px; "/>
  832. <line id="line36" class="line_2" style="x1:0px; y1:194px; x2:335px; y2:194px; "/>
  833. <line id="line60" class="line_2" style="x1:0px; y1:144px; x2:335px; y2:144px; "/>
  834. <select1 id="combo16" ref="/root/main/cond/cnstexecdeptcd" class="combo_default" navindex="3" appearance="minimal" _required="true" style="left:82px; top:245px; width:80px; height:19px; ">
  835. <choices>
  836. <itemset nodeset="/root/init/orddept/dept">
  837. <label ref="depthngnm"/>
  838. <value ref="deptcd"/>
  839. </itemset>
  840. </choices>
  841. <script type="javascript" ev:event="xforms-value-changed">
  842. <![CDATA[
  843. var deptcd = model.getValue("/root/main/cond/cnstexecdeptcd");
  844. switch(deptcd){
  845. case "2010000000":
  846. cmb_cnstexeclrsdeptcd.choices.itemset.attribute("nodeset") = "/root/init/mdclrsdeptlist/M0500";
  847. break;
  848. case "2040000000":
  849. cmb_cnstexeclrsdeptcd.choices.itemset.attribute("nodeset") = "/root/init/gsclrsdeptlist/M0501";
  850. break;
  851. case "2100000000":
  852. cmb_cnstexeclrsdeptcd.choices.itemset.attribute("nodeset") = "/root/init/gyclrsdeptlist/M0502";
  853. break;
  854. case "2110000000":
  855. cmb_cnstexeclrsdeptcd.choices.itemset.attribute("nodeset") = "/root/init/pdclrsdeptlist/M0503";
  856. break;
  857. default:
  858. cmb_cnstexeclrsdeptcd.choices.itemset.attribute("nodeset") = "/root/init/nulllist/M503";
  859. break;
  860. }
  861. cmb_cnstexeclrsdeptcd.refresh();
  862. model.refresh();
  863. ]]>
  864. </script>
  865. </select1>
  866. <caption id="caption93" class="search_no_b" style="left:284px; top:74px; width:12px; height:17px; ">~</caption>
  867. <caption id="caption60" class="cell_1" style="left:0px; top:122px; width:80px; height:23px; ">전출과</caption>
  868. <line id="line30" class="line_2" style="x1:0px; y1:46px; x2:335px; y2:46px; "/>
  869. <input id="input9" ref="/root/main/cond/prgweekto" class="input_search" navindex="40" format="999" appearance="input" style="left:300px; top:49px; width:30px; height:19px; "/>
  870. <caption id="caption61" class="cell_1" style="left:0px; top:24px; width:80px; height:23px; ">산모형태</caption>
  871. <caption id="caption62" class="cell_1" style="left:0px; top:196px; width:80px; height:23px; ">협진의뢰과</caption>
  872. <line id="line32" class="line_2" style="x1:0px; y1:120px; x2:335px; y2:120px; "/>
  873. <caption id="caption63" class="cell_1" style="left:167px; top:196px; width:80px; height:23px; ">분과</caption>
  874. <line id="line33" class="line_2" style="x1:0px; y1:70px; x2:335px; y2:70px; "/>
  875. <caption id="caption52" class="cell_1" style="left:167px; top:72px; width:80px; height:23px; ">신생아체중</caption>
  876. <input id="input20" ref="/root/main/cond/nbabybdwtqtyfrom" class="input_search" navindex="39" appearance="input" style="left:249px; top:73px; width:30px; height:19px; "/>
  877. <caption id="caption64" class="search_no_b" style="left:184px; top:174px; width:12px; height:17px; ">~</caption>
  878. <caption id="caption53" class="cell_1" style="left:167px; top:122px; width:80px; height:23px; ">분과</caption>
  879. <input id="input21" ref="/root/main/cond/nbabybdwtqtyto" class="input_search" navindex="40" appearance="input" style="left:300px; top:73px; width:30px; height:19px; "/>
  880. <input id="input22" ref="/root/main/cond/cnstreqtodd" class="input_search" inputtype="date" style="left:197px; top:173px; width:100px; height:19px; "/>
  881. <caption id="caption65" class="cell_1" style="left:0px; top:172px; width:80px; height:23px; ">협진의뢰일</caption>
  882. <caption id="caption54" class="cell_1" style="left:0px; top:48px; width:80px; height:23px; ">분만형태</caption>
  883. <caption id="caption66" class="cell_1" style="left:0px; top:244px; width:80px; height:23px; ">협진시행과</caption>
  884. <input id="input23" ref="/root/main/cond/cnstreqfromdd" class="input_search" inputtype="date" style="left:82px; top:173px; width:100px; height:19px; "/>
  885. <caption id="caption55" class="search_no_b" style="left:184px; top:100px; width:12px; height:17px; ">~</caption>
  886. <input id="input24" ref="/root/main/cond/cnstexectodd" class="input_search" inputtype="date" style="left:197px; top:221px; width:100px; height:19px; "/>
  887. <caption id="caption67" class="cell_1" style="left:167px; top:243px; width:80px; height:23px; ">분과</caption>
  888. <caption id="caption56" class="search_no_b" style="left:184px; top:2px; width:12px; height:17px; ">~</caption>
  889. <input id="input25" ref="/root/main/cond/cnstexecfromdd" class="input_search" inputtype="date" style="left:82px; top:221px; width:100px; height:19px; "/>
  890. <caption id="caption68" class="search_no_b" style="left:184px; top:222px; width:12px; height:17px; ">~</caption>
  891. <caption id="caption69" class="cell_1" style="left:0px; top:220px; width:80px; height:23px; ">협진시행일</caption>
  892. <select id="checkbox7" ref="/root/main/cond/stlborncd" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" style="left:249px; top:26px; width:80px; height:20px; border-style:none; ">
  893. <choices>
  894. <item>
  895. <label>Y</label>
  896. <value>Y</value>
  897. </item>
  898. <item>
  899. <label>N</label>
  900. <value>N</value>
  901. </item>
  902. </choices>
  903. </select>
  904. <caption id="caption58" class="cell_1" style="left:0px; top:0px; width:80px; height:23px; ">분만일</caption>
  905. <input id="input27" ref="/root/main/cond/partrtntodd" class="input_search" inputtype="date" style="left:197px; top:1px; width:100; height:19px; "/>
  906. <caption id="caption59" class="cell_1" style="left:0px; top:98px; width:80px; height:23px; ">전출일</caption>
  907. <line id="line29" class="line_2" style="x1:0px; y1:22px; x2:335px; y2:22px; "/>
  908. <input id="input17" ref="/root/main/cond/prgweekfrom" class="input_search" navindex="39" format="999" appearance="input" style="left:249px; top:49px; width:30px; height:19px; "/>
  909. <input id="input28" ref="/root/main/cond/partrtnfromdd" class="input_search" inputtype="date" style="left:82px; top:1px; width:100; height:19px; "/>
  910. <caption id="caption49" class="cell_1" style="left:167px; top:48px; width:80px; height:23px; ">임신주수</caption>
  911. <input id="input18" ref="/root/main/cond/chngdepttodd" class="input_search" inputtype="date" style="left:197px; top:99px; width:100px; height:19px; "/>
  912. <select1 id="combo12" ref="/root/main/cond/chngdeptcd" class="combo_default" navindex="3" appearance="minimal" _required="true" style="left:82px; top:123px; width:80px; height:19px; ">
  913. <choices>
  914. <itemset nodeset="/root/init/orddept/dept">
  915. <label ref="depthngnm"/>
  916. <value ref="deptcd"/>
  917. </itemset>
  918. </choices>
  919. <script type="javascript" ev:event="xforms-value-changed">
  920. <![CDATA[
  921. var deptcd = model.getValue("/root/main/cond/chngdeptcd");
  922. switch(deptcd){
  923. case "2010000000":
  924. cmb_chngclsdept.choices.itemset.attribute("nodeset") = "/root/init/mdclrsdeptlist/M0500";
  925. break;
  926. case "2040000000":
  927. cmb_chngclsdept.choices.itemset.attribute("nodeset") = "/root/init/gsclrsdeptlist/M0501";
  928. break;
  929. case "2100000000":
  930. cmb_chngclsdept.choices.itemset.attribute("nodeset") = "/root/init/gyclrsdeptlist/M0502";
  931. break;
  932. case "2110000000":
  933. cmb_chngclsdept.choices.itemset.attribute("nodeset") = "/root/init/pdclrsdeptlist/M0503";
  934. break;
  935. default:
  936. cmb_chngclsdept.choices.itemset.attribute("nodeset") = "/root/init/nulllist/M503";
  937. break;
  938. }
  939. cmb_chngclsdept.refresh();
  940. model.refresh();
  941. ]]>
  942. </script>
  943. </select1>
  944. <input id="input19" ref="/root/main/cond/chngdeptfromdd" class="input_search" inputtype="date" style="left:82px; top:99px; width:100px; height:19px; "/>
  945. <caption id="caption100" class="search_no_b" style="left:284px; top:49px; width:12px; height:17px; ">~</caption>
  946. <select1 id="combo14" ref="/root/main/cond/cnstreqdeptcd" class="combo_default" navindex="3" appearance="minimal" _required="true" style="left:82px; top:197px; width:80px; height:19px; ">
  947. <choices>
  948. <itemset nodeset="/root/init/orddept/dept">
  949. <label ref="depthngnm"/>
  950. <value ref="deptcd"/>
  951. </itemset>
  952. </choices>
  953. <script type="javascript" ev:event="xforms-value-changed">
  954. <![CDATA[
  955. var deptcd = model.getValue("/root/main/cond/cnstreqdeptcd");
  956. switch(deptcd){
  957. case "2010000000":
  958. cmb_cnstclsdept.choices.itemset.attribute("nodeset") = "/root/init/mdclrsdeptlist/M0500";
  959. break;
  960. case "2040000000":
  961. cmb_cnstclsdept.choices.itemset.attribute("nodeset") = "/root/init/gsclrsdeptlist/M0501";
  962. break;
  963. case "2100000000":
  964. cmb_cnstclsdept.choices.itemset.attribute("nodeset") = "/root/init/gyclrsdeptlist/M0502";
  965. break;
  966. case "2110000000":
  967. cmb_cnstclsdept.choices.itemset.attribute("nodeset") = "/root/init/pdclrsdeptlist/M0503";
  968. break;
  969. default:
  970. cmb_cnstclsdept.choices.itemset.attribute("nodeset") = "/root/init/nulllist/M503";
  971. break;
  972. }
  973. cmb_cnstclsdept.refresh();
  974. model.refresh();
  975. ]]>
  976. </script>
  977. </select1>
  978. <caption id="caption91" class="cell_1" style="left:167px; top:24px; width:80px; height:23px; ">사산여부</caption>
  979. <select1 id="cmb_womntypeList" ref="/root/main/cond/womntypecd" class="combo_default" navindex="3" appearance="minimal" _required="true" style="left:82px; top:25px; width:80px; height:19px; ">
  980. <choices>
  981. <itemset nodeset="/root/init/womntypeList/M0165">
  982. <label ref="cdnm"/>
  983. <value ref="cdid"/>
  984. </itemset>
  985. </choices>
  986. </select1>
  987. <select1 id="cmb_partrtntypeList" ref="/root/main/cond/partrtnkindcd" class="combo_default" navindex="3" appearance="minimal" _required="true" style="left:82px; top:49px; width:80px; height:19px; ">
  988. <choices>
  989. <itemset nodeset="/root/init/partrtntypeList/M0086">
  990. <label ref="cdnm"/>
  991. <value ref="cdid"/>
  992. </itemset>
  993. </choices>
  994. </select1>
  995. <caption id="caption92" class="cell_1" style="left:0px; top:72px; width:80px; height:23px; ">분류</caption>
  996. <caption id="caption94" class="cell_1" style="left:0px; top:146px; width:80px; height:23px; ">분류</caption>
  997. <line id="line35" class="line_3" style="x1:0px; y1:169px; x2:335px; y2:169px; "/>
  998. <caption id="caption96" class="cell_1" style="left:0px; top:268px; width:80px; height:23px; ">분류</caption>
  999. <line id="line37" class="line_3" style="x1:0px; y1:291px; x2:335px; y2:291px; "/>
  1000. <line id="line34" class="line_3" style="x1:0px; y1:95px; x2:335px; y2:95px; "/>
  1001. <select1 id="cmb_chngclsdept" ref="/root/main/cond/chngclsdept" class="combo_default" navindex="3" appearance="minimal" _required="true" style="left:250px; top:123px; width:80px; height:19px; ">
  1002. <choices>
  1003. <itemset nodeset="/root/init/pdclrsdeptlist/M0503">
  1004. <label ref="cdnm"/>
  1005. <value ref="cdid"/>
  1006. </itemset>
  1007. </choices>
  1008. </select1>
  1009. <select1 id="cmb_cnstclsdept" ref="/root/main/cond/cnstclsdept" class="combo_default" navindex="3" appearance="minimal" _required="true" style="left:250px; top:197px; width:80px; height:19px; ">
  1010. <choices>
  1011. <itemset nodeset="/root/init/pdclrsdeptlist/M0503">
  1012. <label ref="cdnm"/>
  1013. <value ref="cdid"/>
  1014. </itemset>
  1015. </choices>
  1016. </select1>
  1017. <select1 id="cmb_cnstexeclrsdeptcd" ref="/root/main/cond/cnstexeclrsdeptcd" class="combo_default" navindex="3" appearance="minimal" _required="true" style="left:250px; top:245px; width:80px; height:19px; ">
  1018. <choices>
  1019. <itemset nodeset="/root/init/pdclrsdeptlist/M0503">
  1020. <label ref="cdnm"/>
  1021. <value ref="cdid"/>
  1022. </itemset>
  1023. </choices>
  1024. </select1>
  1025. <select1 id="rdo_partrtnkind" ref="/root/main/cond/partrtnkind" appearance="full" cols="2" overflow="visible" style="left:80px; top:75px; width:85px; height:20px; border-style:none; ">
  1026. <choices>
  1027. <item>
  1028. <label>전체</label>
  1029. <value>Y</value>
  1030. </item>
  1031. <item>
  1032. <label>회차</label>
  1033. <value>N</value>
  1034. </item>
  1035. </choices>
  1036. <script type="javascript" ev:event="xforms-value-changed">
  1037. <![CDATA[
  1038. if(rdo_partrtnkind.value == "Y"){
  1039. model.setValue("/root/main/cond/opkind", "N");
  1040. model.setValue("/root/main/cond/chngdeptkind", "N");
  1041. model.setValue("/root/main/cond/cnstkind", "N");
  1042. model.setValue("/root/main/cond/baseinfo", "");
  1043. // chk_duplelmn.disabled = true;
  1044. }
  1045. //model.refresh();
  1046. // 2010.11.26. 이은영 컨트롤 초기화하기..
  1047. rdo_opkind.refresh();
  1048. rdo_partrtnkind.refresh();
  1049. rdo_chngdeptkind.refresh();
  1050. rdo_cnstkind.refresh();
  1051. chk_baseinfo.refresh();
  1052. ]]>
  1053. </script>
  1054. </select1>
  1055. <select1 id="rdo_chngdeptkind" ref="/root/main/cond/chngdeptkind" appearance="full" cols="2" overflow="visible" style="left:80px; top:149px; width:85px; height:20px; border-style:none; ">
  1056. <choices>
  1057. <item>
  1058. <label>전체</label>
  1059. <value>Y</value>
  1060. </item>
  1061. <item>
  1062. <label>회차</label>
  1063. <value>N</value>
  1064. </item>
  1065. </choices>
  1066. <script type="javascript" ev:event="xforms-value-changed">
  1067. <![CDATA[
  1068. if(rdo_chngdeptkind.value == "Y"){
  1069. model.setValue("/root/main/cond/opkind", "N");
  1070. model.setValue("/root/main/cond/partrtnkind", "N");
  1071. model.setValue("/root/main/cond/cnstkind", "N");
  1072. model.setValue("/root/main/cond/baseinfo", "");
  1073. // chk_duplelmn.disabled = true;
  1074. }
  1075. //model.refresh();
  1076. // 2010.11.26. 이은영 컨트롤 초기화하기..
  1077. rdo_opkind.refresh();
  1078. rdo_partrtnkind.refresh();
  1079. rdo_chngdeptkind.refresh();
  1080. rdo_cnstkind.refresh();
  1081. chk_baseinfo.refresh();
  1082. ]]>
  1083. </script>
  1084. </select1>
  1085. <select1 id="rdo_cnstkind" ref="/root/main/cond/cnstkind" appearance="full" cols="2" overflow="visible" style="left:80px; top:271px; width:85px; height:20px; border-style:none; ">
  1086. <choices>
  1087. <item>
  1088. <label>전체</label>
  1089. <value>Y</value>
  1090. </item>
  1091. <item>
  1092. <label>회차</label>
  1093. <value>N</value>
  1094. </item>
  1095. </choices>
  1096. <script type="javascript" ev:event="xforms-value-changed">
  1097. <![CDATA[
  1098. if(rdo_cnstkind.value == "Y"){
  1099. model.setValue("/root/main/cond/opkind", "N");
  1100. model.setValue("/root/main/cond/partrtnkind", "N");
  1101. model.setValue("/root/main/cond/chngdeptkind", "N");
  1102. model.setValue("/root/main/cond/baseinfo", "");
  1103. // chk_duplelmn.disabled = true;
  1104. }
  1105. //model.refresh();
  1106. // 2010.11.26. 이은영 컨트롤 초기화하기..
  1107. rdo_opkind.refresh();
  1108. rdo_partrtnkind.refresh();
  1109. rdo_chngdeptkind.refresh();
  1110. rdo_cnstkind.refresh();
  1111. chk_baseinfo.refresh();
  1112. ]]>
  1113. </script>
  1114. </select1>
  1115. <group id="group3" scroll="autovscroll" style="left:55px; top:74px; width:18px; height:19px; border-color:#00ccff; border-style:solid; ">
  1116. <select id="chk_partrtnkind" ref="/root/main/cond/allwomntypecd" overflow="visible" appearance="full" style="left:0px; top:0px; width:85px; height:15px; border-style:none; ">
  1117. <choices>
  1118. <item>
  1119. <label>분만정보만</label>
  1120. <value>Y</value>
  1121. </item>
  1122. </choices>
  1123. </select>
  1124. <script type="javascript" ev:event="onmouseover">
  1125. <![CDATA[
  1126. group3.attribute("width") = "125";
  1127. group3.attribute("height") = "46";
  1128. ]]>
  1129. </script>
  1130. <script type="javascript" ev:event="onmouseout">
  1131. <![CDATA[
  1132. group3.attribute("width") = "18";
  1133. group3.attribute("height") = "19";
  1134. ]]>
  1135. </script>
  1136. </group>
  1137. </group>
  1138. <caption id="caption89" class="tit_2" style="left:722px; top:562px; width:79px; height:13px; ">협진코드</caption>
  1139. <line id="line59" class="line_3" style="x1:952px; y1:232px; x2:1182px; y2:232px; "/>
  1140. <line id="line26" class="line_1" style="x1:952px; y1:22px; x2:1183px; y2:22px; "/>
  1141. <datagrid id="grd_directcdlist" nodeset="/root/main/directcdlist/rows" caption="직접사인1^직접사인2^조건^caption1" colsep="^" colwidth="75, 75, 50, 0" dataheight="23" extendlastcol="scroll" rowheader="update" rowheight="23" rowsep="|" selectionmode="free" style="left:716px; top:501px; width:231px; height:51px; ">
  1142. <col ref="cdid1" type="input"/>
  1143. <col ref="cdid2" type="input"/>
  1144. <col ref="cond" type="combo">
  1145. <choices>
  1146. <itemset nodeset="/root/init/condition/rows">
  1147. <label ref="cdnm"/>
  1148. <value ref="cdid"/>
  1149. </itemset>
  1150. </choices>
  1151. </col>
  1152. <col ref="condflag" visibility="hidden"/>
  1153. <script type="javascript" ev:event="xforms-value-changed">
  1154. <![CDATA[
  1155. if(grd_directcdlist.col == "1" ){
  1156. //코드2에 데이터가있는데 코드1의 내용을 지울경우
  1157. if(grd_directcdlist.valueMatrix(grd_directcdlist.row, 1) == "" && grd_directcdlist.valueMatrix(grd_directcdlist.row, 2) != ""){
  1158. model.setValue("/root/main/directcdlist/rows["+ grd_directcdlist.row +"]/cdid1", model.getValue("/root/main/directcdlist/rows["+ grd_directcdlist.row +"]/cdid2"));
  1159. model.setValue("/root/main/directcdlist/rows["+ grd_directcdlist.row +"]/cdid2", "");
  1160. }
  1161. }
  1162. //코드1이 비었는데 코드2를 입력 불가
  1163. if(grd_directcdlist.col == "2" ){
  1164. if(grd_directcdlist.valueMatrix(grd_directcdlist.row, 1) == ""){
  1165. model.setValue("/root/main/directcdlist/rows["+ grd_directcdlist.row +"]/cdid1", model.getValue("/root/main/directcdlist/rows["+ grd_directcdlist.row +"]/cdid2"));
  1166. model.setValue("/root/main/directcdlist/rows["+ grd_directcdlist.row +"]/cdid2", "");
  1167. }
  1168. }
  1169. model.refresh();
  1170. ]]>
  1171. </script>
  1172. </datagrid>
  1173. <group id="group5" style="left:372px; top:347px; width:340px; height:70px; ">
  1174. <caption id="caption70" class="tit_2" style="left:5px; top:-1px; width:123px; height:13px; ">질병 및 수술 분류</caption>
  1175. <caption id="caption71" class="cell_1" style="left:0px; top:44px; width:80px; height:23px; ">전염병</caption>
  1176. <line id="line41" class="line_1" style="x1:0px; y1:14px; x2:335px; y2:14px; "/>
  1177. <line id="line42" class="line_2" style="x1:0px; y1:42px; x2:335px; y2:42px; "/>
  1178. <caption id="caption72" class="cell_1" style="left:0px; top:20px; width:80px; height:23px; ">종양구분</caption>
  1179. <caption id="caption73" class="cell_1" style="left:167px; top:20px; width:105px; height:23px; ">법정전염병 종류</caption>
  1180. <caption id="caption74" class="cell_1" style="left:167px; top:44px; width:80px; height:23px; ">가코딩</caption>
  1181. <select id="checkbox8" ref="/root/main/cond/infdisyn" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" style="left:81px; top:45px; width:80px; height:20px; border-style:none; ">
  1182. <choices>
  1183. <item>
  1184. <label>Y</label>
  1185. <value>Y</value>
  1186. </item>
  1187. <item>
  1188. <label>N</label>
  1189. <value>N</value>
  1190. </item>
  1191. </choices>
  1192. </select>
  1193. <select id="checkbox9" ref="/root/main/cond/tmpcodeyn" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" sep="','" style="left:248px; top:44px; width:80px; height:20px; border-style:none; ">
  1194. <choices>
  1195. <item>
  1196. <label>Y</label>
  1197. <value>Y</value>
  1198. </item>
  1199. <item>
  1200. <label>N</label>
  1201. <value>N</value>
  1202. </item>
  1203. </choices>
  1204. </select>
  1205. <select1 id="cmb_cncrflag" ref="/root/main/cond/cncrflag" class="combo_default" navindex="3" appearance="minimal" _required="true" style="left:82px; top:21px; width:80px; height:19px; ">
  1206. <choices>
  1207. <itemset nodeset="/root/init/cncrlist/M0433">
  1208. <label ref="cdnm"/>
  1209. <value ref="cdid"/>
  1210. </itemset>
  1211. </choices>
  1212. </select1>
  1213. <line id="line40" class="line_3" style="x1:0px; y1:67px; x2:335px; y2:67px; "/>
  1214. </group>
  1215. <button id="button9" class="btn2_letter3" navindex="8" style="left:1084px; top:381px; width:53px; height:19px; ">
  1216. <caption>행삭제</caption>
  1217. <script type="javascript" ev:event="DOMActivate">
  1218. <![CDATA[
  1219. grd_tcdlist.deleteRow(grd_tcdlist.row, true);
  1220. ]]>
  1221. </script>
  1222. </button>
  1223. <datagrid id="grd_cclist" nodeset="/root/main/cclist/rows" caption="주호소1^주호소2^조건^caption1" colsep="^" colwidth="75, 75, 50, 0" dataheight="23" extendlastcol="scroll" rowheader="update" rowheight="23" rowsep="|" selectionmode="free" style="left:717px; top:260px; width:230px; height:76px; ">
  1224. <col ref="cdid1" type="input"/>
  1225. <col ref="cdid2" type="input"/>
  1226. <col ref="cond" type="combo">
  1227. <choices>
  1228. <itemset nodeset="/root/init/condition/rows">
  1229. <label ref="cdnm"/>
  1230. <value ref="cdid"/>
  1231. </itemset>
  1232. </choices>
  1233. </col>
  1234. <col ref="condflag" visibility="hidden"/>
  1235. <script type="javascript" ev:event="xforms-value-changed">
  1236. <![CDATA[
  1237. if(grd_cclist.col == "1" ){
  1238. //코드2에 데이터가있는데 코드1의 내용을 지울경우
  1239. if(grd_cclist.valueMatrix(grd_cclist.row, 1) == "" && grd_cclist.valueMatrix(grd_cclist.row, 2) != ""){
  1240. model.setValue("/root/main/cclist/rows["+ grd_cclist.row +"]/cdid1", model.getValue("/root/main/cclist/rows["+ grd_cclist.row +"]/cdid2"));
  1241. model.setValue("/root/main/cclist/rows["+ grd_cclist.row +"]/cdid2", "");
  1242. }
  1243. }
  1244. //코드1이 비었는데 코드2를 입력 불가
  1245. if(grd_cclist.col == "2" ){
  1246. if(grd_cclist.valueMatrix(grd_cclist.row, 1) == ""){
  1247. model.setValue("/root/main/cclist/rows["+ grd_cclist.row +"]/cdid1", model.getValue("/root/main/cclist/rows["+ grd_cclist.row +"]/cdid2"));
  1248. model.setValue("/root/main/cclist/rows["+ grd_cclist.row +"]/cdid2", "");
  1249. }
  1250. }
  1251. model.refresh();
  1252. ]]>
  1253. </script>
  1254. </datagrid>
  1255. <select1 id="radio1" ref="/root/main/cond/icd10" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:377px; top:669px; width:150px; height:20px; border-style:none; ">
  1256. <choices>
  1257. <item>
  1258. <label>ICD10</label>
  1259. <value>I</value>
  1260. </item>
  1261. <item>
  1262. <label>확장코드</label>
  1263. <value>E</value>
  1264. </item>
  1265. </choices>
  1266. </select1>
  1267. <datagrid id="grd_chngcdlist" nodeset="/root/main/chngcdlist/rows" caption="전과코드1^전과코드2^조건^caption1" colsep="^" colwidth="75, 75, 50, 0" dataheight="23" extendlastcol="scroll" rowheader="update" rowheight="23" rowsep="|" selectionmode="free" style="left:717px; top:370px; width:231px; height:81px; ">
  1268. <col ref="cdid1" type="input"/>
  1269. <col ref="cdid2" type="input"/>
  1270. <col ref="cond" type="combo">
  1271. <choices>
  1272. <itemset nodeset="/root/init/condition/rows">
  1273. <label ref="cdnm"/>
  1274. <value ref="cdid"/>
  1275. </itemset>
  1276. </choices>
  1277. </col>
  1278. <col ref="condflag" visibility="hidden"/>
  1279. <script type="javascript" ev:event="xforms-value-changed">
  1280. <![CDATA[
  1281. if(grd_chngcdlist.col == "1" ){
  1282. //코드2에 데이터가있는데 코드1의 내용을 지울경우
  1283. if(grd_chngcdlist.valueMatrix(grd_chngcdlist.row, 1) == "" && grd_chngcdlist.valueMatrix(grd_chngcdlist.row, 2) != ""){
  1284. model.setValue("/root/main/chngcdlist/rows["+ grd_chngcdlist.row +"]/cdid1", model.getValue("/root/main/chngcdlist/rows["+ grd_chngcdlist.row +"]/cdid2"));
  1285. model.setValue("/root/main/chngcdlist/rows["+ grd_chngcdlist.row +"]/cdid2", "");
  1286. }
  1287. }
  1288. //코드1이 비었는데 코드2를 입력 불가
  1289. if(grd_chngcdlist.col == "2" ){
  1290. if(grd_chngcdlist.valueMatrix(grd_chngcdlist.row, 1) == ""){
  1291. model.setValue("/root/main/chngcdlist/rows["+ grd_chngcdlist.row +"]/cdid1", model.getValue("/root/main/chngcdlist/rows["+ grd_chngcdlist.row +"]/cdid2"));
  1292. model.setValue("/root/main/chngcdlist/rows["+ grd_chngcdlist.row +"]/cdid2", "");
  1293. }
  1294. }
  1295. model.refresh();
  1296. ]]>
  1297. </script>
  1298. </datagrid>
  1299. <group id="group6" style="left:372px; top:420px; width:340px; height:143px; ">
  1300. <caption id="caption81" class="cell_1" style="left:167px; top:69px; width:80px; height:23px; ">ECOG</caption>
  1301. <select id="checkbox10" ref="/root/main/cond/prmycncryn" overflow="visible" appearance="full" cellspacing="8" cols="2" rows="1" style="left:96px; top:23px; width:80px; height:20px; border-style:none; ">
  1302. <choices>
  1303. <item>
  1304. <label>Y</label>
  1305. <value>Y</value>
  1306. </item>
  1307. <item>
  1308. <label>N</label>
  1309. <value>N</value>
  1310. </item>
  1311. </choices>
  1312. </select>
  1313. <caption id="caption82" class="cell_1" style="left:167px; top:93px; width:80px; height:23px; ">내원전치료</caption>
  1314. <select id="checkbox11" ref="/root/main/cond/dethyn" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" style="left:249px; top:22px; width:80px; height:20px; border-style:none; ">
  1315. <choices>
  1316. <item>
  1317. <label>Y</label>
  1318. <value>Y</value>
  1319. </item>
  1320. <item>
  1321. <label>N</label>
  1322. <value>N</value>
  1323. </item>
  1324. </choices>
  1325. </select>
  1326. <caption id="caption83" class="cell_1" style="left:0px; top:93px; width:80px; height:23px; ">Regimen</caption>
  1327. <select id="checkbox12" ref="/root/main/cond/rerntmetstaspart" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" style="left:81px; top:71px; width:80px; height:20px; border-style:none; ">
  1328. <choices>
  1329. <item>
  1330. <label>Y</label>
  1331. <value>Y</value>
  1332. </item>
  1333. <item>
  1334. <label>N</label>
  1335. <value>N</value>
  1336. </item>
  1337. </choices>
  1338. </select>
  1339. <caption id="caption84" class="cell_1" style="left:167px; top:117px; width:95px; height:23px; ">본원치료(전이)</caption>
  1340. <select id="checkbox13" ref="/root/main/cond/ecog" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" style="left:249px; top:70px; width:80px; height:20px; border-style:none; ">
  1341. <choices>
  1342. <item>
  1343. <label>Y</label>
  1344. <value>Y</value>
  1345. </item>
  1346. <item>
  1347. <label>N</label>
  1348. <value>N</value>
  1349. </item>
  1350. </choices>
  1351. </select>
  1352. <caption id="caption85" class="cell_1" style="left:0px; top:117px; width:95px; height:23px; ">본원치료(원발)</caption>
  1353. <select id="checkbox14" ref="/root/main/cond/regimen" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" style="left:81px; top:95px; width:80px; height:20px; border-style:none; ">
  1354. <choices>
  1355. <item>
  1356. <label>Y</label>
  1357. <value>Y</value>
  1358. </item>
  1359. <item>
  1360. <label>N</label>
  1361. <value>N</value>
  1362. </item>
  1363. </choices>
  1364. </select>
  1365. <line id="line44" class="line_1" style="x1:0px; y1:15px; x2:335px; y2:15px; "/>
  1366. <select id="checkbox15" ref="/root/main/cond/chosbfcuremthd" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" style="left:249px; top:94px; width:80px; height:20px; border-style:none; ">
  1367. <choices>
  1368. <item>
  1369. <label>Y</label>
  1370. <value>Y</value>
  1371. </item>
  1372. <item>
  1373. <label>N</label>
  1374. <value>N</value>
  1375. </item>
  1376. </choices>
  1377. </select>
  1378. <line id="line45" class="line_2" style="x1:0px; y1:43px; x2:335px; y2:43px; "/>
  1379. <caption id="caption75" class="tit_2" style="left:5px; top:0px; width:123px; height:13px; ">암환자 관리</caption>
  1380. <select id="checkbox16" ref="/root/main/cond/prmypart" overflow="visible" appearance="full" cellspacing="8" cols="2" rows="1" style="left:96px; top:119px; width:80px; height:20px; border-style:none; ">
  1381. <choices>
  1382. <item>
  1383. <label>Y</label>
  1384. <value>Y</value>
  1385. </item>
  1386. <item>
  1387. <label>N</label>
  1388. <value>N</value>
  1389. </item>
  1390. </choices>
  1391. </select>
  1392. <line id="line46" class="line_2" style="x1:0px; y1:67px; x2:335px; y2:67px; "/>
  1393. <caption id="caption76" class="cell_1" style="left:0px; top:21px; width:95px; height:23px; ">다발성 원발암</caption>
  1394. <select id="checkbox17" ref="/root/main/cond/metstaspart" overflow="visible" appearance="full" cellspacing="8" cols="2" rows="1" style="left:264px; top:119px; width:65px; height:20px; border-style:none; ">
  1395. <choices>
  1396. <item>
  1397. <label>Y</label>
  1398. <value>Y</value>
  1399. </item>
  1400. <item>
  1401. <label>N</label>
  1402. <value>N</value>
  1403. </item>
  1404. </choices>
  1405. </select>
  1406. <line id="line47" class="line_2" style="x1:0px; y1:91px; x2:335px; y2:91px; "/>
  1407. <caption id="caption77" class="cell_1" style="left:167px; top:21px; width:80px; height:23px; ">사망여부</caption>
  1408. <line id="line48" class="line_2" style="x1:0px; y1:115px; x2:335px; y2:115px; "/>
  1409. <caption id="caption78" class="cell_1" style="left:167px; top:45px; width:80px; height:23px; vertical-align:middle; ">병기</caption>
  1410. <line id="line49" class="line_3" style="x1:0px; y1:140px; x2:335px; y2:140px; "/>
  1411. <caption id="caption79" class="cell_1" style="left:0px; top:45px; width:80px; height:23px; vertical-align:middle; ">SEER</caption>
  1412. <caption id="caption80" class="cell_1" style="left:0px; top:69px; width:80px; height:23px; ">전이여부</caption>
  1413. <select1 id="cmb_staging" ref="/root/main/cond/staging" class="combo_search" appearance="minimal" showvalue="false" style="left:249px; top:47px; width:80px; height:19px; ">
  1414. <choices>
  1415. <itemset nodeset="/root/init/dethTypeList/M0155">
  1416. <label ref="cdnm"/>
  1417. <value ref="cdid"/>
  1418. </itemset>
  1419. </choices>
  1420. </select1>
  1421. <select1 id="cmb_seer" ref="/root/main/cond/seer" class="combo_search" appearance="minimal" showvalue="false" style="left:82px; top:47px; width:80px; height:19px; ">
  1422. <choices>
  1423. <itemset nodeset="/root/init/seer/M0184">
  1424. <label ref="cdnm"/>
  1425. <value ref="cdid"/>
  1426. </itemset>
  1427. </choices>
  1428. </select1>
  1429. </group>
  1430. <line id="line1" class="line_1" style="x1:2px; y1:22px; x2:713px; y2:22px; "/>
  1431. <button id="button20" class="btn2_letter3" navindex="7" style="left:1030px; top:235px; width:53px; height:19px; ">
  1432. <caption>행추가</caption>
  1433. <script type="javascript" ev:event="DOMActivate">
  1434. <![CDATA[
  1435. if(grd_mcdlist.valueMatrix(grd_mcdlist.rows - 1, 1) == "" || grd_mcdlist.valueMatrix(grd_mcdlist.rows - 1, 3) == ""){
  1436. return;
  1437. }
  1438. grd_mcdlist.addRow();
  1439. var iRow = grd_mcdlist.rows - grd_mcdlist.fixedrows;
  1440. model.setValue("/root/main/mcdlist/rows["+ iRow+"]/cond" , "AND");
  1441. model.setValue("/root/main/mcdlist/rows["+ iRow+"]/condflag" , "G");
  1442. ]]>
  1443. </script>
  1444. </button>
  1445. <caption id="caption48" class="tit_2" style="left:957px; top:5px; width:79px; height:13px; ">수술코드</caption>
  1446. <datagrid id="grd_cnstcdlist" nodeset="/root/main/cnstcdlist/rows" caption="협진코드1^협진코드2^조건^caption1" colsep="^" colwidth="75, 75, 50, 0" dataheight="23" extendlastcol="scroll" rowheader="update" rowheight="23" rowsep="|" selectionmode="free" style="left:716px; top:582px; width:231px; height:81px; ">
  1447. <col ref="cdid1" type="input"/>
  1448. <col ref="cdid2" type="input"/>
  1449. <col ref="cond" type="combo">
  1450. <choices>
  1451. <itemset nodeset="/root/init/condition/rows">
  1452. <label ref="cdnm"/>
  1453. <value ref="cdid"/>
  1454. </itemset>
  1455. </choices>
  1456. </col>
  1457. <col ref="condflag" visibility="hidden"/>
  1458. <script type="javascript" ev:event="xforms-value-changed">
  1459. <![CDATA[
  1460. if(grd_cnstcdlist.col == "1" ){
  1461. //코드2에 데이터가있는데 코드1의 내용을 지울경우
  1462. if(grd_cnstcdlist.valueMatrix(grd_cnstcdlist.row, 1) == "" && grd_cnstcdlist.valueMatrix(grd_cnstcdlist.row, 2) != ""){
  1463. model.setValue("/root/main/cnstcdlist/rows["+ grd_cnstcdlist.row +"]/cdid1", model.getValue("/root/main/cnstcdlist/rows["+ grd_cnstcdlist.row +"]/cdid2"));
  1464. model.setValue("/root/main/cnstcdlist/rows["+ grd_cnstcdlist.row +"]/cdid2", "");
  1465. }
  1466. }
  1467. //코드1이 비었는데 코드2를 입력 불가
  1468. if(grd_cnstcdlist.col == "2" ){
  1469. if(grd_cnstcdlist.valueMatrix(grd_cnstcdlist.row, 1) == ""){
  1470. model.setValue("/root/main/cnstcdlist/rows["+ grd_cnstcdlist.row +"]/cdid1", model.getValue("/root/main/cnstcdlist/rows["+ grd_cnstcdlist.row +"]/cdid2"));
  1471. model.setValue("/root/main/cnstcdlist/rows["+ grd_cnstcdlist.row +"]/cdid2", "");
  1472. }
  1473. }
  1474. model.refresh();
  1475. ]]>
  1476. </script>
  1477. </datagrid>
  1478. <button id="button21" class="btn4_letter9" style="left:1037px; top:669px; width:140px; height:22px; ">
  1479. <caption>저장 조건 불러오기</caption>
  1480. <script type="javascript" ev:event="DOMActivate">
  1481. <![CDATA[
  1482. setParameter("flag", "L");
  1483. modal("SMMRD01700", "1", "", "");
  1484. ]]>
  1485. </script>
  1486. </button>
  1487. <button id="button10" class="btn2_letter3" navindex="8" style="left:850px; top:4px; width:53px; height:19px; ">
  1488. <caption>행삭제</caption>
  1489. <script type="javascript" ev:event="DOMActivate">
  1490. <![CDATA[
  1491. grd_diagcdlist.deleteRow(grd_diagcdlist.row, true);
  1492. ]]>
  1493. </script>
  1494. </button>
  1495. <select id="chk_sickandop" ref="/root/main/cond/sickandop" disabled="false" visibility="visible" overflow="visible" appearance="full" cellspacing="5" cols="5" rows="1" style="left:448px; top:606px; width:120px; height:20px; border-style:none; ">
  1496. <choices>
  1497. <item>
  1498. <label>질병 및 수술 코드</label>
  1499. <value>Y</value>
  1500. </item>
  1501. </choices>
  1502. <script type="javascript" ev:event="xforms-value-changed">
  1503. <![CDATA[
  1504. var sickandop = model.getValue("/root/main/cond/sickandop");
  1505. if(sickandop == "Y"){
  1506. model.setValue("/root/main/cond/baseinfo", "");
  1507. // chk_duplelmn.disabled = true;
  1508. //model.refresh();
  1509. // 2010.11.26. 이은영 컨트롤 초기화하기..
  1510. chk_baseinfo.refresh();
  1511. }
  1512. ]]>
  1513. </script>
  1514. </select>
  1515. <button id="button11" class="btn2_letter3" navindex="7" style="left:795px; top:4px; width:53px; height:19px; ">
  1516. <caption>행추가</caption>
  1517. <script type="javascript" ev:event="DOMActivate">
  1518. <![CDATA[
  1519. if(grd_diagcdlist.valueMatrix(grd_diagcdlist.rows - 1, 1) == "" || grd_diagcdlist.valueMatrix(grd_diagcdlist.rows - 1, 3) == ""){
  1520. return;
  1521. }
  1522. grd_diagcdlist.addRow();
  1523. var iRow = grd_diagcdlist.rows - grd_diagcdlist.fixedrows;
  1524. model.setValue("/root/main/diagcdlist/rows["+ iRow+"]/cond" , "AND");
  1525. model.setValue("/root/main/diagcdlist/rows["+ iRow+"]/condflag" , "A");
  1526. model.setValue("/root/main/diagcdlist/rows["+ iRow+"]/exceptro" , "N"); //20101110-김양수-R/O제외추가
  1527. ]]>
  1528. </script>
  1529. </button>
  1530. <button id="btn_save" class="btn4_letter4" disabled="false" style="left:953px; top:669px; width:80px; height:22px; ">
  1531. <caption>조건저장</caption>
  1532. <script type="javascript" ev:event="DOMActivate">
  1533. <![CDATA[
  1534. setParameter("flag", "S");
  1535. modal("SMMRD01700", "1", "", "");
  1536. ]]>
  1537. </script>
  1538. </button>
  1539. <line id="line70" class="line_3" style="x1:950px; y1:665px; x2:1180px; y2:665px; "/>
  1540. <button id="button12" class="btn2_letter3" navindex="7" style="left:1029px; top:381px; width:53px; height:19px; ">
  1541. <caption>행추가</caption>
  1542. <script type="javascript" ev:event="DOMActivate">
  1543. <![CDATA[
  1544. if(grd_tcdlist.valueMatrix(grd_tcdlist.rows - 1, 1) == "" || grd_tcdlist.valueMatrix(grd_tcdlist.rows - 1, 3) == ""){
  1545. return;
  1546. }
  1547. grd_tcdlist.addRow();
  1548. var iRow = grd_tcdlist.rows - grd_tcdlist.fixedrows;
  1549. model.setValue("/root/main/tcdlist/rows["+ iRow+"]/cond" , "AND");
  1550. model.setValue("/root/main/tcdlist/rows["+ iRow+"]/condflag" , "H");
  1551. ]]>
  1552. </script>
  1553. </button>
  1554. <line id="line71" class="line_1" style="x1:950px; y1:542px; x2:1181px; y2:542px; "/>
  1555. <button id="button13" class="btn2_letter3" navindex="8" style="left:850px; top:476px; width:53px; height:19px; ">
  1556. <caption>행삭제</caption>
  1557. <script type="javascript" ev:event="DOMActivate">
  1558. <![CDATA[
  1559. grd_directcdlist.deleteRow(grd_directcdlist.row, true);
  1560. ]]>
  1561. </script>
  1562. </button>
  1563. <caption id="caption90" class="tit_2" style="left:722px; top:481px; width:79px; height:13px; ">사인코드</caption>
  1564. <select id="chk_cncrpat" ref="/root/main/cond/cncrpat" disabled="false" overflow="visible" appearance="full" cellspacing="5" cols="5" rows="1" style="left:570px; top:606px; width:93px; height:20px; border-style:none; ">
  1565. <choices>
  1566. <item>
  1567. <label>암환자 관리</label>
  1568. <value>Y</value>
  1569. </item>
  1570. </choices>
  1571. <script type="javascript" ev:event="xforms-value-changed">
  1572. <![CDATA[
  1573. var cncrpat = model.getValue("/root/main/cond/cncrpat");
  1574. if(cncrpat == "Y"){
  1575. model.setValue("/root/main/cond/baseinfo", "");
  1576. // chk_duplelmn.disabled = true;
  1577. //model.refresh();
  1578. // 2010.11.26. 이은영 컨트롤 초기화하기..
  1579. chk_baseinfo.refresh();
  1580. }
  1581. ]]>
  1582. </script>
  1583. </select>
  1584. <button id="button14" class="btn2_letter3" navindex="7" style="left:795px; top:476px; width:53px; height:19px; ">
  1585. <caption>행추가</caption>
  1586. <script type="javascript" ev:event="DOMActivate">
  1587. <![CDATA[
  1588. if(grd_directcdlist.valueMatrix(grd_directcdlist.rows - 1, 1) == "" || grd_directcdlist.valueMatrix(grd_directcdlist.rows - 1, 3) == ""){
  1589. return;
  1590. }
  1591. grd_directcdlist.addRow();
  1592. var iRow = grd_directcdlist.rows - grd_directcdlist.fixedrows;
  1593. model.setValue("/root/main/directcdlist/rows["+ iRow+"]/cond" , "AND");
  1594. model.setValue("/root/main/directcdlist/rows["+ iRow+"]/condflag" , "D");
  1595. ]]>
  1596. </script>
  1597. </button>
  1598. <line id="line61" class="line_3" style="x1:716px; y1:453px; x2:949px; y2:453px; "/>
  1599. <line id="line50" class="line_1" style="x1:374px; y1:581px; x2:709px; y2:581px; "/>
  1600. <caption id="caption1" class="tit_2" style="left:7px; top:8px; width:111px; height:13px; ">퇴원분석</caption>
  1601. <select id="checkbox18" ref="/root/main/cond/patinfoprtc" disabled="false" overflow="visible" appearance="full" cellspacing="5" cols="5" rows="1" style="left:374px; top:624px; width:105px; height:20px; border-style:none; ">
  1602. <choices>
  1603. <item>
  1604. <label>환자 정보 보호</label>
  1605. <value>Y</value>
  1606. </item>
  1607. </choices>
  1608. </select>
  1609. <button id="button7" class="btn4_letter3" disabled="false" style="left:879px; top:669px; width:68px; height:22px; ">
  1610. <caption>초기화</caption>
  1611. <script type="javascript" ev:event="DOMActivate">
  1612. <![CDATA[
  1613. window.reload();
  1614. ]]>
  1615. </script>
  1616. </button>
  1617. <caption id="cap_condnm" style="left:204px; top:1px; width:450px; height:20px; "/>
  1618. <select id="chk_duplelmn" ref="/root/main/cond/duplelmn" disabled="false" overflow="visible" appearance="full" cellspacing="5" cols="5" rows="1" style="left:448px; top:586px; width:70px; height:20px; border-style:none; ">
  1619. <choices>
  1620. <item>
  1621. <label>중복제거</label>
  1622. <value>Y</value>
  1623. </item>
  1624. </choices>
  1625. </select>
  1626. <select1 id="rdo_opkind" ref="/root/main/cond/opkind" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:83px; top:301px; width:100px; height:20px; border-style:none; ">
  1627. <choices>
  1628. <item>
  1629. <label>전체</label>
  1630. <value>Y</value>
  1631. </item>
  1632. <item>
  1633. <label>회차</label>
  1634. <value>N</value>
  1635. </item>
  1636. </choices>
  1637. <script type="javascript" ev:event="xforms-value-changed">
  1638. <![CDATA[
  1639. if(rdo_opkind.value == "Y"){
  1640. model.setValue("/root/main/cond/partrtnkind", "N");
  1641. model.setValue("/root/main/cond/chngdeptkind", "N");
  1642. model.setValue("/root/main/cond/cnstkind", "N");
  1643. model.setValue("/root/main/cond/baseinfo", "");
  1644. // chk_duplelmn.disabled = true;
  1645. }
  1646. //model.refresh();
  1647. // 2010.11.26. 이은영 컨트롤 초기화하기..
  1648. rdo_opkind.refresh();
  1649. rdo_partrtnkind.refresh();
  1650. rdo_chngdeptkind.refresh();
  1651. rdo_cnstkind.refresh();
  1652. chk_baseinfo.refresh();
  1653. ]]>
  1654. </script>
  1655. </select1>
  1656. <output id="output4" ref="/root/main/cond/inmedispclid" class="output_fix" navindex="39" appearance="output" style="left:239px; top:127px; width:58px; height:19px; "/>
  1657. <button id="button26" class="icon_search" navindex="3" style="left:196px; top:275px; width:16px; height:16px; ">
  1658. <caption/>
  1659. <script type="javascript" ev:event="DOMActivate">
  1660. <![CDATA[
  1661. fDrSearch("perfdrid", "perfdrnm");
  1662. ]]>
  1663. </script>
  1664. </button>
  1665. <select1 id="cmb_reopresncd" ref="/root/main/cond/reopresncd" class="combo_search" appearance="minimal" showvalue="false" style="left:249px; top:542px; width:80px; height:19px; ">
  1666. <choices>
  1667. <itemset nodeset="/root/init/reOpResnList/M0159">
  1668. <label ref="cdnm"/>
  1669. <value ref="cdid"/>
  1670. </itemset>
  1671. </choices>
  1672. </select1>
  1673. <select1 id="cmb_marystatcd" ref="/root/main/cond/marystatcd" class="combo_search" navindex="19" appearance="minimal" showvalue="false" style="left:249px; top:348px; width:80px; height:19px; ">
  1674. <choices>
  1675. <itemset nodeset="/root/init/maryStatList/M0151">
  1676. <label ref="cdnm"/>
  1677. <value ref="cdid"/>
  1678. </itemset>
  1679. </choices>
  1680. </select1>
  1681. <input id="input7" ref="/root/main/cond/opfromdd" class="input_search" inputtype="date" style="left:83px; top:226px; width:100px; height:19px; "/>
  1682. <line id="line8" class="line_2" style="x1:1px; y1:197px; x2:366px; y2:197px; "/>
  1683. <line id="line9" class="line_3" style="x1:1px; y1:222px; x2:366px; y2:222px; "/>
  1684. <output id="output5" ref="/root/main/cond/inmedispclnm" class="output_fix" navindex="40" appearance="output" style="left:299px; top:127px; width:50px; height:19px; "/>
  1685. <select1 id="cmb_infcpartcd" ref="/root/main/cond/infcpartcd" class="combo_search" appearance="minimal" showvalue="false" style="left:249px; top:568px; width:80px; height:19px; ">
  1686. <choices>
  1687. <itemset nodeset="/root/init/infdcpartinfo/infdcpartlist">
  1688. <label ref="cdnm"/>
  1689. <value ref="cdid"/>
  1690. </itemset>
  1691. </choices>
  1692. </select1>
  1693. <select1 id="cmb_dethtypecd" ref="/root/main/cond/dethtypecd" class="combo_search" appearance="minimal" showvalue="false" style="left:249px; top:446px; width:80px; height:19px; ">
  1694. <choices>
  1695. <itemset nodeset="/root/init/dethTypeList/M0155">
  1696. <label ref="cdnm"/>
  1697. <value ref="cdid"/>
  1698. </itemset>
  1699. </choices>
  1700. </select1>
  1701. <input id="input8" ref="/root/main/cond/agefrom" class="input_default" format="999" maxbyte="3" style="left:83px; top:324px; width:30px; height:19px; "/>
  1702. <output id="output6" ref="/root/main/cond/inatdoctid" class="output_fix" navindex="39" appearance="output" style="left:239px; top:151px; width:58px; height:19px; "/>
  1703. <caption id="caption50" class="cell_1" style="left:167px; top:591px; width:80px; height:23px; vertical-align:middle; ">합병증</caption>
  1704. <select1 id="cmb_dschtypecd" ref="/root/main/cond/dschtypecd" class="combo_search" appearance="minimal" showvalue="false" style="left:83px; top:470px; width:80px; height:19px; ">
  1705. <choices>
  1706. <itemset nodeset="/root/init/DschTypeList/M0157">
  1707. <label ref="cdnm"/>
  1708. <value ref="cdid"/>
  1709. </itemset>
  1710. </choices>
  1711. </select1>
  1712. <select1 id="cmb_opdethtypecd" ref="/root/main/cond/opdethtypecd" class="combo_search" appearance="minimal" showvalue="false" style="left:249px; top:470px; width:80px; height:19px; ">
  1713. <choices>
  1714. <itemset nodeset="/root/init/opDethTypeList/M0413">
  1715. <label ref="cdnm"/>
  1716. <value ref="cdid"/>
  1717. </itemset>
  1718. </choices>
  1719. </select1>
  1720. <line id="line20" class="line_2" style="x1:1px; y1:491px; x2:366px; y2:491px; "/>
  1721. <select1 id="cmb_cptrgt" ref="/root/main/cond/cptrgt" class="combo_search" navindex="21" appearance="minimal" showvalue="false" style="left:83px; top:420px; width:80px; height:19px; ">
  1722. <choices>
  1723. <item>
  1724. <label>전체</label>
  1725. <value>-</value>
  1726. </item>
  1727. <item>
  1728. <label>Y</label>
  1729. <value>Y</value>
  1730. </item>
  1731. <item>
  1732. <label>N</label>
  1733. <value>N</value>
  1734. </item>
  1735. <item>
  1736. <label>DROP</label>
  1737. <value>D</value>
  1738. </item>
  1739. </choices>
  1740. </select1>
  1741. <output id="output7" ref="/root/main/cond/inatdoctnm" class="output_fix" navindex="40" appearance="output" style="left:299px; top:151px; width:50px; height:19px; "/>
  1742. <caption id="caption40" class="cell_1" style="left:1px; top:567px; width:80px; height:23px; vertical-align:middle; ">감염종류1</caption>
  1743. <select1 id="cmb_cmplcd" ref="/root/main/cond/cmplcd" class="combo_search" appearance="minimal" showvalue="false" style="left:249px; top:592px; width:80px; height:19px; ">
  1744. <choices>
  1745. <itemset nodeset="/root/init/cmpllist/M0414">
  1746. <label ref="cdnm"/>
  1747. <value ref="cdid"/>
  1748. </itemset>
  1749. </choices>
  1750. </select1>
  1751. <select1 id="cmb_religncd" ref="/root/main/cond/religncd" class="combo_search" navindex="17" appearance="minimal" showvalue="false" style="left:83px; top:348px; width:80px; height:19px; ">
  1752. <choices>
  1753. <itemset nodeset="/root/init/relignList/M0070">
  1754. <label ref="cdnm"/>
  1755. <value ref="cdid"/>
  1756. </itemset>
  1757. </choices>
  1758. </select1>
  1759. <line id="line21" class="line_2" style="x1:1px; y1:515px; x2:366px; y2:515px; "/>
  1760. <line id="line10" class="line_2" style="x1:1px; y1:247px; x2:366px; y2:247px; "/>
  1761. <select1 id="cmb_opclsdept" ref="/root/main/cond/opclsdept" class="combo_default" navindex="3" appearance="minimal" _required="true" style="left:250px; top:250px; width:80px; height:19px; ">
  1762. <choices>
  1763. <itemset nodeset="/root/init/gyclrsdeptlist/M0502">
  1764. <label ref="cdnm"/>
  1765. <value ref="cdid"/>
  1766. </itemset>
  1767. </choices>
  1768. </select1>
  1769. <select1 id="cmb_dschwardnm" ref="/root/main/cond/dschwardnm" class="combo_default" navindex="3" appearance="minimal" _required="true" style="left:83px; top:176px; width:100px; height:19px; ">
  1770. <choices>
  1771. <itemset nodeset="/root/init/init/ward">
  1772. <label ref="wardnm"/>
  1773. <value ref="wardcd"/>
  1774. </itemset>
  1775. </choices>
  1776. </select1>
  1777. <caption id="caption41" class="cell_1" style="left:167px; top:445px; width:80px; height:23px; vertical-align:middle; ">사망형태</caption>
  1778. <caption id="caption30" class="cell_1" style="left:167px; top:371px; width:80px; height:23px; ">보험유형</caption>
  1779. <line id="line11" class="line_2" style="x1:1px; y1:271px; x2:366px; y2:271px; "/>
  1780. <line id="line12" class="line_3" style="x1:1px; y1:320px; x2:366px; y2:320px; "/>
  1781. <input id="input10" ref="/root/main/cond/ageto" class="input_default" format="999" maxbyte="3" style="left:133px; top:324px; width:30px; height:19px; "/>
  1782. <caption id="caption42" class="cell_1" style="left:536px; top:27px; width:80px; height:23px; vertical-align:middle; ">중환자실</caption>
  1783. <select1 id="cmb_infccascd" ref="/root/main/cond/infccascd" class="combo_search" appearance="minimal" showvalue="false" style="left:83px; top:568px; width:80px; height:19px; ">
  1784. <choices>
  1785. <itemset nodeset="/root/init/infccaselist/M0484">
  1786. <label ref="cdnm"/>
  1787. <value ref="cdid"/>
  1788. </itemset>
  1789. </choices>
  1790. <script type="javascript" ev:event="xforms-value-changed">
  1791. <![CDATA[
  1792. fCheckItemInputYN("infccascd");
  1793. ]]>
  1794. </script>
  1795. </select1>
  1796. <line id="line23" class="line_2" style="x1:1px; y1:539px; x2:366px; y2:539px; "/>
  1797. <caption id="caption31" class="cell_1" style="left:167px; top:395px; width:80px; height:23px; ">선택진료</caption>
  1798. <select id="checkbox2" ref="/root/main/cond/fsexam" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" style="left:83px; top:397px; width:75px; height:20px; border-style:none; ">
  1799. <choices>
  1800. <item>
  1801. <label>초</label>
  1802. <value>F</value>
  1803. </item>
  1804. <item>
  1805. <label>재</label>
  1806. <value>S</value>
  1807. </item>
  1808. </choices>
  1809. </select>
  1810. <caption id="caption20" class="cell_1" style="left:1px; top:249px; width:80px; height:23px; ">수술과</caption>
  1811. <select1 id="cmb_dschclsdept" ref="/root/main/cond/dschclsdept" class="combo_default" navindex="3" appearance="minimal" _required="true" style="left:84px; top:76px; width:80px; height:19px; ">
  1812. <choices>
  1813. <itemset nodeset="/root/init/mdclrsdeptlist/M0500">
  1814. <label ref="cdnm"/>
  1815. <value ref="cdid"/>
  1816. </itemset>
  1817. </choices>
  1818. </select1>
  1819. <select1 id="cmb_wundcasclscd" ref="/root/main/cond/wundcasclscd" class="combo_search" navindex="36" appearance="minimal" showvalue="false" style="left:249px; top:420px; width:80px; height:19px; ">
  1820. <choices>
  1821. <itemset nodeset="/root/init/wundcasclslist/M0415">
  1822. <label ref="cdnm"/>
  1823. <value ref="cdid"/>
  1824. </itemset>
  1825. </choices>
  1826. </select1>
  1827. <caption id="caption43" class="cell_1" style="left:1px; top:517px; width:80px; height:23px; vertical-align:middle; ">입원경로</caption>
  1828. <caption id="caption32" class="cell_1" style="left:167px; top:419px; width:80px; height:23px; ">상해원인분류</caption>
  1829. <select id="checkbox3" ref="/root/main/cond/sex" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" sep="','" style="left:249px; top:326px; width:75px; height:20px; border-style:none; ">
  1830. <choices>
  1831. <item>
  1832. <label>M</label>
  1833. <value>M</value>
  1834. </item>
  1835. <item>
  1836. <label>F</label>
  1837. <value>F</value>
  1838. </item>
  1839. </choices>
  1840. </select>
  1841. <caption id="caption21" class="cell_1" style="left:167px; top:249px; width:80px; height:23px; ">분과</caption>
  1842. <caption id="caption10" class="search_no_b" style="left:187px; top:103px; width:12px; height:17px; ">~</caption>
  1843. <line id="line24" class="line_2" style="x1:1px; y1:589px; x2:366px; y2:589px; "/>
  1844. <line id="line13" class="line_2" style="x1:1px; y1:295px; x2:366px; y2:295px; "/>
  1845. <caption id="caption44" class="cell_1" style="left:1px; top:493px; width:80px; height:23px; vertical-align:middle; ">내원경위</caption>
  1846. <caption id="caption33" class="cell_1" style="left:1px; top:419px; width:80px; height:23px; ">CP대상</caption>
  1847. <select id="checkbox4" ref="/root/main/cond/specordyn" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" sep="','" style="left:249px; top:397px; width:75px; height:20px; border-style:none; ">
  1848. <choices>
  1849. <item>
  1850. <label>Y</label>
  1851. <value>Y</value>
  1852. </item>
  1853. <item>
  1854. <label>N</label>
  1855. <value>N</value>
  1856. </item>
  1857. </choices>
  1858. </select>
  1859. <caption id="caption22" class="cell_1" style="left:1px; top:297px; width:80px; height:23px; ">분류</caption>
  1860. <caption id="caption11" class="cell_1" style="left:1px; top:101px; width:80px; height:23px; ">입원일</caption>
  1861. <caption id="caption2" class="cell_1" style="left:1px; top:75px; width:80px; height:23px; ">분과</caption>
  1862. <line id="line14" class="line_2" style="x1:1px; y1:417px; x2:366px; y2:417px; "/>
  1863. <line id="line25" class="line_2" style="x1:1px; y1:613px; x2:366px; y2:613px; "/>
  1864. <select id="checkbox5" ref="/root/main/cond/cncrrgstyn" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" style="left:83px; top:594px; width:75px; height:20px; border-style:none; ">
  1865. <choices>
  1866. <item>
  1867. <label>Y</label>
  1868. <value>Y</value>
  1869. </item>
  1870. <item>
  1871. <label>N</label>
  1872. <value>N</value>
  1873. </item>
  1874. </choices>
  1875. </select>
  1876. <caption id="caption34" class="cell_1" style="left:167px; top:567px; width:80px; height:23px; vertical-align:middle; ">감염종류2</caption>
  1877. <caption id="caption45" class="cell_1" style="left:167px; top:541px; width:80px; height:23px; vertical-align:middle; ">재수술(U)</caption>
  1878. <select1 id="cmb_insukind" ref="/root/main/cond/insukind" class="combo_search" navindex="36" appearance="minimal" style="left:249px; top:372px; width:80px; height:19px; ">
  1879. <choices>
  1880. <itemset nodeset="/root/init/insukindList/P0008">
  1881. <label ref="cdnm"/>
  1882. <value ref="cdid"/>
  1883. </itemset>
  1884. </choices>
  1885. </select1>
  1886. <caption id="caption23" class="cell_1" style="left:1px; top:273px; width:80px; height:23px; ">집도의</caption>
  1887. <caption id="caption12" class="cell_1" style="left:1px; top:125px; width:80px; height:23px; ">입원과</caption>
  1888. <caption id="caption3" class="cell_1" style="left:167px; top:75px; width:70px; height:23px; ">퇴원담당의</caption>
  1889. <line id="line15" class="line_2" style="x1:1px; y1:345px; x2:366px; y2:345px; "/>
  1890. <select id="checkbox6" ref="/root/main/cond/icucd" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" style="left:454px; top:30px; width:75px; height:20px; border-style:none; ">
  1891. <choices>
  1892. <item>
  1893. <label>Y</label>
  1894. <value>Y</value>
  1895. </item>
  1896. <item>
  1897. <label>N</label>
  1898. <value>N</value>
  1899. </item>
  1900. </choices>
  1901. </select>
  1902. <output id="ipt_dschdrnm" ref="/root/main/cond/dschmedispclnm" class="output_fix" navindex="40" appearance="output" style="left:299px; top:53px; width:50px; height:19px; "/>
  1903. <caption id="caption35" class="cell_1" style="left:1px; top:615px; width:80px; height:23px; vertical-align:middle; ">지표관리</caption>
  1904. <caption id="caption57" class="cell_1" style="left:1px; top:591px; width:80px; height:23px; vertical-align:middle; ">암등록여부</caption>
  1905. <caption id="caption46" class="cell_1" style="left:1px; top:469px; width:80px; height:23px; vertical-align:middle; ">퇴원형태</caption>
  1906. <select1 id="cmb_curersltcd" ref="/root/main/cond/curersltcd" class="combo_search" appearance="minimal" showvalue="false" style="left:83px; top:446px; width:80px; height:19px; ">
  1907. <choices>
  1908. <itemset nodeset="/root/init/cureRsltList/M0152">
  1909. <label ref="cdnm"/>
  1910. <value ref="cdid"/>
  1911. </itemset>
  1912. </choices>
  1913. <script type="javascript" ev:event="xforms-value-changed">
  1914. <![CDATA[
  1915. fCheckItemInputYN("curerslt");
  1916. model.refresh();
  1917. ]]>
  1918. </script>
  1919. </select1>
  1920. <select1 id="cmb_inpathcd" ref="/root/main/cond/inpathcd" class="combo_search" appearance="minimal" showvalue="false" style="left:83px; top:518px; width:80px; height:19px; ">
  1921. <choices>
  1922. <itemset nodeset="/root/init/inPathList/M0153">
  1923. <label ref="cdnm"/>
  1924. <value ref="cdid"/>
  1925. </itemset>
  1926. </choices>
  1927. </select1>
  1928. <caption id="caption24" class="cell_1" style="left:1px; top:347px; width:80px; height:23px; ">종교</caption>
  1929. <line id="line16" class="line_2" style="x1:1px; y1:369px; x2:366px; y2:369px; "/>
  1930. <caption id="caption4" class="cell_1" style="left:167px; top:51px; width:70px; height:23px; font-size:8pt; padding-left:0; padding-bottom:0; ">퇴원담당교수</caption>
  1931. <line id="line17" class="line_3" style="x1:1px; y1:442px; x2:366px; y2:442px; "/>
  1932. <input id="ipt_todd" ref="/root/main/cond/dschtodd" class="input_search" inputtype="date" style="left:202px; top:27px; width:100px; height:19px; "/>
  1933. <select1 id="cmb_icuroomcd" ref="/root/main/cond/icuroomcd" class="combo_search" appearance="minimal" showvalue="false" style="left:618px; top:28px; width:80px; height:19px; ">
  1934. <choices>
  1935. <itemset nodeset="/root/init/icudeptlist/icudept">
  1936. <label ref="deptnm"/>
  1937. <value ref="deptcd"/>
  1938. </itemset>
  1939. </choices>
  1940. </select1>
  1941. <caption id="caption47" class="cell_1" style="left:1px; top:445px; width:80px; height:23px; vertical-align:middle; ">치료결과</caption>
  1942. <caption id="caption36" class="cell_1" style="left:167px; top:517px; width:80px; height:23px; vertical-align:middle; ">재입원(P)</caption>
  1943. <output id="input15" ref="/root/main/cond/perfdrid" class="output_fix" navindex="39" appearance="output" style="left:83px; top:274px; width:58px; height:19px; "/>
  1944. <caption id="caption25" class="cell_1" style="left:167px; top:323px; width:80px; height:23px; ">성별</caption>
  1945. <caption id="caption14" class="cell_1" style="left:1px; top:199px; width:80px; height:23px; ">재원일</caption>
  1946. <caption id="caption5" class="cell_1" style="left:1px; top:149px; width:80px; height:23px; ">분과</caption>
  1947. <select1 id="combo4" ref="/root/main/cond/indeptcd" class="combo_default" navindex="3" appearance="minimal" _required="true" style="left:83px; top:126px; width:80px; height:19px; ">
  1948. <choices>
  1949. <itemset nodeset="/root/init/orddept/dept">
  1950. <label ref="depthngnm"/>
  1951. <value ref="deptcd"/>
  1952. </itemset>
  1953. </choices>
  1954. <script type="javascript" ev:event="xforms-value-changed">
  1955. <![CDATA[
  1956. var deptcd = model.getValue("/root/main/cond/indeptcd");
  1957. switch(deptcd){
  1958. case "2010000000":
  1959. cmb_inclsdept.choices.itemset.attribute("nodeset") = "/root/init/mdclrsdeptlist/M0500";
  1960. break;
  1961. case "2040000000":
  1962. cmb_inclsdept.choices.itemset.attribute("nodeset") = "/root/init/gsclrsdeptlist/M0501";
  1963. break;
  1964. case "2100000000":
  1965. cmb_inclsdept.choices.itemset.attribute("nodeset") = "/root/init/gyclrsdeptlist/M0502";
  1966. break;
  1967. case "2110000000":
  1968. cmb_inclsdept.choices.itemset.attribute("nodeset") = "/root/init/pdclrsdeptlist/M0503";
  1969. break;
  1970. default:
  1971. cmb_inclsdept.choices.itemset.attribute("nodeset") = "/root/init/nulllist/M503";
  1972. break;
  1973. }
  1974. cmb_inclsdept.refresh();
  1975. model.refresh();
  1976. ]]>
  1977. </script>
  1978. </select1>
  1979. <select1 id="cmb_reinyn" ref="/root/main/cond/reinyn" class="combo_search" appearance="minimal" showvalue="false" style="left:249px; top:518px; width:80px; height:19px; ">
  1980. <choices>
  1981. <itemset nodeset="/root/init/useynlist/yn">
  1982. <label ref="nm"/>
  1983. <value ref="cd"/>
  1984. </itemset>
  1985. </choices>
  1986. <script type="javascript" ev:event="xforms-value-changed">
  1987. <![CDATA[
  1988. fCheckItemInputYN("reinyn");
  1989. ]]>
  1990. </script>
  1991. </select1>
  1992. <caption id="caption37" class="cell_1" style="left:167px; top:469px; width:80px; height:23px; vertical-align:middle; ">수술사망</caption>
  1993. <output id="input16" ref="/root/main/cond/perfdrnm" class="output_fix" navindex="40" appearance="output" style="left:143px; top:274px; width:50px; height:19px; "/>
  1994. <caption id="caption26" class="cell_1" style="left:1px; top:371px; width:80px; height:23px; ">직업</caption>
  1995. <line id="line18" class="line_2" style="x1:1px; y1:393px; x2:366px; y2:393px; "/>
  1996. <caption id="caption15" class="cell_1" style="left:1px; top:175px; width:80px; height:23px; ">퇴원병동</caption>
  1997. <input id="input1" ref="/root/main/cond/intodd" class="input_search" inputtype="date" style="left:202px; top:102px; width:100px; height:19px; "/>
  1998. <line id="line2" class="line_2" style="x1:1px; y1:49px; x2:366px; y2:49px; "/>
  1999. <select1 id="cmb_inclsdept" ref="/root/main/cond/inclsdept" class="combo_default" navindex="3" appearance="minimal" _required="true" style="left:83px; top:150px; width:80px; height:19px; ">
  2000. <choices>
  2001. <itemset nodeset="/root/init/gsclrsdeptlist/M0501">
  2002. <label ref="cdnm"/>
  2003. <value ref="cdid"/>
  2004. </itemset>
  2005. </choices>
  2006. </select1>
  2007. <caption id="caption16" class="cell_1" style="left:1px; top:27px; width:80px; height:23px; ">퇴원일</caption>
  2008. <caption id="caption38" class="cell_1" style="left:167px; top:493px; width:80px; height:23px; vertical-align:middle; ">재입원(U)</caption>
  2009. <caption id="caption27" class="cell_1" style="left:1px; top:395px; width:80px; height:23px; ">초재진</caption>
  2010. <caption id="caption7" class="search_no_b" style="left:187px; top:28px; width:12px; height:17px; ">~</caption>
  2011. <line id="line3" class="line_2" style="x1:1px; y1:73px; x2:366px; y2:73px; "/>
  2012. <line id="line19" class="line_2" style="x1:1px; y1:467px; x2:366px; y2:467px; "/>
  2013. <select1 id="cmb_dschdeptcd" ref="/root/main/cond/dschdeptcd" class="combo_default" navindex="3" appearance="minimal" _required="true" style="left:83px; top:52px; width:80px; height:19px; ">
  2014. <choices>
  2015. <itemset nodeset="/root/init/orddept/dept">
  2016. <label ref="depthngnm"/>
  2017. <value ref="deptcd"/>
  2018. </itemset>
  2019. </choices>
  2020. <script type="javascript" ev:event="xforms-value-changed">
  2021. <![CDATA[
  2022. var deptcd = model.getValue("/root/main/cond/dschdeptcd");
  2023. switch(deptcd){
  2024. case "2010000000":
  2025. cmb_dschclsdept.choices.itemset.attribute("nodeset") = "/root/init/mdclrsdeptlist/M0500";
  2026. break;
  2027. case "2040000000":
  2028. cmb_dschclsdept.choices.itemset.attribute("nodeset") = "/root/init/gsclrsdeptlist/M0501";
  2029. break;
  2030. case "2100000000":
  2031. cmb_dschclsdept.choices.itemset.attribute("nodeset") = "/root/init/gyclrsdeptlist/M0502";
  2032. break;
  2033. case "2110000000":
  2034. cmb_dschclsdept.choices.itemset.attribute("nodeset") = "/root/init/pdclrsdeptlist/M0503";
  2035. break;
  2036. default:
  2037. cmb_dschclsdept.choices.itemset.attribute("nodeset") = "/root/init/nulllist/M503";
  2038. break;
  2039. }
  2040. cmb_dschclsdept.refresh();
  2041. model.refresh();
  2042. ]]>
  2043. </script>
  2044. </select1>
  2045. <button id="button22" class="icon_search" navindex="3" style="left:353px; top:52px; width:16px; height:16px; ">
  2046. <caption/>
  2047. <script type="javascript" ev:event="DOMActivate">
  2048. <![CDATA[
  2049. fDrSearch("dschmedispclid", "dschmedispclnm");
  2050. ]]>
  2051. </script>
  2052. </button>
  2053. <caption id="caption39" class="cell_1" style="left:372px; top:27px; width:80px; height:23px; vertical-align:middle; ">중환자실재원</caption>
  2054. <select1 id="cmb_reinresncd" ref="/root/main/cond/reinresncd" class="combo_search" appearance="minimal" showvalue="false" style="left:249px; top:494px; width:80px; height:19px; ">
  2055. <choices>
  2056. <itemset nodeset="/root/init/reInResnList/M0158">
  2057. <label ref="cdnm"/>
  2058. <value ref="cdid"/>
  2059. </itemset>
  2060. </choices>
  2061. </select1>
  2062. <select1 id="cmb_jobcd" ref="/root/main/cond/jobcd" class="combo_search" navindex="21" appearance="minimal" showvalue="false" style="left:83px; top:372px; width:80px; height:19px; ">
  2063. <choices>
  2064. <itemset nodeset="/root/init/jobList/M0149">
  2065. <label ref="cdnm"/>
  2066. <value ref="cdid"/>
  2067. </itemset>
  2068. </choices>
  2069. </select1>
  2070. <caption id="caption28" class="cell_1" style="left:167px; top:347px; width:80px; height:23px; ">결혼상태</caption>
  2071. <caption id="caption17" class="search_no_b" style="left:187px; top:227px; width:12px; height:17px; ">~</caption>
  2072. <input id="input3" ref="/root/main/cond/infromdd" class="input_search" inputtype="date" style="left:83px; top:102px; width:100px; height:19px; "/>
  2073. <line id="line4" class="line_2" style="x1:1px; y1:123px; x2:366px; y2:123px; "/>
  2074. <caption id="caption8" class="cell_1" style="left:167px; top:149px; width:70px; height:23px; ">입원담당의</caption>
  2075. <output id="output1" ref="/root/main/cond/dschatdoctid" class="output_fix" navindex="39" appearance="output" style="left:239px; top:77px; width:58px; height:19px; "/>
  2076. <button id="button23" class="icon_search" navindex="3" style="left:353px; top:77px; width:16px; height:16px; ">
  2077. <caption/>
  2078. <script type="javascript" ev:event="DOMActivate">
  2079. <![CDATA[
  2080. fDrSearch("dschatdoctid", "dschatdoctnm");
  2081. ]]>
  2082. </script>
  2083. </button>
  2084. <caption id="caption9" class="cell_1" style="left:167px; top:125px; width:70px; height:23px; font-size:8pt; padding-left:0; ">입원담당교수</caption>
  2085. <select1 id="cmb_chosprogcd" ref="/root/main/cond/chosprogcd" class="combo_search" appearance="minimal" showvalue="false" style="left:83px; top:494px; width:80px; height:19px; ">
  2086. <choices>
  2087. <itemset nodeset="/root/init/chosProgList/M0156">
  2088. <label ref="cdnm"/>
  2089. <value ref="cdid"/>
  2090. </itemset>
  2091. </choices>
  2092. </select1>
  2093. <caption id="caption29" class="cell_1" style="left:1px; top:323px; width:80px; height:23px; ">나이</caption>
  2094. <line id="line5" class="line_2" style="x1:1px; y1:147px; x2:366px; y2:147px; "/>
  2095. <caption id="caption18" class="cell_1" style="left:1px; top:51px; width:80px; height:23px; ">퇴원과</caption>
  2096. <output id="output2" ref="/root/main/cond/dschmedispclid" class="output_fix" navindex="39" appearance="output" style="left:239px; top:53px; width:58px; height:19px; "/>
  2097. <button id="button24" class="icon_search" navindex="3" style="left:353px; top:126px; width:16px; height:16px; ">
  2098. <caption/>
  2099. <script type="javascript" ev:event="DOMActivate">
  2100. <![CDATA[
  2101. fDrSearch("inmedispclid", "inmedispclnm");
  2102. ]]>
  2103. </script>
  2104. </button>
  2105. <select1 id="combo9" ref="/root/main/cond/opdeptcd" class="combo_default" navindex="3" appearance="minimal" _required="true" style="left:83px; top:250px; width:80px; height:19px; ">
  2106. <choices>
  2107. <itemset nodeset="/root/init/orddept/dept">
  2108. <label ref="depthngnm"/>
  2109. <value ref="deptcd"/>
  2110. </itemset>
  2111. </choices>
  2112. <script type="javascript" ev:event="xforms-value-changed">
  2113. <![CDATA[
  2114. var deptcd = model.getValue("/root/main/cond/opdeptcd");
  2115. switch(deptcd){
  2116. case "2010000000":
  2117. cmb_opclsdept.choices.itemset.attribute("nodeset") = "/root/init/mdclrsdeptlist/M0500";
  2118. break;
  2119. case "2040000000":
  2120. cmb_opclsdept.choices.itemset.attribute("nodeset") = "/root/init/gsclrsdeptlist/M0501";
  2121. break;
  2122. case "2100000000":
  2123. cmb_opclsdept.choices.itemset.attribute("nodeset") = "/root/init/gyclrsdeptlist/M0502";
  2124. break;
  2125. case "2110000000":
  2126. cmb_opclsdept.choices.itemset.attribute("nodeset") = "/root/init/pdclrsdeptlist/M0503";
  2127. break;
  2128. default:
  2129. cmb_opclsdept.choices.itemset.attribute("nodeset") = "/root/init/nulllist/M503";
  2130. break;
  2131. }
  2132. cmb_opclsdept.refresh();
  2133. model.refresh();
  2134. ]]>
  2135. </script>
  2136. </select1>
  2137. <caption id="caption19" class="cell_1" style="left:1px; top:225px; width:80px; height:23px; ">수술일</caption>
  2138. <line id="line6" class="line_3" style="x1:1px; y1:98px; x2:366px; y2:98px; "/>
  2139. <line id="line7" class="line_3" style="x1:1px; y1:172px; x2:366px; y2:172px; "/>
  2140. <caption id="caption101" class="search_no_b" style="left:117px; top:325px; width:12px; height:17px; ">~</caption>
  2141. <output id="output3" ref="/root/main/cond/dschatdoctnm" class="output_fix" navindex="40" appearance="output" style="left:299px; top:77px; width:50px; height:19px; "/>
  2142. <button id="button25" class="icon_search" navindex="3" style="left:353px; top:149px; width:16px; height:16px; ">
  2143. <caption/>
  2144. <script type="javascript" ev:event="DOMActivate">
  2145. <![CDATA[
  2146. fDrSearch("inatdoctid", "inatdoctnm");
  2147. ]]>
  2148. </script>
  2149. </button>
  2150. <input id="input6" ref="/root/main/cond/optodd" class="input_search" inputtype="date" style="left:202px; top:226px; width:100px; height:19px; "/>
  2151. <input id="ipt_fromdd" ref="/root/main/cond/dschfromdd" class="input_search" inputtype="date" style="left:83px; top:27px; width:100px; height:19px; "/>
  2152. <line id="line28" class="line_3" style="x1:372px; y1:50px; x2:707px; y2:50px; "/>
  2153. <input id="input2" ref="/root/main/cond/rgstfromdd" class="input_search" inputtype="date" style="left:83px; top:642px; width:100px; height:19px; "/>
  2154. <caption id="caption99" class="search_no_b" style="left:187px; top:643px; width:12px; height:17px; ">~</caption>
  2155. <caption id="caption103" class="cell_1" style="left:1px; top:641px; width:80px; height:23px; ">작성일</caption>
  2156. <input id="input11" ref="/root/main/cond/rgsttodd" class="input_search" inputtype="date" style="left:202px; top:642px; width:100px; height:19px; "/>
  2157. <button id="button8" class="icon_search" navindex="3" style="left:196px; top:667px; width:16px; height:16px; ">
  2158. <caption/>
  2159. <script type="javascript" ev:event="DOMActivate">
  2160. <![CDATA[
  2161. fDrSearch("rgstuserid", "rgstusernm");
  2162. ]]>
  2163. </script>
  2164. </button>
  2165. <caption id="caption104" class="cell_1" style="left:1px; top:665px; width:80px; height:23px; ">작성자</caption>
  2166. <output id="output8" ref="/root/main/cond/rgstuserid" class="output_fix" navindex="39" appearance="output" style="left:83px; top:666px; width:58px; height:19px; "/>
  2167. <output id="output9" ref="/root/main/cond/rgstusernm" class="output_fix" navindex="40" appearance="output" style="left:143px; top:666px; width:50px; height:19px; "/>
  2168. <line id="line67" class="line_3" style="x1:-1px; y1:688px; x2:364px; y2:688px; "/>
  2169. <line id="line27" class="line_3" style="x1:1px; y1:638px; x2:366px; y2:638px; "/>
  2170. <line id="line22" class="line_3" style="x1:1px; y1:564px; x2:366px; y2:564px; "/>
  2171. <input id="input12" ref="/root/main/cond/inhospfromdd" class="input_default" format="99999999" maxbyte="8" style="left:83px; top:200px; width:60; height:19px; "/>
  2172. <input id="input13" ref="/root/main/cond/inhosptodd" class="input_default" format="99999999" maxbyte="8" style="left:163px; top:200px; width:60px; height:19px; "/>
  2173. <caption id="caption105" class="search_no_b" style="left:147px; top:200px; width:12px; height:17px; ">~</caption>
  2174. <group id="group2" scroll="vertical" style="left:82px; top:616px; width:250px; height:21px; ">
  2175. <select id="chk_indxlist" ref="/root/main/cond/indxinfo" overflow="visible" appearance="full" cellspacing="100" cols="2" direction="acrossdown" rows="*" sep="','" style="left:0px; top:0px; width:245px; height:25px; border-style:none; ">
  2176. <choices>
  2177. <itemset nodeset="/root/init/indxlist/indx">
  2178. <label ref="indxnm"/>
  2179. <value ref="indxcd"/>
  2180. </itemset>
  2181. </choices>
  2182. </select>
  2183. <script type="javascript" ev:event="onmouseover">
  2184. <![CDATA[
  2185. chk_indxlist.attribute("height") = "72";
  2186. chk_indxlist.attribute("width") = "600";
  2187. group2.attribute("height") = "73";
  2188. group2.attribute("width") = "605";
  2189. group2.attribute("border-style") = "solid";
  2190. group2.attribute("border-color") = "#00ccff";
  2191. chk_indxlist.refresh();
  2192. ]]>
  2193. </script>
  2194. <script type="javascript" ev:event="onmouseout">
  2195. <![CDATA[
  2196. chk_indxlist.attribute("height") = "16";
  2197. chk_indxlist.attribute("width") = "244";
  2198. group2.attribute("height") = "16";
  2199. group2.attribute("width") = "245";
  2200. group2.attribute("border-style") = "";
  2201. group2.attribute("border-color") = "";
  2202. ]]>
  2203. </script>
  2204. </group>
  2205. <group id="grp_prg" visibility="hidden" style="left:489px; top:79px; width:645px; height:303px; border-color:#808080; border-style:solid; ">
  2206. <line id="line72" class="line_1" style="x1:6px; y1:20px; x2:636px; y2:20px; "/>
  2207. <datagrid id="grd_prglist" nodeset="/root/main/tempgrid" caption="파일명^실행상태^시작시간^종료시간" colsep="^" colwidth="290, 55, 120, 120" dataheight="23" datatype="xml" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:6px; top:25px; width:630px; height:270px; ">
  2208. <col ref="prgmnm"/>
  2209. <col disabled="true" ref="prcsstat" type="combo">
  2210. <choices>
  2211. <item>
  2212. <label>실행중</label>
  2213. <value>s</value>
  2214. </item>
  2215. <item>
  2216. <label>완료</label>
  2217. <value>e</value>
  2218. </item>
  2219. <item>
  2220. <label>오류</label>
  2221. <value>r</value>
  2222. </item>
  2223. </choices>
  2224. </col>
  2225. <col ref="fromdt"/>
  2226. <col ref="enddt" style="left:446px; top:23px; width:126px; height:23px; "/>
  2227. <script type="javascript" ev:event="onbuttonclick">
  2228. <![CDATA[
  2229. var cur_col = grd_batlog.col;
  2230. if (cur_col == 3) { // 로그 조회
  2231. fOpenLogDetailPopup();
  2232. } else if (cur_col == 12) { // 결과 파일 조회
  2233. fOpenResultFilePopup();
  2234. }
  2235. ]]>
  2236. </script>
  2237. </datagrid>
  2238. <caption id="caption13" class="tit_2" style="left:11px; top:5px; width:131px; height:13px; ">엑셀파일 현황</caption>
  2239. </group>
  2240. </group>
  2241. <group id="group1" style="left:0px; top:5px; width:1195px; height:13px; ">
  2242. <caption id="caption6" class="tit_1" style="left:0px; top:5px; width:800px; height:13px; ">연구용 검색</caption>
  2243. </group>
  2244. <button id="btn_cond" class="btn_sw" visibility="visible" group="tab" selected="false" style="left:2px; top:23px; width:90px; height:22px; ">
  2245. <caption>검색조건</caption>
  2246. <script type="javascript" ev:event="DOMActivate">
  2247. <![CDATA[
  2248. grp_cond.visible = true;
  2249. iviewer_list.visible = false;
  2250. button16.visible=false;
  2251. ]]>
  2252. </script>
  2253. </button>
  2254. <button id="button27" class="btn1_letter2" navindex="2" style="left:1124px; top:22px; width:56px; height:22px; ">
  2255. <caption>조회</caption>
  2256. <script type="javascript" ev:event="DOMActivate">
  2257. <![CDATA[
  2258. // var gridNode = iviewer_list.grd_list.nodeset;
  2259. // iviewer_list.model.removeNodeset(gridNode);
  2260. // openLoadingBar("검색결과");
  2261. fSearch();
  2262. // closeLoadingBar();
  2263. ]]>
  2264. </script>
  2265. </button>
  2266. <button id="btn_rlst" class="btn_sw" visibility="visible" group="tab" selected="false" style="left:92px; top:23px; width:90px; height:22px; ">
  2267. <caption>검색결과</caption>
  2268. <script type="javascript" ev:event="DOMActivate">
  2269. <![CDATA[
  2270. grp_cond.visible = false;
  2271. iviewer_list.visible = true;
  2272. button16.visible=true;
  2273. ]]>
  2274. </script>
  2275. </button>
  2276. <button id="org_excel_btn" class="btn6_letter7" visibility="hidden" disable.background-image="../../../com/commonweb/images/dis_btn6_letter2.gif" style="left:730px; top:20px; width:116px; height:22px; background-image:../../../com/commonweb/images/btn6_letter2.gif; ">
  2277. <caption>Old_엑셀저장</caption>
  2278. <script type="javascript" ev:event="DOMActivate">
  2279. <![CDATA[
  2280. var files = window.fileDialog("save", "|", true, "", "", "Excel Files(*.xls)|*.xls");
  2281. //var files = window.fileDialog("save", "|", true, "", "", "CSV Files(*.csv)|*.csv");
  2282. if(files != ""){
  2283. model.removeNodeset("/root/send/reqdata");
  2284. //화일 디렉토리 위치, 화일명을 받는다.
  2285. var filesarr= files.split("\\");
  2286. var filenm = filesarr[filesarr.length-1];
  2287. var filepath= files.split(filenm);
  2288. if(!doChkSrchCond()){
  2289. return;
  2290. }
  2291. doSetSrchCond();
  2292. var startdate = model.getValue("/root/main/cond/dschfromdd");
  2293. var enddate = model.getValue("/root/main/cond/dschtodd");
  2294. var orgstartdate = startdate;
  2295. var orgenddate = enddate;
  2296. do{
  2297. var monthcnt = getMonthInterval(startdate.substring(0, 6), enddate.substring(0, 6));
  2298. if(monthcnt == 0){
  2299. var monthend = enddate;
  2300. }else{
  2301. var monthend = startdate.substring(0, 6).concat("31");
  2302. }
  2303. var condnode = model.instance1.selectNodes("/root/main/cond");
  2304. model.setValue("/root/main/cond/dschfromdd", startdate);
  2305. model.setValue("/root/main/cond/dschtodd" , monthend);
  2306. model.makeValue("/root/send/reqdata/srchcond", doSrchCondCSV(condnode, "^", "|"));
  2307. var orgSrchCond = model.getValue("/root/send/reqdata/srchcond");
  2308. var chngSrchCond = orgSrchCond.setReplaceWord("%", "%25")
  2309. var param = "&srchcond=" + chngSrchCond;
  2310. model.download(getActionURL("TRMRD01601")+param, files + "_"+ startdate + "_" + monthend +".xls", false);
  2311. startdate = addMonth(startdate.substring(0, 6)).concat("01");
  2312. }
  2313. while(enddate > startdate);
  2314. model.setValue("/root/main/cond/dschfromdd", orgstartdate);
  2315. model.setValue("/root/main/cond/dschtodd" , orgenddate);
  2316. //조회후 section Data 삭제
  2317. doSetNullSrchCond();
  2318. model.refresh();
  2319. }
  2320. else{
  2321. return;
  2322. }
  2323. ]]>
  2324. </script>
  2325. </button>
  2326. <button id="0225" class="btn6_letter4" visibility="hidden" disable.background-image="../../../com/commonweb/images/dis_btn6_letter2.gif" style="left:645px; top:20px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn6_letter2.gif; ">
  2327. <caption>엑셀저장</caption>
  2328. <script type="javascript" ev:event="DOMActivate">
  2329. <![CDATA[
  2330. img_loadbar.visible = true;
  2331. // openLoadingBar(msg);
  2332. if(!doChkSrchCond()){
  2333. return;
  2334. }
  2335. doSetSrchCond();
  2336. var condnode = model.instance1.selectNodes("/root/main/cond");
  2337. var orgSrchCond = "";
  2338. var chngSrchCond = "";
  2339. var param = "";
  2340. model.makeValue("/root/send/reqdata/srchcond", doSrchCondCSV(condnode, "^", "|"));
  2341. orgSrchCond = model.getValue("/root/send/reqdata/srchcond");
  2342. chngSrchCond = orgSrchCond.setReplaceWord("%", "%25");
  2343. model.setValue("/root/send/srchcond", chngSrchCond);
  2344. if(submit("TRMRD01604") != true) {
  2345. return;
  2346. }
  2347. img_loadbar.visible = false;
  2348. // closeLoadingBar();
  2349. var cnt = model.getValue("/root/attachfile/datacnt");
  2350. model.setValue("/root/main/cond/cnt", cnt);
  2351. var url = document.url;
  2352. var s_url = url.split("/");
  2353. var setUrl = s_url[0]+"//"+s_url[2]
  2354. if(cnt > 0) {
  2355. var msg = messageBox(cnt+"건의 데이타가 조회되었습니다.엑셀저장을", "Q003", "");
  2356. if(msg != "6"){
  2357. return;
  2358. }
  2359. var files = window.fileDialog("save", "|", true, "", "", "CSV Files(*.csv)|*.csv");
  2360. if(files != ""){
  2361. //화일 디렉토리 위치, 화일명을 받는다.
  2362. var filesarr= files.split("\\");
  2363. var filenm = filesarr[filesarr.length-1];
  2364. var filepath= files.split(filenm);
  2365. var startdate = model.getValue("/root/main/cond/dschfromdd");
  2366. var enddate = model.getValue("/root/main/cond/dschtodd");
  2367. var orgstartdate = startdate;
  2368. var orgenddate = enddate;
  2369. //파일생성현황
  2370. // model.removeNodeset(grd_prglist.nodeset);
  2371. // grd_prglist.deleteRow(1);
  2372. // fSetGrpDg(true);
  2373. do{
  2374. var yearcnt = eval(enddate.substring(0, 4)) - eval(startdate.substring(0, 4));
  2375. var monthend = "";
  2376. //1년단위
  2377. if(yearcnt > 0) {
  2378. monthend = eval(startdate.substring(0, 4))+"1231";
  2379. }else {
  2380. monthend = enddate;
  2381. }
  2382. var filenm1 = filenm + "_"+ startdate + "_" + monthend;
  2383. var dfileNm = files+"_"+ startdate + "_" + monthend+".csv";
  2384. model.setValue("/root/main/cond/filepath", filepath);
  2385. // model.setValue("/root/main/cond/filenm", filenm1 +".xls");
  2386. model.setValue("/root/main/cond/filenm", filenm1);
  2387. param = setReqNode(startdate, monthend);
  2388. /* if(submit("TRMRD01604") == true) {
  2389. var cnt = model.getValue("/root/attachfile/datacnt");
  2390. if(cnt > 0){
  2391. var subloop = eval(cnt)/30000;
  2392. var offset = 0;*/
  2393. /* if(subloop >1){
  2394. for(k=0; k<parseInt(subloop)+1; k++){
  2395. model.addLog("offset========================>"+offset);
  2396. model.setValue("/root/main/cond/offset", offset);
  2397. model.setValue("/root/main/cond/filenm", filenm1 +"("+k+")");
  2398. var dfileNm = files+"_"+ startdate + "_" + enddate+"("+k+").csv";
  2399. //진행상태 정보
  2400. // setPrg("SPMRD02300", filenm1 +"("+k+").csv", "s", row);
  2401. //파일생성
  2402. if(submit("TRMRD01605") == true){
  2403. //진행상태 정보
  2404. // setPrg("SPMRD02300", filenm1 +"("+k+").csv", "e", row);
  2405. }
  2406. // var respath = "/emr/dschanaly/20100226/"+filenm1 +"("+k+").csv";
  2407. // model.download(getActionURL("TRMRD01606")+"&filepath="+respath, dfileNm, false);
  2408. //파일다운로드
  2409. model.download(setUrl+"/attach/emr/"+filenm1+"("+k+").csv", dfileNm, false);
  2410. offset = eval(offset)+30000;
  2411. //날짜 세팅
  2412. // startdate = addMonth(nextend.substring(0, 6))+"01";
  2413. // m = eval(mn)+m;
  2414. }
  2415. }else {
  2416. */
  2417. //진행상태 정보
  2418. // setPrg( filenm1 +".csv", "s");
  2419. // model.setValue("/root/main/cond/offset", "0");
  2420. if(submit("TRMRD01605") == true){
  2421. //진행상태 정보
  2422. // setPrg("SPMRD02300", filenm1 +".csv", "e", row);
  2423. }
  2424. // var respath = "/emr/dschanaly/20100226/"+filenm1+".csv";
  2425. // model.download(getActionURL("TRMRD01606")+"&filepath="+respath, dfileNm, false);
  2426. model.download(setUrl+"/attach/emr/"+filenm1+".csv", dfileNm, false);
  2427. /* }
  2428. } */
  2429. var nextyear = eval(monthend.substring(0, 4))+1;
  2430. startdate = nextyear+"0101";
  2431. // setPrg( filenm1 +".csv", "e");
  2432. //}
  2433. }while(enddate > startdate);
  2434. model.setValue("/root/main/cond/dschfromdd", orgstartdate);
  2435. model.setValue("/root/main/cond/dschtodd" , orgenddate);
  2436. //조회후 section Data 삭제
  2437. doSetNullSrchCond();
  2438. model.refresh();
  2439. var err_msg = model.getValue("/root/properties/error/type");
  2440. // fSetGrpDg(false);
  2441. if(err_msg != "error") {
  2442. messageBox("엑셀저장이 ", "I002", "");
  2443. }
  2444. }else{
  2445. return;
  2446. }
  2447. }else {
  2448. messageBox("엑셀저장가능한 ", "E013", "");
  2449. }
  2450. function setReqNode(startdate, monthend) {
  2451. var condnode = model.instance1.selectNodes("/root/main/cond");
  2452. model.setValue("/root/main/cond/dschfromdd", startdate);
  2453. model.setValue("/root/main/cond/dschtodd" , monthend);
  2454. model.makeValue("/root/send/reqdata/srchcond", doSrchCondCSV(condnode, "^", "|"));
  2455. orgSrchCond = model.getValue("/root/send/reqdata/srchcond");
  2456. chngSrchCond = orgSrchCond.setReplaceWord("%", "%25")
  2457. param = "&srchcond=" + chngSrchCond;
  2458. return param;
  2459. }
  2460. ]]>
  2461. </script>
  2462. </button>
  2463. <img id="img_loadbar" visibility="hidden" src="../../../com/commonweb/images/loadingBar.gif" style="left:450px; top:285px; width:311px; height:102px; background-stretch:stretch; "/>
  2464. <select id="chk_opt" ref="/root/main/cond/chkopt" appearance="full" cellspacing="5" style="left:476px; top:670px; width:133px; height:20px; border-style:none; ">
  2465. <choices>
  2466. <item>
  2467. <label>진단명, 수술명 조회</label>
  2468. <value>Y</value>
  2469. </item>
  2470. </choices>
  2471. </select>
  2472. <button id="button16" class="btn6_letter4" visibility="hidden" disable.background-image="../../../com/commonweb/images/dis_btn6_letter2.gif" style="left:1040px; top:22px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn6_letter2.gif; ">
  2473. <caption>엑셀저장</caption>
  2474. <script type="javascript" ev:event="onclick">
  2475. <![CDATA[
  2476. excel_save();
  2477. ]]>
  2478. </script>
  2479. </button>
  2480. </xhtml:body>
  2481. </xhtml:html>