SMAEI00100_인체자원은행자료전송.xrw 70 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571
  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. <patinfo>
  11. <patinfolist/>
  12. </patinfo>
  13. <patmemolist>
  14. <patmenoinfo>
  15. <pid/>
  16. <pnm/>
  17. <memorgstdd/>
  18. <showdd/>
  19. <memodesc/>
  20. <showstartdd/>
  21. <showenddd/>
  22. </patmenoinfo>
  23. </patmemolist>
  24. <prtlist>
  25. <prtdata/>
  26. </prtlist>
  27. <datacllct>
  28. <item/>
  29. <getDiagnExamLst/>
  30. <getPacsExamLst/>
  31. <getMicrobeExamLst/>
  32. <getPathologyExamLst/>
  33. <getECGExamLst/>
  34. <getOprnInfoLst/>
  35. <getDiagnosisInfoLst/>
  36. <getNursesInfoLst>
  37. </getNursesInfoLst>
  38. <getRdtnTrtmntLst/>
  39. <patinfo>
  40. <check/>
  41. <pid/>
  42. <hngnm/>
  43. </patinfo>
  44. </datacllct>
  45. <pathrsltlst>
  46. <item/>
  47. </pathrsltlst>
  48. <gustoinfo>
  49. <gusto>
  50. <smokinfo>
  51. <smokinfoyn/>
  52. <bfsmokinfoyn/>
  53. <smokinfocnt/>
  54. <nosmokcnstyn/>
  55. <nosmokcnst/>
  56. <nosmokcnstnm/>
  57. </smokinfo>
  58. <drunkinfo>
  59. <drunkinfoyn>1</drunkinfoyn>
  60. <drunkinfokind/>
  61. <drunkinfoterm/>
  62. </drunkinfo>
  63. <gustofoodinfo>
  64. <gustofoodyn>1</gustofoodyn>
  65. <gustofooddetl/>
  66. </gustofoodinfo>
  67. <tnsseffcinfo>
  68. <tnsseffcyn>1</tnsseffcyn>
  69. <tnsseffcdetl/>
  70. </tnsseffcinfo>
  71. </gusto>
  72. </gustoinfo>
  73. <inmotiveinfo>
  74. <inmotive>
  75. <attackdd/>
  76. <attackdt/>
  77. <inmotive1>Y</inmotive1>
  78. <inmotive2/>
  79. <illnessflag>Y</illnessflag>
  80. </inmotive>
  81. </inmotiveinfo>
  82. <rectmedistatinfo>
  83. <rectmedistat>
  84. <rectmedistatinfoinclyn/>
  85. <antibiodrugyn/>
  86. <rectmedistat>
  87. <drugnm/>
  88. <direc/>
  89. <orddept/>
  90. </rectmedistat>
  91. </rectmedistat>
  92. </rectmedistatinfo>
  93. <famyhistinfo>
  94. <famyhist>
  95. <famyhistinclyn>X</famyhistinclyn>
  96. <famyhist>
  97. <famyrel/>
  98. <existyn/>
  99. <histspec/>
  100. <remfact/>
  101. </famyhist>
  102. </famyhist>
  103. </famyhistinfo>
  104. <pasthistinfo>
  105. <pasthist>
  106. <pasthistinclyn/>
  107. <pasthist>
  108. <genrdd/>
  109. <histspec/>
  110. <remfact/>
  111. </pasthist>
  112. </pasthist>
  113. </pasthistinfo>
  114. </main>
  115. <send>
  116. <globalinstance>
  117. <instance1/>
  118. </globalinstance>
  119. <hngnm/>
  120. <pid/>
  121. <sna/>
  122. <rrgstno/>
  123. <brthdd/>
  124. <savedata/>
  125. <data>
  126. <srchpid/>
  127. <srchuid/>
  128. <srchinstcd/>
  129. <srchtodd/>
  130. <srchfromdd/>
  131. <srchpatnm/>
  132. <srchrrgstno1/>
  133. <srchsex/>
  134. <onlyret/>
  135. </data>
  136. <srchcond/>
  137. <deldata>
  138. <diagnexam/>
  139. <pacsexam/>
  140. <microbeexam/>
  141. <pathologyexam/>
  142. <ecgexam/>
  143. <oprninfo/>
  144. <diagnosisinfo/>
  145. <nursesinfo/>
  146. <rdtntrtmnt/>
  147. <patinfo/>
  148. </deldata>
  149. <rsltcomment/>
  150. <rsltrept/>
  151. <pathrsltdata/>
  152. <pathdata>
  153. <pathptno/>
  154. <pathpid/>
  155. <pathinstcd/>
  156. <pathlastreptdd/>
  157. <pathtestmdlcd/>
  158. <pathexecprcpuniqno/>
  159. <pathprcpdd/>
  160. </pathdata>
  161. </send>
  162. <init>
  163. <cmb_info>
  164. <initexecprcpstatcd/>
  165. <tumorapntdrlist>
  166. </tumorapntdrlist>
  167. <tumoratdoctlist>
  168. </tumoratdoctlist>
  169. <precombolist/>
  170. <tumormultiynlist/>
  171. </cmb_info>
  172. <waitfoominfo>
  173. <waitroomcdval/>
  174. </waitfoominfo>
  175. <baseinfo>
  176. <initprcpgenrflagcd/>
  177. </baseinfo>
  178. </init>
  179. <hidden>
  180. <userlist>
  181. <usercombo>
  182. <userid/>
  183. <usernm/>
  184. </usercombo>
  185. </userlist>
  186. <orddeptlist/>
  187. <reqfrminfo>
  188. <pid/>
  189. <reqno/>
  190. </reqfrminfo>
  191. <isolinfo>
  192. <isoldata/>
  193. </isolinfo>
  194. </hidden>
  195. <temp>
  196. <count/>
  197. </temp>
  198. </root>
  199. </instance>
  200. <script type="javascript" ev:event="xforms-ready">
  201. <![CDATA[
  202. aezfSetSuppDeptcd();
  203. model.setValue("/root/send/data/srchuid" , getUserId() );
  204. model.setValue("/root/send/data/srchinstcd", getUserInfo("dutplceinstcd") );
  205. model.setValue("/root/send/data/srchfromdd", getCurrentDate() );
  206. model.setValue("/root/send/data/srchtodd", getCurrentDate() );
  207. zbcfGetCodeList( new Array("M0010"), new Array("/root/init/baseinfo/initprcpgenrflagcd") );
  208. grd_rsrvpatinfolist.fixedcellcheckbox(0 , 0) = true;
  209. dtg_Pacs.fixedcellcheckbox(0 , 0) = true;
  210. dtg_Diag.fixedcellcheckbox(0 , 0) = true;
  211. dtg_Micro.fixedcellcheckbox(0 , 0) = true;
  212. dtg_Path.fixedcellcheckbox(0 , 0) = true;
  213. dtg_ECG.fixedcellcheckbox(0 , 0) = true;
  214. dtg_Oprn.fixedcellcheckbox(0 , 0) = true;
  215. dtg_Diagnosis.fixedcellcheckbox(0 , 0) = true;
  216. dtg_Nurse.fixedcellcheckbox(0 , 0) = true;
  217. dtg_Rdtn.fixedcellcheckbox(0 ,0 ) = true;
  218. btn_allrsrv.selected = true;
  219. model.removeNodeset("/root/init/mlist");
  220. model.makeNode("/root/init/mlist");
  221. //fGetNursHardCdInfo("'077','172','177','U31'", getCurrentDate()); //CareCom.js
  222. zbcfGetCodeList( new Array (
  223. "M0072" //관계
  224. ,"M0088" //생존여부
  225. ,"M0090" //알러지
  226. ,"M0368" //가족병력내역
  227. ,"M0532" //과거병력내역_20090406_SMY추가
  228. ,"M0634" //통증사정내역
  229. )
  230. , new Array (
  231. "/root/init/mlist" //관계
  232. ,"/root/init/mlist" //생존여부
  233. ,"/root/init/mlist" //알러지
  234. ,"/root/init/mlist" //가족병력내역
  235. ,"/root/init/mlist" //과거병력내역
  236. ,"/root/init/mlist" //통증사정내역
  237. )
  238. );
  239. model.refresh();
  240. ]]>
  241. </script>
  242. <submission id="TRAEI00100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" replace="instance" resultref="/root/main/datacllct"/>
  243. <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/patinfo"/>
  244. <submission id="TXAEI00100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/deldata" replace="instance" resultref="/root/temp"/>
  245. <submission id="TRAEI00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/pathdata" replace="instance" resultref="/root/main/pathrsltlst"/>
  246. </model>
  247. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  248. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  249. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  250. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  251. <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
  252. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  253. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  254. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  255. <script type="javascript" src="../../../ast/tumorelctweb/js/combolist.js"/>
  256. <script type="javascript" src="../../../emr/waitguideweb/js/SMMNV12000.js"/>
  257. <script type="javascript" src="../../../ast/bodyresurbasebankweb/js/SMAEI00100.js"/>
  258. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  259. <script type="javascript">
  260. <![CDATA[
  261. function fClear(){
  262. model.resetInstanceNode("/root/send/rsltcomment");
  263. model.resetInstanceNode("/root/send/rsltrept");
  264. model.resetInstanceNode("/root/send/pathrsltdata");
  265. model.refresh();
  266. }
  267. function fGetXmlToStr(xPath) {
  268. var str = instance1.selectNodesXml(xPath);
  269. return str;
  270. }
  271. ]]>
  272. </script>
  273. </xhtml:head>
  274. <xhtml:body guideline="1,1196;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  275. <object id="tfexcel" clsid="{fe8d1001-6a9d-424d-ae2a-301493bb12da}" visibility="hidden" style="left:815px; top:45px; width:175px; height:30px; "/>
  276. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:1px; top:20px; width:1194px; height:65px; background-color:#fffbf2; "/>
  277. <datagrid id="grd_rsrvpatinfolist" nodeset="/root/main/datacllct/item" caption="^구분^내원일^퇴원일^진료과^진료의" colsep="^" colwidth="30, 38, 70, 70, 90, 80" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:125px; width:325px; height:620px; ">
  278. <col checkvalue="Y,N" ref="check" type="checkbox"/>
  279. <col ref="ordtype" type="combo" style="text-align:center; ">
  280. <choices>
  281. <itemset nodeset="/root/init/baseinfo/initprcpgenrflagcd/M0010">
  282. <label ref="cdnm"/>
  283. <value ref="cdid"/>
  284. </itemset>
  285. </choices>
  286. </col>
  287. <col ref="ordindd" format="yyyy-mm-dd" style="text-align:center; "/>
  288. <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  289. <col ref="depthngnm" style="text-align:center; "/>
  290. <col ref="orddridnm" style="text-align:center; "/>
  291. <script type="javascript" ev:event="onclick">
  292. <![CDATA[
  293. ]]>
  294. </script>
  295. <script type="javascript" ev:event="DOMFocusOut">
  296. <![CDATA[
  297. initPopupMenu();
  298. ]]>
  299. </script>
  300. </datagrid>
  301. <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:300px; height:13px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">한국인체자원 거점은행 자료전송</caption>
  302. <caption id="caption10" class="search_name" style="left:465px; top:33px; width:110px; height:17px; text-align:center; vertical-align:middle; ">성별/나이 :</caption>
  303. <caption id="caption4" class="search_name" style="left:243px; top:33px; width:90px; height:17px; text-align:center; vertical-align:middle; ">성 명 :</caption>
  304. <caption id="caption5" class="search_name" style="left:241px; top:57px; width:90px; height:17px; text-align:center; vertical-align:middle; ">주민번호 :</caption>
  305. <caption id="caption1" class="search_name" style="left:20px; top:33px; width:90px; height:17px; text-align:center; vertical-align:middle; ">등록번호 :</caption>
  306. <caption id="caption14" class="tit_2" style="left:0px; top:100px; width:222px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">수진이력</caption>
  307. <line id="line4" class="line_1" style="x1:0px; y1:120px; x2:325px; y2:120px; "/>
  308. <button id="btn_allrsrv" class="btn_sw" group="tab2" selected="false" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:335px; top:98px; width:75px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
  309. <caption>영상검사</caption>
  310. <toggle case="case1" ev:event="onclick"/>
  311. <script type="javascript" ev:event="DOMActivate">
  312. <![CDATA[
  313. fClear();
  314. model.toggle("case1");
  315. ]]>
  316. </script>
  317. </button>
  318. <input id="ipt_pid" ref="/root/send/pid" class="input_default" navindex="2" style="left:113px; top:32px; width:95px; height:19px; ">
  319. <script type="javascript" ev:event="onkeypress">
  320. <![CDATA[
  321. if(event.keyCode == "13") {
  322. inputEnterKey("button3","DOMActivate");
  323. }
  324. ]]>
  325. </script>
  326. </input>
  327. <output id="opt_sexage" ref="/root/send/sna" class="output_search" appearance="output" style="left:571px; top:32px; width:115px; height:19px; "/>
  328. <output id="opt_patnm" ref="/root/send/hngnm" class="output_search" appearance="output" style="left:335px; top:32px; width:110px; height:19px; "/>
  329. <switch id="switch2" style="left:337px; top:120px; width:848px; height:625px; ">
  330. <object id="tfexcel" clsid="{fe8d1001-6a9d-424d-ae2a-301493bb12da}" visibility="hidden" style="left:790px; top:15px; width:175px; height:30px; "/>
  331. <case id="case1" selected="true">
  332. <datagrid id="dtg_Pacs" nodeset="/root/main/datacllct/getPacsExamLst" caption="^구분^처방일자^검사코드^검사명^처방과^처방의^결과확인일^결과확인의^결론" colsep="^" colwidth="26, 40, 80, 100, 200, 90, 80, 90, 90, 220, 100, 100, 100, 100" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="listbox" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:4px; width:835px; height:441px; ">
  333. <col checkvalue="Y,N" ref="check" type="checkbox"/>
  334. <col ref="ioflag" type="combo" style="text-align:center; ">
  335. <choices>
  336. <itemset nodeset="/root/init/baseinfo/initprcpgenrflagcd/M0010">
  337. <label ref="cdnm"/>
  338. <value ref="cdid"/>
  339. </itemset>
  340. </choices>
  341. </col>
  342. <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
  343. <col ref="calcscorcd" style="text-align:center; "/>
  344. <col ref="ordnm" style="text-align:left; "/>
  345. <col ref="depthngnm" style="text-align:center; "/>
  346. <col ref="orddridnm" style="text-align:center; "/>
  347. <col ref="cnfmdt" format="yyyy-mm-dd" style="text-align:center; "/>
  348. <col ref="cnfmmanidnm" style="text-align:center; "/>
  349. <col ref="rsltcomment" style="text-align:left; "/>
  350. <col ref="instcd" visibility="hidden"/>
  351. <col ref="pid" visibility="hidden"/>
  352. <col ref="orddeptcd" visibility="hidden"/>
  353. <col ref="orddrid" visibility="hidden"/>
  354. <col ref="cnfmmanid" visibility="hidden"/>
  355. <col ref="patientid" visibility="hidden"/>
  356. <col ref="patientdob" visibility="hidden"/>
  357. <col ref="patientsex" visibility="hidden"/>
  358. <col ref="rsltrept" visibility="hidden"/>
  359. <script type="javascript" ev:event="onaftersort">
  360. <![CDATA[
  361. dtg_Pacs.gridToInstance();
  362. ]]>
  363. </script>
  364. <script type="javascript" ev:event="onmousedown">
  365. <![CDATA[
  366. ]]>
  367. </script>
  368. <script type="javascript" ev:event="DOMFocusOut">
  369. <![CDATA[
  370. initPopupMenu();
  371. ]]>
  372. </script>
  373. <script type="javascript" ev:event="onclick">
  374. <![CDATA[
  375. model.setValue("/root/send/rsltcomment", "");
  376. if ( dtg_Pacs.isCell(event.target) && dtg_Pacs.row >= dtg_Pacs.fixedRows ) {
  377. model.setValue("/root/send/rsltcomment" , model.getValue("/root/main/datacllct/getPacsExamLst[" + dtg_Pacs.row + "]/rsltcomment"));
  378. }
  379. model.refresh();
  380. ]]>
  381. </script>
  382. </datagrid>
  383. <line id="line1" class="line_1" style="x1:0px; y1:0px; x2:835px; y2:0px; "/>
  384. <caption id="caption7" class="tit_2" style="left:0px; top:450px; width:70px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">결 론</caption>
  385. <textarea id="txta_exerem" ref="/root/send/rsltcomment" style="left:0px; top:465px; width:835px; height:157px; padding-left:5; padding-top:5; padding-right:5; padding-bottom:5; "/>
  386. </case>
  387. <case id="case2">
  388. <line id="line9" class="line_1" style="x1:0px; y1:0px; x2:835px; y2:0px; "/>
  389. <datagrid id="dtg_Diag" nodeset="/root/main/datacllct/getDiagnExamLst" caption="^구분^처방일자^검사코드^검사명^처방과^처방의^최종보고일시^최종보고자명^판정마크^보고결과^검사결과단위^델타마크^패닉마크^참고치문자^참고치상한^참고치하한" colsep="^" colwidth="26, 40, 80, 100, 200, 90, 80, 90, 90" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="listbox" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:5px; width:835px; height:617px; ">
  390. <col checkvalue="Y,N" ref="check" type="checkbox"/>
  391. <col ref="prcpgenrflag" type="combo" style="text-align:center; ">
  392. <choices>
  393. <itemset nodeset="/root/init/baseinfo/initprcpgenrflagcd/M0010">
  394. <label ref="cdnm"/>
  395. <value ref="cdid"/>
  396. </itemset>
  397. </choices>
  398. </col>
  399. <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
  400. <col ref="testcd" style="text-align:center; "/>
  401. <col ref="testscrnnm" style="text-align:left; "/>
  402. <col ref="depthngnm" style="text-align:center; "/>
  403. <col ref="orddridnm" style="text-align:center; "/>
  404. <col ref="lastreptdt" format="yyyy-mm-dd" style="text-align:center; "/>
  405. <col ref="lastreptidnm" style="text-align:center; "/>
  406. <col ref="judgmark" style="text-align:center; "/>
  407. <col ref="reptrslt" style="text-align:center; "/>
  408. <col ref="rsltunit" style="text-align:center; "/>
  409. <col ref="deltamark" style="text-align:center; "/>
  410. <col ref="panicmark" style="text-align:center; "/>
  411. <col ref="refcval" style="text-align:center; "/>
  412. <col ref="refh" style="text-align:center; "/>
  413. <col ref="refl" style="text-align:center; "/>
  414. <col ref="orddeptcd" visibility="hidden" style="text-align:center; "/>
  415. <col ref="orddrid" visibility="hidden" style="text-align:center; "/>
  416. <col ref="lastreptid" visibility="hidden" style="text-align:center; "/>
  417. <col ref="instcd" visibility="hidden" style="text-align:center; "/>
  418. <col ref="pid" visibility="hidden"/>
  419. <col ref="spcscrnnm" visibility="hidden"/>
  420. <col ref="testlrgscrnnm" visibility="hidden"/>
  421. <col ref="testmdlscrnnm" visibility="hidden"/>
  422. <col ref="actorddd" visibility="hidden"/>
  423. <col ref="prcpremfact" visibility="hidden"/>
  424. <col ref="patientid" visibility="hidden"/>
  425. <col ref="patientdob" visibility="hidden"/>
  426. <col ref="patientsex" visibility="hidden"/>
  427. <script type="javascript" ev:event="onaftersort">
  428. <![CDATA[
  429. dtg_Diag.gridToInstance();
  430. ]]>
  431. </script>
  432. <script type="javascript" ev:event="onmousedown">
  433. <![CDATA[
  434. ]]>
  435. </script>
  436. <script type="javascript" ev:event="DOMFocusOut">
  437. <![CDATA[
  438. initPopupMenu();
  439. ]]>
  440. </script>
  441. </datagrid>
  442. </case>
  443. <case id="case3">
  444. <datagrid id="dtg_Micro" nodeset="/root/main/datacllct/getMicrobeExamLst" caption="^구분^처방일자^검사코드^검사명^처방과^처방의^최종보고일시^최종보고자명^판정마크^보고결과^검사결과단위^배양균화면명^균결과상태^항생제화면명^항균제결과^항균제판정값" colsep="^" colwidth="26, 40, 80, 100, 200, 90, 80, 90, 90" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="listbox" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:5px; width:835px; height:617px; ">
  445. <col checkvalue="Y,N" ref="check" type="checkbox"/>
  446. <col ref="prcpgenrflag" type="combo" style="text-align:center; ">
  447. <choices>
  448. <itemset nodeset="/root/init/baseinfo/initprcpgenrflagcd/M0010">
  449. <label ref="cdnm"/>
  450. <value ref="cdid"/>
  451. </itemset>
  452. </choices>
  453. </col>
  454. <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
  455. <col ref="testcd" style="text-align:center; "/>
  456. <col ref="testscrnnm" style="text-align:left; "/>
  457. <col ref="depthngnm" style="text-align:center; "/>
  458. <col ref="orddridnm" style="text-align:center; "/>
  459. <col ref="lastreptdt" format="yyyy-mm-dd" style="text-align:center; "/>
  460. <col ref="lastreptidnm" style="text-align:center; "/>
  461. <col ref="judgmark" style="text-align:center; "/>
  462. <col ref="reptrslt" style="text-align:center; "/>
  463. <col ref="rsltunit" style="text-align:center; "/>
  464. <col ref="bacscrnnm" style="text-align:center; "/>
  465. <col ref="bacrsltstat" style="text-align:center; "/>
  466. <col ref="antibioscrnnm" style="text-align:center; "/>
  467. <col ref="antibiorslt" style="text-align:center; "/>
  468. <col ref="antibioref" style="text-align:center; "/>
  469. <col ref="orddeptcd" visibility="hidden" style="text-align:center; "/>
  470. <col ref="orddrid" visibility="hidden" style="text-align:center; "/>
  471. <col ref="lastreptid" visibility="hidden" style="text-align:center; "/>
  472. <col ref="tclscd" visibility="hidden" style="text-align:center; "/>
  473. <col ref="instcd" visibility="hidden" style="text-align:center; "/>
  474. <col ref="pid" visibility="hidden"/>
  475. <col ref="tclsscrnnm" visibility="hidden" style="text-align:center; "/>
  476. <col ref="patientid" visibility="hidden"/>
  477. <col ref="patientdob" visibility="hidden"/>
  478. <col ref="patientsex" visibility="hidden"/>
  479. <col ref="nr_man_high" visibility="hidden"/>
  480. <col ref="nr_man_low" visibility="hidden"/>
  481. <col ref="nr_woman_high" visibility="hidden"/>
  482. <col ref="nr_woman_low" visibility="hidden"/>
  483. <col ref="spcscrnnm" visibility="hidden"/>
  484. <col ref="testlrgscrnnm" visibility="hidden"/>
  485. <col ref="testmdlscrnnm" visibility="hidden"/>
  486. <col ref="actorddd" visibility="hidden"/>
  487. <col ref="prcpremfact" visibility="hidden"/>
  488. <col ref="panicmark" visibility="hidden"/>
  489. <col ref="deltamark" visibility="hidden"/>
  490. <script type="javascript" ev:event="onaftersort">
  491. <![CDATA[
  492. dtg_Micro.gridToInstance();
  493. ]]>
  494. </script>
  495. <script type="javascript" ev:event="onmousedown">
  496. <![CDATA[
  497. ]]>
  498. </script>
  499. <script type="javascript" ev:event="DOMFocusOut">
  500. <![CDATA[
  501. initPopupMenu();
  502. ]]>
  503. </script>
  504. </datagrid>
  505. <line id="line2" class="line_1" style="x1:0px; y1:0px; x2:835px; y2:0px; "/>
  506. </case>
  507. <case id="case4">
  508. <datagrid id="dtg_Path" nodeset="/root/main/datacllct/getPathologyExamLst" caption="^구분^처방일자^처방코드^처방명^처방과^처방의^결과일자^검체코드^검체명^결과 데이터" colsep="^" colwidth="26, 40, 80, 100, 200, 90, 80, 90, 90, 100, 200, 100, 100, 100, 100, 100, 100, 100" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="listbox" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:4px; width:835px; height:440px; ">
  509. <col checkvalue="Y,N" ref="check" type="checkbox"/>
  510. <col ref="prcpgenrflag" type="combo" style="text-align:center; ">
  511. <choices>
  512. <itemset nodeset="/root/init/baseinfo/initprcpgenrflagcd/M0010">
  513. <label ref="cdnm"/>
  514. <value ref="cdid"/>
  515. </itemset>
  516. </choices>
  517. </col>
  518. <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
  519. <col ref="prcpcd" style="text-align:left; "/>
  520. <col ref="prcpnm" style="text-align:left; "/>
  521. <col ref="depthngnm" style="text-align:center; "/>
  522. <col ref="orddridnm" style="text-align:center; "/>
  523. <col ref="readdd" format="yyyy-mm-dd" style="text-align:center; "/>
  524. <col ref="spccd" style="text-align:center; "/>
  525. <col ref="spcnm" style="text-align:center; "/>
  526. <col ref="reptrslt" style="text-align:left; "/>
  527. <col ref="orddeptcd" visibility="hidden" style="text-align:center; "/>
  528. <col ref="orddrid" visibility="hidden" style="text-align:center; "/>
  529. <col ref="instcd" visibility="hidden" style="text-align:center; "/>
  530. <col ref="pid" visibility="hidden"/>
  531. <col ref="ptno" visibility="hidden"/>
  532. <col ref="execprcpuniqno" visibility="hidden"/>
  533. <col ref="patientid" visibility="hidden"/>
  534. <col ref="patientdob" visibility="hidden"/>
  535. <col ref="patientsex" visibility="hidden"/>
  536. <col ref="rsltrept" visibility="hidden"/>
  537. <script type="javascript" ev:event="onaftersort">
  538. <![CDATA[
  539. dtg_Path.gridToInstance();
  540. ]]>
  541. </script>
  542. <script type="javascript" ev:event="DOMFocusOut">
  543. <![CDATA[
  544. initPopupMenu();
  545. ]]>
  546. </script>
  547. <script type="javascript" ev:event="onclick">
  548. <![CDATA[
  549. if ( dtg_Path.isCell(event.target) && dtg_Path.row >= dtg_Path.fixedRows ) {
  550. model.setValue("/root/send/pathrsltdata", model.getValue("/root/main/datacllct/getPathologyExamLst["+ dtg_Path.row +"]/reptrslt"));
  551. }
  552. model.refresh();
  553. ]]>
  554. </script>
  555. </datagrid>
  556. <line id="line3" class="line_1" style="x1:0px; y1:0px; x2:835px; y2:0px; "/>
  557. <caption id="caption9" class="tit_2" style="left:0px; top:450px; width:155px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">병리 결과데이터</caption>
  558. <textarea id="textarea2" ref="/root/send/pathrsltdata" style="left:0px; top:465px; width:835px; height:157px; padding-left:5; padding-top:5; padding-right:5; padding-bottom:5; "/>
  559. </case>
  560. <case id="case5">
  561. <datagrid id="dtg_ECG" nodeset="/root/main/datacllct/getECGExamLst" caption="^구분^처방일자^검사코드^검사명^처방과^처방의^결과확인일^결과확인의^검사결과보고서" colsep="^" colwidth="26, 40, 80, 100, 200, 90, 80, 90, 90" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="listbox" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:5px; width:835px; height:440px; ">
  562. <col checkvalue="Y,N" ref="check" type="checkbox"/>
  563. <col ref="ioflag" type="combo" style="text-align:center; ">
  564. <choices>
  565. <itemset nodeset="/root/init/baseinfo/initprcpgenrflagcd/M0010">
  566. <label ref="cdnm"/>
  567. <value ref="cdid"/>
  568. </itemset>
  569. </choices>
  570. </col>
  571. <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
  572. <col ref="calcscorcd" style="text-align:left; "/>
  573. <col ref="ordnm" style="text-align:left; "/>
  574. <col ref="depthngnm" style="text-align:center; "/>
  575. <col ref="orddridnm" style="text-align:center; "/>
  576. <col ref="cnfmdt" format="yyyy-mm-dd" style="text-align:center; "/>
  577. <col ref="cnfmmanidnm" style="text-align:center; "/>
  578. <col ref="rsltrept" style="text-align:center; "/>
  579. <col ref="instcd" visibility="hidden" style="text-align:center; "/>
  580. <col ref="orddeptcd" visibility="hidden" style="text-align:center; "/>
  581. <col ref="orddrid" visibility="hidden" style="text-align:center; "/>
  582. <col ref="cnfmmanid" visibility="hidden" style="text-align:center; "/>
  583. <col ref="pid" visibility="hidden"/>
  584. <script type="javascript" ev:event="onaftersort">
  585. <![CDATA[
  586. dtg_ECG.gridToInstance();
  587. ]]>
  588. </script>
  589. <script type="javascript" ev:event="DOMFocusOut">
  590. <![CDATA[
  591. initPopupMenu();
  592. ]]>
  593. </script>
  594. <script type="javascript" ev:event="onclick">
  595. <![CDATA[
  596. model.setValue("/root/send/rsltrept" , "");
  597. if ( dtg_ECG.isCell(event.target) && dtg_ECG.row >= dtg_ECG.fixedRows ) {
  598. model.setValue("/root/send/rsltrept" , model.getValue("/root/main/datacllct/getECGExamLst[" + dtg_ECG.row + "]/rsltrept"));
  599. }
  600. model.refresh();
  601. ]]>
  602. </script>
  603. </datagrid>
  604. <line id="line5" class="line_1" style="x1:0px; y1:0px; x2:835px; y2:0px; "/>
  605. <caption id="caption8" class="tit_2" style="left:0px; top:450px; width:135px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">검사결과보고서</caption>
  606. <textarea id="textarea1" ref="/root/send/rsltrept" style="left:0px; top:465px; width:835px; height:157px; padding-left:5; padding-top:5; padding-right:5; padding-bottom:5; "/>
  607. </case>
  608. <case id="case6">
  609. <datagrid id="dtg_Oprn" nodeset="/root/main/datacllct/getOprnInfoLst" caption="^진료과^집도과^집도의사명^수술확정일자^수술명" colsep="^" colwidth="26, 94, 99, 100, 110, 320, 10, 13, 17, 6, 5" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="listbox" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:5px; width:835px; height:617px; ">
  610. <col checkvalue="Y,N" ref="check" type="checkbox"/>
  611. <col ref="orddeptcdnm" style="text-align:center; "/>
  612. <col ref="perfdeptcdnm" style="text-align:center; "/>
  613. <col ref="perfdridnm" style="text-align:center; "/>
  614. <col ref="opcnfmdd" format="yyyy-mm-dd" style="text-align:center; "/>
  615. <col ref="opnm" style="text-align:left; "/>
  616. <col ref="orddeptcd" visibility="hidden" style="text-align:center; "/>
  617. <col ref="perfdeptcd" visibility="hidden" style="text-align:left; "/>
  618. <col ref="perfdrid" visibility="hidden" style="text-align:left; "/>
  619. <col ref="pid" visibility="hidden"/>
  620. <col ref="oprsrvno" visibility="hidden"/>
  621. <script type="javascript" ev:event="onaftersort">
  622. <![CDATA[
  623. dtg_Oprn.gridToInstance();
  624. ]]>
  625. </script>
  626. <script type="javascript" ev:event="onmousedown">
  627. <![CDATA[
  628. ]]>
  629. </script>
  630. <script type="javascript" ev:event="DOMFocusOut">
  631. <![CDATA[
  632. initPopupMenu();
  633. ]]>
  634. </script>
  635. </datagrid>
  636. <line id="line6" class="line_1" style="x1:0px; y1:0px; x2:835px; y2:0px; "/>
  637. </case>
  638. <case id="case7">
  639. <datagrid id="dtg_Diagnosis" nodeset="/root/main/datacllct/getDiagnosisInfoLst" caption="^진단등록일자^구분^상병코드^TERMENGNM" colsep="^" colwidth="26, 100, 50, 100, 407, 38, 28" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="listbox" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:5px; width:835px; height:617px; ">
  640. <col checkvalue="Y,N" ref="check" type="checkbox"/>
  641. <col ref="diagdd" format="yyyy-mm-dd" style="text-align:center; "/>
  642. <col ref="diagkindcdflag" style="text-align:center; "/>
  643. <col ref="diagcd" style="text-align:center; "/>
  644. <col ref="termengnm" style="text-align:left; "/>
  645. <col ref="pid" visibility="hidden"/>
  646. <col ref="orddd" visibility="hidden"/>
  647. <script type="javascript" ev:event="onaftersort">
  648. <![CDATA[
  649. dtg_Diagnosis.gridToInstance();
  650. ]]>
  651. </script>
  652. <script type="javascript" ev:event="onmousedown">
  653. <![CDATA[
  654. ]]>
  655. </script>
  656. <script type="javascript" ev:event="DOMFocusOut">
  657. <![CDATA[
  658. initPopupMenu();
  659. ]]>
  660. </script>
  661. </datagrid>
  662. <line id="line7" class="line_1" style="x1:0px; y1:0px; x2:835px; y2:0px; "/>
  663. </case>
  664. <case id="case8">
  665. <datagrid id="dtg_Nurse" nodeset="/root/main/datacllct/getNursesInfoLst" caption="^기록일자^기록구분명^혈압상^혈압하^맥박^호흡^체온^체온파트^신장^체중^혈액형^RH^기호정보^입원동기^과거병력^가족병력^최근투약" colsep="^" colwidth="26, 80, 160, 55, 55, 55, 55, 55, 55, 55, 55, 55, 69, 144, 139, 149, 136, 150, 100, 100" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="listbox" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:5px; width:835px; height:380px; ">
  666. <col checkvalue="Y,N" ref="check" type="checkbox"/>
  667. <col ref="recdt" format="yyyy-mm-dd" style="text-align:center; "/>
  668. <col ref="recflagnm" style="text-align:left; "/>
  669. <col ref="highbp" style="text-align:left; "/>
  670. <col ref="lowbp" style="text-align:center; "/>
  671. <col ref="pulse" style="text-align:center; "/>
  672. <col ref="breth" style="text-align:center; "/>
  673. <col ref="bdtp" style="text-align:center; "/>
  674. <col ref="bdtppartcd" style="text-align:center; "/>
  675. <col ref="bdht" style="text-align:center; "/>
  676. <col ref="bdwt" style="text-align:center; "/>
  677. <col ref="bdbtype" style="text-align:center; "/>
  678. <col ref="bdbtyperh" style="text-align:center; "/>
  679. <col ref="gustoinfo" visibility="hidden"/>
  680. <col ref="inmotiveinfo" visibility="hidden"/>
  681. <col ref="pasthistinfo" visibility="hidden"/>
  682. <col ref="famyhistinfo" visibility="hidden"/>
  683. <col ref="rectmedistatinfo" visibility="hidden"/>
  684. <col ref="pid" visibility="hidden"/>
  685. <col ref="hngnm" visibility="hidden"/>
  686. <script type="javascript" ev:event="onaftersort">
  687. <![CDATA[
  688. dtg_Nurse.gridToInstance();
  689. ]]>
  690. </script>
  691. <script type="javascript" ev:event="DOMFocusOut">
  692. <![CDATA[
  693. initPopupMenu();
  694. ]]>
  695. </script>
  696. <script type="javascript" ev:event="onmouseup">
  697. <![CDATA[
  698. if ( dtg_Nurse.rows < 1 ) return;
  699. var i = dtg_Nurse.row;
  700. model.copyNode("/root/main/gustoinfo", "/root/main/datacllct/getNursesInfoLst["+ i+ "]/gustoinfo"); //기호정보
  701. model.copyNode("/root/main/inmotiveinfo", "/root/main/datacllct/getNursesInfoLst["+ i+ "]/inmotiveinfo"); //입원동기
  702. model.copyNode("/root/main/pasthistinfo", "/root/main/datacllct/getNursesInfoLst["+ i+ "]/pasthistinfo"); //과거병력
  703. model.copyNode("/root/main/famyhistinfo", "/root/main/datacllct/getNursesInfoLst["+ i+ "]/famyhistinfo"); //가족병력
  704. model.copyNode("/root/main/rectmedistatinfo", "/root/main/datacllct/getNursesInfoLst["+ i+ "]/rectmedistatinfo"); //최근투약상태
  705. model.refresh();
  706. // model.setValue("/root/main/datacllct/gustoinfo/gusto/smokinfo/smokinfoyn", model.getValue("/root/main/datacllct/getNursesInfoLst["+ i+ "]/gustoinfo/smokinfoy
  707. // var inmotiveinfo = model.getValue("/root/main/datacllct/getNursesInfoLst["+ dtg_Nurse.selectedRow(dtg_Nurse.selectedRows-1)+"]/inmotiveinfo"));
  708. // var pasthistinfo = model.getValue("/root/main/datacllct/getNursesInfoLst["+ dtg_Nurse.selectedRow(dtg_Nurse.selectedRows-1)+"]/pasthistinfo"));
  709. // var famyhistinfo = model.getValue("/root/main/datacllct/getNursesInfoLst["+ dtg_Nurse.selectedRow(dtg_Nurse.selectedRows-1)+"]/famyhistinfo"));
  710. // var rectmedistatinfo = model.getValue("/root/main/datacllct/getNursesInfoLst["+ dtg_Nurse.selectedRow(dtg_Nurse.selectedRows-1)+"]/rectmedistatinfo"));
  711. ]]>
  712. </script>
  713. </datagrid>
  714. <line id="line8" class="line_1" style="x1:0px; y1:0px; x2:835px; y2:0px; "/>
  715. <switch id="switch1" style="left:0px; top:448px; width:810px; height:170px; ">
  716. <case id="case10" selected="true" style="left:0px; top:0px; width:598px; height:173px; ">
  717. <input id="ipt_drunkinfokind" ref="/root/main/gustoinfo/gusto/drunkinfo/drunkinfokind" disabled="true" navindex="38" style="left:176px; top:95px; width:114px; height:19px; text-align:center; "/>
  718. <caption id="cap_drunkinfoterm" style="left:348px; top:96px; width:53px; height:19px; text-align:center; ">기간(년)</caption>
  719. <select1 id="rdo_drunkinfo" ref="/root/main/gustoinfo/gusto/drunkinfo/drunkinfoyn" navindex="37" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:98px; top:98px; width:75px; height:13px; border-style:none; ">
  720. <choices>
  721. <item>
  722. <label>무</label>
  723. <value>1</value>
  724. </item>
  725. <item>
  726. <label>유</label>
  727. <value>2</value>
  728. </item>
  729. </choices>
  730. <script type="javascript" ev:event="xforms-value-changed">
  731. <![CDATA[
  732. if(model.getValue("/root/main/gustoinfo/gusto/drunkinfo/drunkinfoyn") == "2") {
  733. ipt_drunkinfokind.disabled = false;
  734. ipt_drunkinfoterm.disabled = false;
  735. } else {
  736. model.resetInstanceNode("/root/main/gustoinfo/gusto/drunkinfo/drunkinfokind");
  737. model.resetInstanceNode("/root/main/gustoinfo/gusto/drunkinfo/drunkinfoterm");
  738. ipt_drunkinfokind.disabled = true;
  739. ipt_drunkinfoterm.disabled = true;
  740. ipt_drunkinfokind.refresh();
  741. ipt_drunkinfoterm.refresh();
  742. }
  743. ]]>
  744. </script>
  745. </select1>
  746. <input id="ipt_gustofood" ref="/root/main/gustoinfo/gusto/gustofoodinfo/gustofooddetl" disabled="true" navindex="41" style="left:176px; top:119px; width:218px; height:19px; "/>
  747. <caption id="cap_gustofoodyn" class="cell_1" style="left:5px; top:118px; width:90px; height:23px; ">기호식품</caption>
  748. <select1 id="rdo_smokinfo" ref="/root/main/gustoinfo/gusto/smokinfo/smokinfoyn" navindex="33" appearance="full" cellspacing="9" cols="2" rows="2" vcellspacing="2" overflow="visible" style="left:98px; top:5px; width:145px; height:38px; border-style:none; ">
  749. <choices>
  750. <item>
  751. <label>현재흡연</label>
  752. <value>4</value>
  753. </item>
  754. <item>
  755. <label>과거흡연</label>
  756. <value>2</value>
  757. </item>
  758. <item>
  759. <label>비흡연</label>
  760. <value>1</value>
  761. </item>
  762. <item>
  763. <label>확인불능</label>
  764. <value>3</value>
  765. </item>
  766. </choices>
  767. <script type="javascript" ev:event="xforms-value-changed">
  768. <![CDATA[
  769. /*
  770. if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfoyn") == "2") {
  771. ipt_smokinfocnt.disabled = false;
  772. ipt_smokinfocnt.refresh();
  773. } else {
  774. ipt_smokinfocnt.disabled = true;
  775. model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfocnt");
  776. ipt_smokinfocnt.refresh();
  777. }
  778. */
  779. //입원전1개월이내흡연 체크
  780. if(model.getValue("/root/main/datacllct/getNursesInfoLst/gustoinfo/gusto/smokinfo/smokinfoyn") == "2") {
  781. rdo_bfsmokinfo.disabled = false;
  782. } else {
  783. rdo_bfsmokinfo.disabled = true;
  784. model.resetInstanceNode("/root/main/datacllct/getNursesInfoLst/gustoinfo/gusto/smokinfo/bfsmokinfoyn");
  785. }
  786. rdo_bfsmokinfo.refresh();
  787. //금연상담여부컨트롤
  788. /*
  789. if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfoyn") == "4") {
  790. model.setValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstyn", "2");
  791. }else if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfoyn") == "2") {
  792. if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/bfsmokinfoyn") == "Y") {
  793. model.setValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstyn", "2");
  794. } else{
  795. model.setValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstyn", "1");
  796. }
  797. }else{
  798. model.setValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstyn", "1");
  799. }
  800. */
  801. rdo_nosmokcnstyn.dispatch("xforms-value-changed");
  802. rdo_nosmokcnstyn.refresh();
  803. ]]>
  804. </script>
  805. </select1>
  806. <caption id="cap_smokinfo" class="cell_1" style="left:5px; top:5px; width:90px; height:38px; text-align:left; ">흡연정보</caption>
  807. <select1 id="rdo_nosmokcnstyn" ref="/root/main/gustoinfo/gusto/smokinfo/nosmokcnstyn" navindex="34" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:98px; top:49px; width:75px; height:13px; border-style:none; ">
  808. <choices>
  809. <item>
  810. <label>무</label>
  811. <value>1</value>
  812. </item>
  813. <item>
  814. <label>유</label>
  815. <value>2</value>
  816. </item>
  817. </choices>
  818. <script type="javascript" ev:event="xforms-value-changed">
  819. <![CDATA[
  820. if(model.getValue("/root/main/datacllct/getNursesInfoLst/gustoinfo/gusto/smokinfo/nosmokcnstyn") == "1") {
  821. if(model.getValue("/root/main/datacllct/getNursesInfoLst/gustoinfo/gusto/smokinfo/smokinfoyn") == "4"
  822. || model.getValue("/root/main/datacllct/getNursesInfoLst/gustoinfo/gusto/smokinfo/bfsmokinfoyn") == "Y") {
  823. cmb_nosmokcnst.disabled = false;
  824. ipt_nosmokcnstnm.disabled = false;
  825. }else{
  826. cmb_nosmokcnst.disabled = true;
  827. ipt_nosmokcnstnm.disabled = true;
  828. model.resetInstanceNode("/root/main/datacllct/getNursesInfoLst/gustoinfo/gusto/smokinfo/nosmokcnst");
  829. model.resetInstanceNode("/root/main/datacllct/getNursesInfoLst/gustoinfo/gusto/smokinfo/nosmokcnstnm");
  830. }
  831. } else {
  832. cmb_nosmokcnst.disabled = true;
  833. ipt_nosmokcnstnm.disabled = true;
  834. model.resetInstanceNode("/root/main/datacllct/getNursesInfoLst/gustoinfo/gusto/smokinfo/nosmokcnst");
  835. model.resetInstanceNode("/root/main/datacllct/getNursesInfoLst/gustoinfo/gusto/smokinfo/nosmokcnstnm");
  836. }
  837. cmb_nosmokcnst.refresh();
  838. ipt_nosmokcnstnm.refresh();
  839. ]]>
  840. </script>
  841. </select1>
  842. <select1 id="rdo_bfsmokinfo" ref="/root/main/gustoinfo/gusto/smokinfo/bfsmokinfoyn" appearance="full" cellspacing="5" cols="2" overflow="visible" style="left:309px; top:25px; width:70px; height:15px; border-style:none; ">
  843. <choices>
  844. <item>
  845. <label>무</label>
  846. <value>N</value>
  847. </item>
  848. <item>
  849. <label>유</label>
  850. <value>Y</value>
  851. </item>
  852. </choices>
  853. <script type="javascript" ev:event="xforms-value-changed">
  854. <![CDATA[
  855. rdo_smokinfo.dispatch("xforms-value-changed");
  856. ]]>
  857. </script>
  858. </select1>
  859. <select1 id="rdo_gustofoodyn" ref="/root/main/gustoinfo/gusto/gustofoodinfo/gustofoodyn" navindex="40" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:98px; top:122px; width:75px; height:13px; border-style:none; ">
  860. <choices>
  861. <item>
  862. <label>무</label>
  863. <value>1</value>
  864. </item>
  865. <item>
  866. <label>유</label>
  867. <value>2</value>
  868. </item>
  869. </choices>
  870. <script type="javascript" ev:event="xforms-value-changed">
  871. <![CDATA[
  872. if(model.getValue("/root/main/datacllct/getNursesInfoLst/gustoinfo/gusto/gustofoodinfo/gustofoodyn") == "2") {
  873. ipt_gustofood.disabled = false;
  874. } else {
  875. model.resetInstanceNode("/root/main/datacllct/getNursesInfoLst/gustoinfo/gusto/gustofoodinfo/gustofooddetl");
  876. ipt_gustofood.disabled = true;
  877. ipt_gustofood.refresh();
  878. }
  879. ]]>
  880. </script>
  881. </select1>
  882. <caption id="caption32" style="left:249px; top:25px; width:65px; height:15px; ">흡연여부 :</caption>
  883. <caption id="cap_tnsseffcyn" class="cell_1" style="left:5px; top:142px; width:90px; height:23px; ">수혈부작용</caption>
  884. <select1 id="cmb_nosmokcnst" ref="/root/main/gustoinfo/gusto/smokinfo/nosmokcnst" class="combo_default" disabled="true" navindex="35" appearance="minimal" style="left:176px; top:46px; width:218px; height:19px; ">
  885. <choices>
  886. <item>
  887. <label/>
  888. <value>00</value>
  889. </item>
  890. <item>
  891. <label>환자의 신경학적 결함(의식 혼탁 등)으로 인해 금연 상담의 이해가 불가능한 경우</label>
  892. <value>01</value>
  893. </item>
  894. <item>
  895. <label>환자의 신체적/정신적 상태로 인해 흡연이 불가능한 경우</label>
  896. <value>02</value>
  897. </item>
  898. <item>
  899. <label>기타</label>
  900. <value>03</value>
  901. </item>
  902. </choices>
  903. <script type="javascript" ev:event="xforms-value-changed">
  904. <![CDATA[
  905. if(model.getValue("/root/main/datacllct/getNursesInfoLst/gustoinfo/gusto/smokinfo/nosmokcnst") == "03") {
  906. ipt_nosmokcnstnm.disabled = false;
  907. } else {
  908. ipt_nosmokcnstnm.disabled = true;
  909. model.resetInstanceNode("/root/main/datacllct/getNursesInfoLst/gustoinfo/gusto/smokinfo/nosmokcnstnm");
  910. ipt_nosmokcnstnm.refresh();
  911. }
  912. ]]>
  913. </script>
  914. </select1>
  915. <input id="ipt_drunkinfoterm" ref="/root/main/gustoinfo/gusto/drunkinfo/drunkinfoterm" disabled="true" navindex="39" style="left:293px; top:95px; width:55px; height:19px; text-align:center; "/>
  916. <caption id="caption11" class="cell_1" style="left:5px; top:44px; width:90px; height:49px; ">금연상담여부</caption>
  917. <caption id="caption25" style="left:249px; top:5px; width:148px; height:20px; ">입원전1개월이내</caption>
  918. <input id="ipt_tnsseffc" ref="/root/main/gustoinfo/gusto/tnsseffcinfo/tnsseffcdetl" disabled="true" navindex="43" style="left:176px; top:143px; width:218px; height:19px; "/>
  919. <select1 id="rdo_tnsseffcyn" ref="/root/main/gustoinfo/gusto/tnsseffcinfo/tnsseffcyn" navindex="42" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:98px; top:146px; width:75px; height:13px; border-style:none; ">
  920. <choices>
  921. <item>
  922. <label>무</label>
  923. <value>1</value>
  924. </item>
  925. <item>
  926. <label>유</label>
  927. <value>2</value>
  928. </item>
  929. </choices>
  930. <script type="javascript" ev:event="xforms-value-changed">
  931. <![CDATA[
  932. if(model.getValue("/root/main/datacllct/getNursesInfoLst/gustoinfo/gusto/tnsseffcinfo/tnsseffcyn") == "2") {
  933. ipt_tnsseffc.disabled = false;
  934. } else {
  935. model.resetInstanceNode("/root/main/datacllct/getNursesInfoLst/gustoinfo/gusto/tnsseffcinfo/tnsseffcdetl");
  936. ipt_tnsseffc.disabled = true;
  937. ipt_tnsseffc.refresh();
  938. }
  939. ]]>
  940. </script>
  941. </select1>
  942. <caption id="cap_drunkinfo" class="cell_1" style="left:5px; top:94px; width:90px; height:23px; ">음주정보</caption>
  943. <input id="ipt_nosmokcnstnm" ref="/root/main/gustoinfo/gusto/smokinfo/nosmokcnstnm" disabled="true" navindex="36" style="left:97px; top:71px; width:297px; height:19px; "/>
  944. </case>
  945. <case id="case11">
  946. <select1 id="rdo_inmotv" ref="/root/main/inmotiveinfo/inmotive/inmotive1" navindex="20" appearance="full" cellspacing="40" cols="2" overflow="visible" style="left:160px; top:35px; width:131px; height:15px; border-style:none; ">
  947. <choices>
  948. <item>
  949. <label>자의</label>
  950. <value>Y</value>
  951. </item>
  952. <item>
  953. <label>타의</label>
  954. <value>N</value>
  955. </item>
  956. </choices>
  957. </select1>
  958. <select1 id="rdo_illnessflag" ref="/root/main/inmotiveinfo/inmotive/illnessflag" navindex="22" appearance="full" cellspacing="40" cols="2" overflow="visible" style="left:160px; top:150px; width:131px; height:15px; border-style:none; ">
  959. <choices>
  960. <item>
  961. <label>무</label>
  962. <value>N</value>
  963. </item>
  964. <item>
  965. <label>유</label>
  966. <value>Y</value>
  967. </item>
  968. </choices>
  969. </select1>
  970. <caption id="caption12" class="cell_1" style="left:235px; top:5px; width:82px; height:22px; ">발병시간</caption>
  971. <textarea id="tar_inmotv" ref="/root/main/inmotiveinfo/inmotive/inmotive2" navindex="21" scroll="autovscroll" style="left:90px; top:55px; width:330px; height:85px; "/>
  972. <caption id="caption27" class="cell_1" style="left:10px; top:30px; width:80px; height:115px; vertical-align:middle; ">입원동기</caption>
  973. <input id="ipt_attackdt" ref="/root/main/inmotiveinfo/inmotive/attackdt" class="input_default" navindex="19" maxlength="100" format="hh:nn" style="left:320px; top:5px; width:100px; height:19px; "/>
  974. <caption id="cap_attackdd" class="cell_1" style="left:10px; top:5px; width:80px; height:23px; vertical-align:middle; ">발병일자</caption>
  975. <input id="ipt_attackdd" ref="/root/main/inmotiveinfo/inmotive/attackdd" class="input_default" navindex="18" autonext="true" inputtype="date" style="left:90px; top:5px; width:119px; height:19px; "/>
  976. <caption id="caption29" class="cell_1" style="left:10px; top:150px; width:80px; height:23px; vertical-align:middle; ">병에대한인식</caption>
  977. </case>
  978. <case id="case12" style="left:0px; top:0px; width:598px; height:163px; ">
  979. <datagrid id="datagrid2" nodeset="/root/main/pasthistinfo/pasthist/pasthist" scroll="auto" caption="발생일자^병력내역^비고" colsep="^" colwidth="85, 308, 116" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:30px; width:540px; height:125px; ">
  980. <col ref="genrdd" type="inputdate"/>
  981. <col class="gridcombo" ref="histspec" type="combo">
  982. <choices>
  983. <itemset nodeset="/root/init/mlist/M0532">
  984. <label ref="cdnm"/>
  985. <value ref="cdid"/>
  986. </itemset>
  987. </choices>
  988. </col>
  989. <col ref="remfact"/>
  990. </datagrid>
  991. <select id="chk_pasthistyn" ref="/root/main/pasthistinfo/pasthist/pasthistinclyn" navindex="56" overflow="visible" appearance="full" style="left:10px; top:5px; width:70px; height:15px; border-style:none; ">
  992. <choices>
  993. <item>
  994. <label>해당없음</label>
  995. <value>1</value>
  996. </item>
  997. </choices>
  998. <script type="javascript" ev:event="xforms-value-changed">
  999. <![CDATA[
  1000. if(model.getValue("/root/main/histinfo/pasthistinfo/pasthist/pasthistinclyn") == "1") {
  1001. var isEmptyYN = "Y";
  1002. isEmptyYN = isCheckGridDataYN(grd_pasthist);
  1003. var rtn = fSetStatus();
  1004. if(rtn == "6") {
  1005. model.removeNodeset("/root/main/histinfo/pasthistinfo/pasthist/pasthist");
  1006. grd_pasthist.rebuild();
  1007. btn_pasthistadd.disabled = true;
  1008. btn_pasthistdel.disabled = true;
  1009. } else if(rtn == "7") {
  1010. model.setValue("/root/main/histinfo/pasthistinfo/pasthist/pasthistinclyn", "");
  1011. chk_pasthistyn.refresh();
  1012. }
  1013. } else {
  1014. btn_pasthistadd.disabled = false;
  1015. btn_pasthistdel.disabled = false;
  1016. grd_pasthist.addRow();
  1017. }
  1018. ]]>
  1019. </script>
  1020. <script type="javascript" ev:event="xforms-select">
  1021. <![CDATA[
  1022. status = "click";
  1023. ]]>
  1024. </script>
  1025. </select>
  1026. </case>
  1027. <case id="case13">
  1028. <datagrid id="grd_famyhist" nodeset="/root/main/famyhistinfo/famyhist/famyhist" scroll="auto" caption="관계^생존^병력내역^비고" colsep="^" colwidth="60, 63, 244, 95" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:30px; width:505px; height:125px; ">
  1029. <col class="gridcombo" ref="famyrel" type="combo">
  1030. <choices>
  1031. <itemset nodeset="/root/init/mlist/M0072">
  1032. <label ref="cdnm"/>
  1033. <value ref="cdid"/>
  1034. </itemset>
  1035. </choices>
  1036. </col>
  1037. <col class="gridcombo" ref="existyn" type="combo">
  1038. <choices>
  1039. <itemset nodeset="/root/init/mlist/M0088">
  1040. <label ref="cdnm"/>
  1041. <value ref="cdid"/>
  1042. </itemset>
  1043. </choices>
  1044. </col>
  1045. <col class="gridcombo" ref="histspec" type="combo">
  1046. <choices>
  1047. <itemset nodeset="/root/init/mlist/M0368">
  1048. <label ref="cdnm"/>
  1049. <value ref="cdid"/>
  1050. </itemset>
  1051. </choices>
  1052. </col>
  1053. <col ref="remfact" type="input"/>
  1054. </datagrid>
  1055. <select id="checkbox1" ref="/root/main/famyhistinfo/famyhist/famyhistinclyn" navindex="56" overflow="visible" appearance="full" style="left:10px; top:5px; width:70px; height:15px; border-style:none; ">
  1056. <choices>
  1057. <item>
  1058. <label>해당없음</label>
  1059. <value>1</value>
  1060. </item>
  1061. </choices>
  1062. <script type="javascript" ev:event="xforms-value-changed">
  1063. <![CDATA[
  1064. if(model.getValue("/root/main/histinfo/pasthistinfo/pasthist/pasthistinclyn") == "1") {
  1065. var isEmptyYN = "Y";
  1066. isEmptyYN = isCheckGridDataYN(grd_pasthist);
  1067. var rtn = fSetStatus();
  1068. if(rtn == "6") {
  1069. model.removeNodeset("/root/main/histinfo/pasthistinfo/pasthist/pasthist");
  1070. grd_pasthist.rebuild();
  1071. btn_pasthistadd.disabled = true;
  1072. btn_pasthistdel.disabled = true;
  1073. } else if(rtn == "7") {
  1074. model.setValue("/root/main/histinfo/pasthistinfo/pasthist/pasthistinclyn", "");
  1075. chk_pasthistyn.refresh();
  1076. }
  1077. } else {
  1078. btn_pasthistadd.disabled = false;
  1079. btn_pasthistdel.disabled = false;
  1080. grd_pasthist.addRow();
  1081. }
  1082. ]]>
  1083. </script>
  1084. <script type="javascript" ev:event="xforms-select">
  1085. <![CDATA[
  1086. status = "click";
  1087. ]]>
  1088. </script>
  1089. </select>
  1090. </case>
  1091. <case id="case14" style="left:0px; top:0px; width:798px; height:168px; ">
  1092. <select id="checkbox2" ref="/root/main/rectmedistatinfo/rectmedistat/rectmedistatinfoinclyn" navindex="56" overflow="visible" appearance="full" style="left:15px; top:5px; width:70px; height:15px; border-style:none; ">
  1093. <choices>
  1094. <item>
  1095. <label>해당없음</label>
  1096. <value>1</value>
  1097. </item>
  1098. </choices>
  1099. <script type="javascript" ev:event="xforms-value-changed">
  1100. <![CDATA[
  1101. if(model.getValue("/root/main/histinfo/pasthistinfo/pasthist/pasthistinclyn") == "1") {
  1102. var isEmptyYN = "Y";
  1103. isEmptyYN = isCheckGridDataYN(grd_pasthist);
  1104. var rtn = fSetStatus();
  1105. if(rtn == "6") {
  1106. model.removeNodeset("/root/main/histinfo/pasthistinfo/pasthist/pasthist");
  1107. grd_pasthist.rebuild();
  1108. btn_pasthistadd.disabled = true;
  1109. btn_pasthistdel.disabled = true;
  1110. } else if(rtn == "7") {
  1111. model.setValue("/root/main/histinfo/pasthistinfo/pasthist/pasthistinclyn", "");
  1112. chk_pasthistyn.refresh();
  1113. }
  1114. } else {
  1115. btn_pasthistadd.disabled = false;
  1116. btn_pasthistdel.disabled = false;
  1117. grd_pasthist.addRow();
  1118. }
  1119. ]]>
  1120. </script>
  1121. <script type="javascript" ev:event="xforms-select">
  1122. <![CDATA[
  1123. status = "click";
  1124. ]]>
  1125. </script>
  1126. </select>
  1127. <caption id="caption18" class="cell_1" style="left:10px; top:30px; width:215px; height:23px; ">병원도착전 24시간내 항생제 투약여부</caption>
  1128. <select1 id="cmb_antibiodrugyn" ref="/root/main/rectmedistatinfo/rectmedistat/antibiodrugyn" navindex="16" appearance="minimal" style="left:230px; top:30px; width:172px; height:19px; text-align:center; ">
  1129. <choices>
  1130. <item>
  1131. <label>Y</label>
  1132. <value>Y</value>
  1133. </item>
  1134. <item>
  1135. <label>N</label>
  1136. <value>N</value>
  1137. </item>
  1138. <item>
  1139. <label>확인불가</label>
  1140. <value>U</value>
  1141. </item>
  1142. </choices>
  1143. </select1>
  1144. <datagrid id="grd_rectmedistat" nodeset="/root/main/rectmedistatinfo/rectmedistat/rectmedistat" scroll="auto" caption="약명^복용법(용도/용량/용법)^진료기관" colsep="^" colwidth="119, 222, 101" mergecellsfixedrows="bycolrec" rowsep="|" style="left:10px; top:55px; width:465px; height:95px; ">
  1145. <col ref="drugnm" type="input"/>
  1146. <col ref="direc" type="input"/>
  1147. <col ref="orddept" type="input"/>
  1148. <script type="javascript" ev:event="onclick">
  1149. <![CDATA[
  1150. grd_rectmedistat.editCell();
  1151. ]]>
  1152. </script>
  1153. <script type="javascript" ev:event="onkeydown">
  1154. <![CDATA[
  1155. if(event.keyCode == 9) {
  1156. grd_rectmedistat.editCell();
  1157. }
  1158. ]]>
  1159. </script>
  1160. </datagrid>
  1161. </case>
  1162. </switch>
  1163. <button id="btn_gusto" class="btn_sw" group="tab2" selected="false" style="left:0px; top:420px; width:90px; height:22px; ">
  1164. <caption>기호정보</caption>
  1165. <script type="javascript" ev:event="onclick">
  1166. <![CDATA[
  1167. model.toggle("case10");
  1168. ]]>
  1169. </script>
  1170. </button>
  1171. <line id="line16" class="line_1" style="x1:0px; y1:445px; x2:845px; y2:445px; "/>
  1172. <button id="btn_inmotive" class="btn_sw" group="tab2" selected="false" style="left:90px; top:420px; width:90px; height:22px; ">
  1173. <caption>입원동기</caption>
  1174. <script type="javascript" ev:event="onclick">
  1175. <![CDATA[
  1176. fClear();
  1177. model.toggle("case11");
  1178. ]]>
  1179. </script>
  1180. </button>
  1181. <button id="btn_pasthist" class="btn_sw" group="tab2" selected="false" style="left:180px; top:420px; width:90px; height:22px; ">
  1182. <caption>과거병력</caption>
  1183. <script type="javascript" ev:event="onclick">
  1184. <![CDATA[
  1185. fClear();
  1186. model.toggle("case12");
  1187. ]]>
  1188. </script>
  1189. </button>
  1190. <button id="btn_famyhist" class="btn_sw" group="tab2" selected="false" style="left:270px; top:420px; width:90px; height:22px; ">
  1191. <caption>가족병력</caption>
  1192. <script type="javascript" ev:event="onclick">
  1193. <![CDATA[
  1194. fClear();
  1195. model.toggle("case13");
  1196. ]]>
  1197. </script>
  1198. </button>
  1199. <button id="btn_rectmed" class="btn_sw" group="tab2" selected="false" style="left:360px; top:420px; width:90px; height:22px; ">
  1200. <caption>최근투약상태</caption>
  1201. <script type="javascript" ev:event="onclick">
  1202. <![CDATA[
  1203. fClear();
  1204. model.toggle("case14");
  1205. ]]>
  1206. </script>
  1207. </button>
  1208. </case>
  1209. <case id="case9">
  1210. <datagrid id="dtg_Rdtn" nodeset="/root/main/datacllct/getRdtnTrtmntLst" caption="^Effective Date^RXSITE^진단명^TOTAL DOSE^TUMOR DOSE" colsep="^" colwidth="26, 100, 90, 250, 100, 100, 34, 26" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="listbox" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:5px; width:835px; height:617px; ">
  1211. <col checkvalue="Y,N" ref="check" type="checkbox"/>
  1212. <col ref="effdate" format="yyyy-mm-dd" style="text-align:center; "/>
  1213. <col ref="rxsite" style="text-align:left; "/>
  1214. <col ref="diagcdnm" style="text-align:left; "/>
  1215. <col ref="totdose" style="text-align:center; "/>
  1216. <col ref="tumordose" style="text-align:center; "/>
  1217. <col ref="pid" visibility="hidden"/>
  1218. <col ref="hngnm" visibility="hidden"/>
  1219. <script type="javascript" ev:event="onaftersort">
  1220. <![CDATA[
  1221. dtg_Rdtn.gridToInstance();
  1222. ]]>
  1223. </script>
  1224. <script type="javascript" ev:event="onmousedown">
  1225. <![CDATA[
  1226. ]]>
  1227. </script>
  1228. <script type="javascript" ev:event="DOMFocusOut">
  1229. <![CDATA[
  1230. initPopupMenu();
  1231. ]]>
  1232. </script>
  1233. </datagrid>
  1234. <line id="line10" class="line_1" style="x1:0px; y1:0px; x2:835px; y2:0px; "/>
  1235. </case>
  1236. </switch>
  1237. <button id="button7" class="btn_sw" group="tab2" selected="false" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:410px; top:98px; width:75px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
  1238. <caption>진단검사</caption>
  1239. <toggle case="case2" ev:event="onclick"/>
  1240. <script type="javascript" ev:event="DOMActivate">
  1241. <![CDATA[
  1242. model.toggle("case2");
  1243. ]]>
  1244. </script>
  1245. </button>
  1246. <button id="button61" class="icon_search" navindex="2" style="left:212px; top:34px; width:16px; height:16px; ">
  1247. <caption/>
  1248. <script type="javascript" ev:event="onclick">
  1249. <![CDATA[
  1250. model.makeValue("/root/send/reqdata/srchcond","2");
  1251. modal("SPPMC02500", "", "200", "200", "SPPMC02500","/root/send/reqdata","/root/send");
  1252. if (model.getValue("/root/main/popupendflag") != "cancel"){
  1253. model.setValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid") );
  1254. model.setValue("/root/send/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm") );
  1255. model.setValue("/root/send/sna", model.getValue("/root/main/patinfo/patinfolist/sex") + " / " + model.getValue("/root/main/patinfo/patinfolist/age"));
  1256. model.setValue("/root/send/brthdd", model.getValue("/root/main/patinfo/patinfolist/brthdd") );
  1257. model.setValue("/root/send/rrgstno", model.getValue("/root/main/patinfo/patinfolist/rrgstno1") + "-" + model.getValue("/root/main/patinfo/patinfolist/rrgstno3"));
  1258. model.setValue("/root/send/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm") );
  1259. model.setValue("/root/send/data/srchsex", model.getValue("/root/main/patinfo/patinfolist/sex"));
  1260. model.setValue("/root/send/data/srchrrgstno1", model.getValue("/root/main/patinfo/patinfolist/rrgstno1"));
  1261. }
  1262. model.refresh();
  1263. ]]>
  1264. </script>
  1265. </button>
  1266. <output id="opt_rrgstno" ref="/root/send/rrgstno" class="output_search" visibility="visible" inputtype="date" appearance="output" style="left:335px; top:56px; width:110px; height:19px; "/>
  1267. <button id="button1" class="btn_sw" group="tab2" selected="false" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:485px; top:98px; width:80px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
  1268. <caption>미생물검사</caption>
  1269. <toggle case="case3" ev:event="onclick"/>
  1270. <script type="javascript" ev:event="DOMActivate">
  1271. <![CDATA[
  1272. model.toggle("case3");
  1273. ]]>
  1274. </script>
  1275. </button>
  1276. <button id="btn_search" class="btn1_letter4" visibility="hidden" style="left:950px; top:55px; width:80px; height:22px; ">
  1277. <caption>자료전송</caption>
  1278. <script type="javascript" ev:event="DOMActivate">
  1279. <![CDATA[
  1280. if(model.getValue("/root/send/pid") != "" && model.getValue("/root/send/hngnm") != "" )
  1281. {
  1282. model.makeValue("/root/main/datacllct/patinfo/pid", model.getValue( "/root/send/pid" ));
  1283. model.makeValue("/root/main/datacllct/patinfo/hngnm", model.getValue( "/root/send/hngnm" ));
  1284. model.makeValue("/root/main/datacllct/patinfo/check", "Y");
  1285. var nodeList0 = instance1.selectNodes("/root/main/datacllct/patinfo[check='Y']");
  1286. var nodeList1 = instance1.selectNodes("/root/main/datacllct/getDiagnExamLst[check='Y']");
  1287. var nodeList2 = instance1.selectNodes("/root/main/datacllct/getPacsExamLst[check='Y']");
  1288. var nodeList3 = instance1.selectNodes("/root/main/datacllct/getMicrobeExamLst[check='Y']");
  1289. var nodeList4 = instance1.selectNodes("/root/main/datacllct/getPathologyExamLst[check='Y']");
  1290. var nodeList5 = instance1.selectNodes("/root/main/datacllct/getECGExamLst[check='Y']");
  1291. var nodeList6 = instance1.selectNodes("/root/main/datacllct/getOprnInfoLst[check='Y']");
  1292. var nodeList7 = instance1.selectNodes("/root/main/datacllct/getDiagnosisInfoLst[check='Y']");
  1293. var nodeList8 = instance1.selectNodes("/root/main/datacllct/getNursesInfoLst[check='Y']");
  1294. var nodeList9 = instance1.selectNodes("/root/main/datacllct/getRdtnTrtmntLst[check='Y']");
  1295. var rCSV0 = getNodeListCSV(nodeList0);
  1296. var rCSV1 = getNodeListCSV(nodeList1);
  1297. var rCSV2 = getNodeListCSV(nodeList2);
  1298. var rCSV3 = getNodeListCSV(nodeList3);
  1299. var rCSV4 = getNodeListCSV(nodeList4);
  1300. var rCSV5 = getNodeListCSV(nodeList5);
  1301. var rCSV6 = getNodeListCSV(nodeList6);
  1302. var rCSV7 = getNodeListCSV(nodeList7);
  1303. var rCSV8 = getNodeListCSV(nodeList8);
  1304. var rCSV9 = getNodeListCSV(nodeList9);
  1305. model.setValue("/root/send/deldata/patinfo", rCSV0);
  1306. model.setValue("/root/send/deldata/diagnexam", rCSV1);
  1307. model.setValue("/root/send/deldata/pacsexam", rCSV2);
  1308. model.setValue("/root/send/deldata/microbeexam", rCSV3);
  1309. model.setValue("/root/send/deldata/pathologyexam", rCSV4);
  1310. model.setValue("/root/send/deldata/ecgexam", rCSV5);
  1311. model.setValue("/root/send/deldata/oprninfo", rCSV6);
  1312. model.setValue("/root/send/deldata/diagnosisinfo", rCSV7);
  1313. model.setValue("/root/send/deldata/nursesinfo", rCSV8);
  1314. model.setValue("/root/send/deldata/rdtntrtmnt", rCSV9);
  1315. submit("TXAEI00100");
  1316. }
  1317. model.refresh();
  1318. ]]>
  1319. </script>
  1320. </button>
  1321. <button id="button2" class="btn1_letter4" style="left:1100px; top:29px; width:80px; height:22px; ">
  1322. <caption>자료수집</caption>
  1323. <script type="javascript" ev:event="DOMActivate">
  1324. <![CDATA[
  1325. button3.dispatch("DOMActivate");
  1326. model.removenode("/root/main/datacllct");
  1327. model.setValue("/root/send/data/srchpatnm", model.getValue("/root/send/hngnm"));
  1328. model.setValue("/root/send/data/srchpid", model.getValue("/root/send/pid"));
  1329. model.setValue("/root/send/data/onlyret", "N"); //20140819 kya 수집+조회
  1330. model.makeNode("/root/main/datacllct");
  1331. if(model.getValue("/root/send/pid") != "" && model.getValue("/root/send/hngnm") != "" )
  1332. {
  1333. if( submit("TRAEI00100") );
  1334. { // 전체선택
  1335. grd_rsrvpatinfolist.fixedcellischeck(0 , 0) = true;
  1336. dtg_Pacs.fixedcellischeck(0 , 0) = true;
  1337. dtg_Diag.fixedcellischeck(0 , 0) = true;
  1338. dtg_Micro.fixedcellischeck(0 , 0) = true;
  1339. dtg_Path.fixedcellischeck(0 , 0) = true;
  1340. dtg_ECG.fixedcellischeck(0 , 0) = true;
  1341. dtg_Oprn.fixedcellischeck(0 , 0) = true;
  1342. dtg_Diagnosis.fixedcellischeck(0 , 0) = true;
  1343. dtg_Nurse.fixedcellischeck(0 , 0) = true;
  1344. dtg_Rdtn.fixedcellischeck(0 ,0 ) = true;
  1345. }
  1346. }
  1347. model.refresh();
  1348. ]]>
  1349. </script>
  1350. </button>
  1351. <line id="line13" class="line_4" style="x1:1080px; y1:30px; x2:1080px; y2:73px; "/>
  1352. <caption id="caption2" class="search_name" style="left:465px; top:56px; width:105px; height:17px; text-align:center; vertical-align:middle; ">생년월일 :</caption>
  1353. <input id="ipt_date1" ref="/root/send/brthdd" class="input_default" disabled="true" inputtype="date" style="left:571px; top:56px; width:115px; height:19px; border-width:2px; "/>
  1354. <button id="button3" class="btn1_letter2" visibility="hidden" style="left:150px; top:55px; width:80px; height:22px; ">
  1355. <caption>조회</caption>
  1356. <script type="javascript" ev:event="DOMActivate">
  1357. <![CDATA[
  1358. model.setValue("/root/send/srchcond", "1");
  1359. if( submit("TRPMC02500")) {
  1360. model.setValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid") );
  1361. model.setValue("/root/send/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm") );
  1362. model.setValue("/root/send/sna", model.getValue("/root/main/patinfo/patinfolist/sex") + " / " + model.getValue("/root/main/patinfo/patinfolist/age"));
  1363. model.setValue("/root/send/brthdd", model.getValue("/root/main/patinfo/patinfolist/brthdd") );
  1364. model.setValue("/root/send/rrgstno", model.getValue("/root/main/patinfo/patinfolist/rrgstno1") + "-" + model.getValue("/root/main/patinfo/patinfolist/rrgstno3"));
  1365. model.setValue("/root/send/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm") );
  1366. model.setValue("/root/send/data/srchsex", model.getValue("/root/main/patinfo/patinfolist/sex"));
  1367. model.setValue("/root/send/data/srchrrgstno1", model.getValue("/root/main/patinfo/patinfolist/rrgstno1"));
  1368. }
  1369. model.refresh();
  1370. ]]>
  1371. </script>
  1372. </button>
  1373. <button id="button4" class="btn_sw" group="tab2" selected="false" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:565px; top:98px; width:75px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
  1374. <caption>병리검사</caption>
  1375. <toggle case="case4" ev:event="onclick"/>
  1376. <script type="javascript" ev:event="DOMActivate">
  1377. <![CDATA[
  1378. fClear();
  1379. model.toggle("case4");
  1380. ]]>
  1381. </script>
  1382. </button>
  1383. <button id="button5" class="btn_sw" group="tab2" selected="false" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:640px; top:98px; width:120px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
  1384. <caption>심전도/폐기능검사</caption>
  1385. <toggle case="case5" ev:event="onclick"/>
  1386. <script type="javascript" ev:event="DOMActivate">
  1387. <![CDATA[
  1388. fClear();
  1389. model.toggle("case5");
  1390. ]]>
  1391. </script>
  1392. </button>
  1393. <button id="button6" class="btn_sw" group="tab2" selected="false" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:760px; top:98px; width:75px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
  1394. <caption>수술정보</caption>
  1395. <toggle case="case6" ev:event="onclick"/>
  1396. <script type="javascript" ev:event="DOMActivate">
  1397. <![CDATA[
  1398. model.toggle("case6");
  1399. ]]>
  1400. </script>
  1401. </button>
  1402. <button id="button8" class="btn_sw" group="tab2" selected="false" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:835px; top:98px; width:75px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
  1403. <caption>상병정보</caption>
  1404. <toggle case="case7" ev:event="onclick"/>
  1405. <script type="javascript" ev:event="DOMActivate">
  1406. <![CDATA[
  1407. model.toggle("case7");
  1408. ]]>
  1409. </script>
  1410. </button>
  1411. <button id="button9" class="btn_sw" group="tab2" selected="false" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:910px; top:98px; width:85px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
  1412. <caption>간호정보조사</caption>
  1413. <toggle case="case8" ev:event="onclick"/>
  1414. <script type="javascript" ev:event="DOMActivate">
  1415. <![CDATA[
  1416. model.toggle("case8");
  1417. btn_gusto.selected = true;
  1418. ]]>
  1419. </script>
  1420. </button>
  1421. <button id="button10" class="btn_sw" group="tab2" selected="false" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:995px; top:98px; width:85px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
  1422. <caption>방사선치료</caption>
  1423. <toggle case="case9" ev:event="onclick"/>
  1424. <script type="javascript" ev:event="DOMActivate">
  1425. <![CDATA[
  1426. model.toggle("case9");
  1427. ]]>
  1428. </script>
  1429. </button>
  1430. <caption id="caption3" class="search_name" style="left:705px; top:33px; width:90px; height:17px; text-align:center; vertical-align:middle; ">기 간 :</caption>
  1431. <input id="ipt_todd" ref="/root/send/data/srchtodd" class="input_default" inputtype="date" style="left:915px; top:33px; width:100px; height:19px; "/>
  1432. <caption id="caption6" class="search_no_b" style="left:900px; top:33px; width:12px; height:17px; ">~</caption>
  1433. <input id="ipt_fromdd" ref="/root/send/data/srchfromdd" class="input_default" inputtype="date" style="left:797px; top:32px; width:100px; height:19px; "/>
  1434. <button id="btn_excsave" class="btn3_letter4" visibility="visible" style="left:1100px; top:95px; width:80px; height:22px; ">
  1435. <caption>엑셀저장</caption>
  1436. <script type="javascript" ev:event="DOMActivate">
  1437. <![CDATA[
  1438. // var fileName = window.fileDialog("save", ",", false, "", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  1439. /**var fileName = window.fileDialog("save",",",false,"excel","xls","All File(*.*)|*.*|Excel File(*.xls)|*.xls"); // 2009-07-01 엑셀저장 두번째 저장 실패 오류 확인 두번째 테스트
  1440. if (fileName != "")
  1441. {
  1442. dtg_Pacs.saveExcel(fileName);
  1443. }
  1444. **/
  1445. saveExcelAll( "dtg_Pacs|영상검사", "dtg_Diag|진단검사", "dtg_Micro|미생물검사", "dtg_Path|병리검사", "dtg_ECG|심전도검사", "dtg_Oprn|수술정보","dtg_Diagnosis|상병정보","dtg_Nurse|간호정보조사","dtg_Rdtn|방사선치료",true);
  1446. //saveExcelAll( "dtg_Oprn|수술정보","dtg_Diagnosis|상병정보","dtg_Nurse|간호정보조사","dtg_Rdtn|방사선치료", true);
  1447. ]]>
  1448. </script>
  1449. </button>
  1450. <button id="button11" class="btn1_letter4" style="left:1100px; top:55px; width:80px; height:22px; ">
  1451. <caption>자료조회</caption>
  1452. <script type="javascript" ev:event="DOMActivate">
  1453. <![CDATA[
  1454. button3.dispatch("DOMActivate");
  1455. model.removenode("/root/main/datacllct");
  1456. model.setValue("/root/send/data/srchpatnm", model.getValue("/root/send/hngnm"));
  1457. model.setValue("/root/send/data/srchpid", model.getValue("/root/send/pid"));
  1458. model.setValue("/root/send/data/onlyret", "Y"); //조회만함
  1459. model.makeNode("/root/main/datacllct");
  1460. if(model.getValue("/root/send/pid") != "" && model.getValue("/root/send/hngnm") != "" )
  1461. {
  1462. if( submit("TRAEI00100") );
  1463. { // 전체선택
  1464. grd_rsrvpatinfolist.fixedcellischeck(0 , 0) = true;
  1465. dtg_Pacs.fixedcellischeck(0 , 0) = true;
  1466. dtg_Diag.fixedcellischeck(0 , 0) = true;
  1467. dtg_Micro.fixedcellischeck(0 , 0) = true;
  1468. dtg_Path.fixedcellischeck(0 , 0) = true;
  1469. dtg_ECG.fixedcellischeck(0 , 0) = true;
  1470. dtg_Oprn.fixedcellischeck(0 , 0) = true;
  1471. dtg_Diagnosis.fixedcellischeck(0 , 0) = true;
  1472. dtg_Nurse.fixedcellischeck(0 , 0) = true;
  1473. dtg_Rdtn.fixedcellischeck(0 ,0 ) = true;
  1474. }
  1475. }
  1476. model.refresh();
  1477. ]]>
  1478. </script>
  1479. </button>
  1480. </xhtml:body>
  1481. </xhtml:html>