SMMNW15200_정맥염관찰기록.xrw 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587
  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. <wardcd/>
  12. <genrdd/>
  13. <settingrnid/>
  14. <stdradio>2</stdradio>
  15. <pid/>
  16. <zonecd/>
  17. <indsch/>
  18. <patientnm/>
  19. </cond>
  20. <wardpatinfo>
  21. </wardpatinfo>
  22. <veininfo/>
  23. <paminfo/>
  24. <patindschinfo/>
  25. </main>
  26. <send>
  27. <savedata/>
  28. </send>
  29. <hidden>
  30. <veingrup_sameinflevl_popmenu>
  31. <menu>
  32. <name>사정</name>
  33. <func>fAddSameLevlItem</func>
  34. </menu>
  35. <menu>
  36. <name>종료</name>
  37. <func>fAddSameLevlItemEnd</func>
  38. </menu>
  39. </veingrup_sameinflevl_popmenu>
  40. <codelist>
  41. <!-- 그리드 팝업 단계 인스턴스 -->
  42. <getVOStage>
  43. <cd/>
  44. <cdnm/>
  45. </getVOStage>
  46. </codelist>
  47. <main>
  48. <veininfo/>
  49. </main>
  50. </hidden>
  51. <temp/>
  52. <tmp/>
  53. <codeinfo/>
  54. <viewinfo/>
  55. </root>
  56. </instance>
  57. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  58. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  59. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  60. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  61. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  62. <script type="javascript" src="../../../emr/wardcareweb/js/SMMNW15200.js"/>
  63. <script type="javascript" src="../../../emr/carecomweb/js/ENRSignEngine.js"/>
  64. <script type="javascript" src="../../../emr/carerecweb/js/CareRec.js"/>
  65. <script type="javascript" ev:event="xforms-ready">
  66. <![CDATA[
  67. finit();
  68. ]]>
  69. </script>
  70. <!-- 정맥염관찰기록 콤보 공통코드 조회 submission -->
  71. <submission id="TRMNW15206" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/codelist"/>
  72. <submission id="TRMNW11001" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/tmp/deptinfo"/>
  73. <submission id="TRMNW10910" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/settinginfo"/>
  74. <submission id="TRMNW15202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/wardpatinfo"/>
  75. <submission id="TRMNW15203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/veininfo"/>
  76. <!-- 정맥염관찰기록 입력/수정/삭제 submisiion -->
  77. <submission id="TXMNW15200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/temp/veininfo"/>
  78. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" replace="instance"/>
  79. <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/codeinfo/codelist"/>
  80. <submission id="TRMNR06302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/zoneinfo"/>
  81. <!-- 통합기록조회용 인증데이터 조회 -->
  82. <submission id="TRMNW15205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/viewinfo/viewveingrup"/>
  83. <submission id="TXMNW04713" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/veininfo"/>
  84. <submission id="TRMNW04716" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/patindschinfo"/>
  85. <submission id="TRMNW04707" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="root/main/patinfolist"/>
  86. </model>
  87. </xhtml:head>
  88. <xhtml:body overflow="visible" scroll="autovscroll" style="font-family:굴림; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  89. <group id="group5" scroll="auto" style="left:0px; top:0px; width:1200px; height:745px; font-family:굴림; ">
  90. <group id="grp_sea" style="left:0px; top:20px; width:750px; height:40px; font-family:굴림; vertical-align:top; ">
  91. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:750px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  92. <caption id="caption17" class="search_name" style="left:350px; top:10px; width:90px; height:17px; font-family:굴림; ">기준일자 :</caption>
  93. <input id="ipt_genrdd" ref="/root/main/cond/genrdd" class="input_search" inputtype="date" style="left:445px; top:10px; width:90px; height:19px; font-family:굴림; "/>
  94. <select1 id="cmb_settingrn" ref="/root/main/cond/settingrnid" class="combo_search" appearance="minimal" style="left:270px; top:10px; width:75px; height:19px; font-family:굴림; ">
  95. <choices>
  96. <itemset nodeset="/root/init/settinginfo/settingrn">
  97. <label ref="settingrnnm"/>
  98. <value ref="settingrnid"/>
  99. </itemset>
  100. </choices>
  101. <script type="javascript" ev:event="xforms-value-changed">
  102. <![CDATA[
  103. fGetWardPatList() ;
  104. ]]>
  105. </script>
  106. </select1>
  107. <caption id="cap_settingrn" class="search_name" style="left:190px; top:10px; width:80px; height:17px; font-family:굴림; ">내환자 :</caption>
  108. <button id="button1" class="btn1_letter2" style="left:690px; top:10px; width:56px; height:22px; font-family:굴림; ">
  109. <caption>조회</caption>
  110. <script type="javascript" ev:event="DOMActivate">
  111. <![CDATA[
  112. fGetWardPatList() ;
  113. ]]>
  114. </script>
  115. </button>
  116. <line id="line1" class="line_4" style="x1:680px; y1:10px; x2:680px; y2:30px; font-family:굴림; "/>
  117. <input id="ipt_pid" ref="/root/main/cond/pid" class="input_search" visibility="hidden" maxlength="10" style="left:170px; top:10px; width:54px; height:19px; ">
  118. <script type="javascript" ev:event="onkeyup">
  119. <![CDATA[
  120. if(event.keyCode == "13") {
  121. model.removeNodeset("/root/main/veininfo/veinlist");
  122. model.setValue("/root/main/cond/patientnm","");
  123. cmb_patientnm.refresh();
  124. setInputNodeCurText();
  125. var pid = model.getValue("/root/main/cond/pid");
  126. if(pid == "" ){
  127. messageBox("등록번호","C001");
  128. model.setfocus("ipt_pid");
  129. return;
  130. }else{
  131. fGetPidWardInfo(pid);
  132. model.makeValue("/root/send/reqdata/pid", pid);
  133. if(submit("TRMNW04716") == true){
  134. var cnt = getNodesetCount("/root/main/patindschinfo/patindschlist");
  135. if(cnt > 0){
  136. group2.visible = true;
  137. }
  138. }
  139. }
  140. }
  141. ]]>
  142. </script>
  143. </input>
  144. <select1 id="cmb_patientnm" ref="/root/main/cond/patientnm" class="combo_search" disabled="true" visibility="hidden" appearance="minimal" style="left:95px; top:10px; width:70px; height:19px; ">
  145. <choices>
  146. <itemset nodeset="root/main/patinfo/patinfolist">
  147. <label ref="hngnm"/>
  148. <value ref="pid"/>
  149. </itemset>
  150. </choices>
  151. <script type="javascript" ev:event="xforms-value-changed">
  152. <![CDATA[
  153. // fSearch();
  154. //
  155. // var sPid = model.getValue(ipt_pid.attribute('ref'));
  156. // var sOrdtype = model.getValue("/root/patientgrup/patientgruplist[pid ='"+sPid+"']/ordtype" );
  157. // var sIndd = model.getValue("/root/patientgrup/patientgruplist[pid ='"+sPid+"']/indd" );
  158. // var sCretno = model.getValue("/root/patientgrup/patientgruplist[pid ='"+sPid+"']/cretno" );
  159. // var sInstcd = model.getValue("/root/patientgrup/patientgruplist[pid ='"+sPid+"']/instcd" );
  160. //
  161. // param = sOrdtype + "▦"
  162. // + sPid + "▦"
  163. // + sIndd + "▦"
  164. // + sCretno + "▦"
  165. // + sInstcd + "▦"
  166. // + "▦" ;
  167. // setParameter("condparam", param);
  168. // modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
  169. // model.makeNode(xPamInfoPath);
  170. // var node = getPatientInfoDetails(xPamInfoPath) ;
  171. ]]>
  172. </script>
  173. </select1>
  174. <caption id="ctn_ward" class="search_name" style="left:5px; top:10px; width:70px; height:17px; font-family:굴림; ">병 동 :</caption>
  175. <caption id="ctn_pid" class="search_name" visibility="hidden" style="left:5px; top:10px; width:85px; height:17px; font-family:굴림체; ">환자정보:</caption>
  176. <select1 id="cmb_ward" ref="/root/main/cond/wardcd" class="combo_search" appearance="minimal" editmode="search" itemcount="40" style="left:75px; top:10px; width:105px; height:19px; font-family:굴림; ">
  177. <choices>
  178. <itemset nodeset="/root/init/dept/dept">
  179. <label ref="depthngnm"/>
  180. <value ref="deptcd"/>
  181. </itemset>
  182. </choices>
  183. <script type="javascript" ev:event="xforms-value-changed">
  184. <![CDATA[
  185. fnZoneDisp();
  186. fSettingnurid();
  187. fGetWardPatList();
  188. ]]>
  189. </script>
  190. </select1>
  191. </group>
  192. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:160px; height:14px; font-family:굴림; ">정맥염 관찰기록</caption>
  193. <datagrid id="grd_wardpatlist" nodeset="/root/main/wardpatinfo/wardpatlist" caption="병실^환자명^S/A^veifcnt^indd^cretno^pid^ordtype^orddeptcd^orddrid" colsep="^" colwidth="50, 65, 50, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:95px; width:190px; height:650px; font-family:굴림; ">
  194. <col ref="roomcd" style="font-family:굴림; text-align:center; "/>
  195. <col ref="patnm" style="font-family:굴림; "/>
  196. <col ref="sexage" style="font-family:굴림; "/>
  197. <col ref="veifcnt" visibility="hidden" style="left:185px; top:23px; width:100px; height:23px; font-family:굴림; "/>
  198. <col ref="indd" visibility="hidden" style="font-family:굴림; "/>
  199. <col ref="cretno" visibility="hidden" style="font-family:굴림; "/>
  200. <col ref="pid" visibility="hidden" style="font-family:굴림; "/>
  201. <col ref="ordtype" visibility="hidden" style="font-family:굴림; "/>
  202. <col ref="orddeptcd" visibility="hidden" style="font-family:굴림; "/>
  203. <col ref="orddrid" visibility="hidden" style="font-family:굴림; "/>
  204. <script type="javascript" ev:event="ondblclick">
  205. <![CDATA[
  206. fSearch();
  207. ]]>
  208. </script>
  209. </datagrid>
  210. <select1 id="rdo_stdradio" ref="/root/main/cond/stdradio" appearance="full" cellspacing="10" cols="4" overflow="visible" style="left:840px; top:30px; width:335px; height:20px; border-style:none; ">
  211. <choices>
  212. <item>
  213. <label>전체</label>
  214. <value>0</value>
  215. </item>
  216. <item>
  217. <label>종료전(전체)</label>
  218. <value>1</value>
  219. </item>
  220. <item>
  221. <label>종료전(최근입력만)</label>
  222. <value>2</value>
  223. </item>
  224. <item>
  225. <label>종료</label>
  226. <value>3</value>
  227. </item>
  228. </choices>
  229. <script type="javascript" ev:event="onclick">
  230. <![CDATA[
  231. fSearch();
  232. ]]>
  233. </script>
  234. </select1>
  235. <line id="line2" class="line_1" style="x1:0px; y1:15px; x2:1194px; y2:15px; "/>
  236. <caption id="caption7" class="cell_1" style="left:755px; top:20px; width:75px; height:40px; font-family:굴림; text-align:center; vertical-align:middle; ">구 분</caption>
  237. <line id="line3" class="line_3" style="x1:0px; y1:61px; x2:1193px; y2:61px; "/>
  238. <line id="line5" class="line_1" style="x1:0px; y1:90px; x2:190px; y2:90px; "/>
  239. <caption id="caption14" class="tit_2" style="left:0px; top:75px; width:113px; height:14px; font-family:굴림; vertical-align:middle; ">재원환자 목록</caption>
  240. <datagrid id="grd_veinlist" nodeset="/root/main/veininfo/veinlist" autoresize="true" caption="상태^상태2^정맥염발생부위^발생일자^시간^발생장소^발생장소(원내)^발생원인^구분^선택^기록일자^시간^단계^중재^기록자^recrid^genrplceid^causeid^stageid^pid^grupcd^instcd^indd^cretno^veifrecseq^signno^interventionid" colsep="^" colwidth="30, 30, 180, 90, 45, 75, 110, 110, 50, 30, 90, 46, 60, 300, 50, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" rowheader="update" rowsep="|" style="left:195px; top:95px; width:1000px; height:650px; ">
  241. <col ref="stat" type="combo" visibility="hidden" style="text-align:center; ">
  242. <choices>
  243. <item>
  244. <label>-</label>
  245. <value>-</value>
  246. </item>
  247. <item>
  248. <label>i</label>
  249. <value>i</value>
  250. </item>
  251. <item>
  252. <label>u</label>
  253. <value>u</value>
  254. </item>
  255. <item>
  256. <label>d</label>
  257. <value>d</value>
  258. </item>
  259. </choices>
  260. </col>
  261. <col ref="stat2" type="combo" visibility="hidden" style="text-align:center; ">
  262. <choices>
  263. <item>
  264. <label>-</label>
  265. <value>-</value>
  266. </item>
  267. <item>
  268. <label>i</label>
  269. <value>i</value>
  270. </item>
  271. <item>
  272. <label>u</label>
  273. <value>u</value>
  274. </item>
  275. <item>
  276. <label>d</label>
  277. <value>d</value>
  278. </item>
  279. </choices>
  280. </col>
  281. <col editable="false" imemode="alpha" key="true" ref="veifpartnm" type="inputbutton" maxlength="1" style="left:50px; top:43px; width:118px; height:23px; text-align:left; "/>
  282. <col disabled="true" editable="false" imemode="hangul" key="true" ref="genrdd" type="inputdate" style="text-align:center; "/>
  283. <col disabled="true" imemode="alpha" key="true" ref="genrtm" type="input" format="hh:nn" style="text-align:center; "/>
  284. <col editable="false" ref="genrplce" type="inputbutton" style="text-align:left; "/>
  285. <col disabled="true" ref="genrplcewardcd" type="combo">
  286. <choices>
  287. <itemset nodeset="/root/tmp/deptinfo/deptlist">
  288. <label ref="depthngnm"/>
  289. <value ref="deptcd"/>
  290. </itemset>
  291. </choices>
  292. </col>
  293. <col editable="false" imemode="alpha" ref="cause" type="inputbutton" style="text-align:left; "/>
  294. <col disabled="true" editmode="search" imemode="alpha" ref="flag" type="combo" style="text-align:center; ">
  295. <choices>
  296. <item>
  297. <label>등록</label>
  298. <value>00</value>
  299. </item>
  300. <item>
  301. <label>사정</label>
  302. <value>01</value>
  303. </item>
  304. <item>
  305. <label>종료</label>
  306. <value>99</value>
  307. </item>
  308. </choices>
  309. </col>
  310. <col ref="sel" type="checkbox"/>
  311. <col disabled="true" ref="recdd" type="inputdate" style="text-align:center; "/>
  312. <col disabled="true" ref="rectm" type="input" format="hh:nn" style="text-align:center; "/>
  313. <col editable="false" ref="stage" type="inputbutton" style="text-align:center; "/>
  314. <col editable="false" imemode="alpha" ref="intervention" type="inputbutton" style="text-align:left; "/>
  315. <col ref="recrnm"/>
  316. <col ref="recrid" visibility="hidden"/>
  317. <col ref="genrplceid" visibility="hidden"/>
  318. <col ref="causeid" type="input" visibility="hidden"/>
  319. <col ref="stageid" type="input" visibility="hidden"/>
  320. <col ref="pid" type="input" visibility="hidden"/>
  321. <col ref="grupcd" type="input" visibility="hidden"/>
  322. <col ref="instcd" type="input" visibility="hidden"/>
  323. <col ref="indd" type="input" visibility="hidden"/>
  324. <col ref="cretno" type="input" visibility="hidden"/>
  325. <col ref="veifrecseq" type="input" visibility="hidden"/>
  326. <col ref="signno" type="input" visibility="hidden"/>
  327. <col ref="interventionid" type="input" visibility="hidden"/>
  328. <script type="javascript" ev:event="onmousedown">
  329. <![CDATA[
  330. fMouseDownGridRow();
  331. ]]>
  332. </script>
  333. <script type="javascript" ev:event="DOMFocusOut">
  334. <![CDATA[
  335. window.setPopupMenu(false);
  336. ]]>
  337. </script>
  338. <script type="javascript" ev:event="onbuttonclick">
  339. <![CDATA[
  340. var iCos = grd_veinlist.col;
  341. var iRow = grd_veinlist.row;
  342. var att = grd_veinlist.colAttribute(iCos, "ref");
  343. if(att !="genrdd" && att !="recdd"){
  344. if(model.getValue("/root/main/veininfo/veinlist["+ iRow +"]/stat") == "i" ){
  345. if(model.getValue("/root/main/veininfo/veinlist["+ iRow +"]/flag") == "00"){
  346. // if ( att == "veifpartnm" ) {//정맥염발생부위
  347. // fPopupBedSoreImg(grd_veinlist.row);
  348. // } else if (att = "genrplce" || att == "cause") {
  349. // //발생장소, 발생원인, 단계
  350. // fPopupBedSoreData(grd_veinlist.row);
  351. // }
  352. fPopupBedSoreImg(grd_veinlist.row);
  353. }else{
  354. if (att == "stage" || att == "intervention" ) {
  355. fPopupBedSoreData(grd_veinlist.row);
  356. }else{
  357. messageBox('발생부위,발생장소,발생원인은 수정이 불가합니다.', 'I');
  358. return;
  359. }
  360. }
  361. }else{
  362. if (att == "stage" || att == "intervention" ) {
  363. fPopupBedSoreData(grd_veinlist.row);
  364. }else{
  365. messageBox('발생부위,발생장소,발생원인은 수정이 불가합니다.', 'I');
  366. return;
  367. }
  368. }
  369. }
  370. ]]>
  371. </script>
  372. <script type="javascript" ev:event="onclick">
  373. <![CDATA[
  374. var iRow = grd_veinlist.row;
  375. if(grd_veinlist.col == grd_veinlist.colRef("sel")) {
  376. //체크 해제하면 update상태를 select상태로 변경한다.
  377. fChangeStatus(grd_veinlist.row);
  378. //발생부위별로 머지한다.
  379. fMergeGenrAreaDD();
  380. }
  381. if(grd_veinlist.mouseCol == grd_veinlist.colRef("genrplcewardcd")) {
  382. if(model.getValue("/root/main/veininfo/veinlist["+ iRow +"]/stat") == "i" && model.getValue("/root/main/veininfo/veinlist["+ iRow +"]/flag") == "00"){
  383. if(model.getValue("/root/main/veininfo/veinlist["+ iRow +"]/genrplceid") != "1"){
  384. messageBox('발생장소(원내)은 발생장소가 원내인 경우만 입력가능합니다.', 'I');
  385. }
  386. }else{
  387. return;
  388. }
  389. }
  390. if(grd_veinlist.mouseCol == grd_veinlist.colRef("genrdd")) {
  391. if(model.getValue("/root/main/veininfo/veinlist["+ iRow +"]/stat") == "i" && model.getValue("/root/main/veininfo/veinlist["+ iRow +"]/flag") == "00"){
  392. grd_veinlist.isReadOnly(iRow,grd_veinlist.colRef("genrdd")) = false;
  393. }else if(model.getValue("/root/main/veininfo/veinlist["+ iRow +"]/stat") == "i" && model.getValue("/root/main/veininfo/veinlist["+ iRow +"]/flag") != "00"){
  394. grd_veinlist.isReadOnly(iRow,grd_veinlist.colRef("genrdd")) = true;
  395. }else{
  396. grd_veinlist.isReadOnly(iRow,grd_veinlist.colRef("genrdd")) = true;
  397. return;
  398. }
  399. }
  400. if(grd_veinlist.mouseCol == grd_veinlist.colRef("genrtm")) {
  401. if(model.getValue("/root/main/veininfo/veinlist["+ iRow +"]/stat") == "i" && model.getValue("/root/main/veininfo/veinlist["+ iRow +"]/flag") == "00"){
  402. grd_veinlist.isReadOnly(iRow,grd_veinlist.colRef("genrtm")) = false;
  403. }else{
  404. grd_veinlist.isReadOnly(iRow,grd_veinlist.colRef("genrtm")) = true;
  405. return;
  406. }
  407. }
  408. if(grd_veinlist.mouseCol == grd_veinlist.colRef("recdd")) {
  409. if(model.getValue("/root/main/veininfo/veinlist["+ iRow +"]/stat") == "i" ){
  410. grd_veinlist.isReadOnly(iRow,grd_veinlist.colRef("recdd")) = false;
  411. }else{
  412. grd_veinlist.isReadOnly(iRow,grd_veinlist.colRef("recdd")) = true;
  413. return;
  414. }
  415. }
  416. if(grd_veinlist.mouseCol == grd_veinlist.colRef("rectm")) {
  417. if(model.getValue("/root/main/veininfo/veinlist["+ iRow +"]/stat") == "i" ){
  418. grd_veinlist.isReadOnly(iRow,grd_veinlist.colRef("rectm")) = false;
  419. }else{
  420. grd_veinlist.isReadOnly(iRow,grd_veinlist.colRef("rectm")) = true;
  421. return;
  422. }
  423. }
  424. ]]>
  425. </script>
  426. <script type="javascript" ev:event="xforms-value-changed">
  427. <![CDATA[
  428. fChangedGridCol();
  429. ]]>
  430. </script>
  431. </datagrid>
  432. <line id="line4" class="line_1" style="x1:195px; y1:90px; x2:1195px; y2:90px; "/>
  433. <caption id="caption1" class="tit_2" style="left:195px; top:75px; width:144px; height:13px; font-family:굴림; vertical-align:middle; ">정맥염 관찰기록 내역</caption>
  434. <button id="button2" class="btn1_letter6" style="left:1008px; top:65px; width:104px; height:22px; ">
  435. <caption>발생부위추가</caption>
  436. <script type="javascript" ev:event="DOMActivate">
  437. <![CDATA[
  438. fAddGenArea();
  439. ]]>
  440. </script>
  441. </button>
  442. <button id="button3" class="btn1_letter2" style="left:949px; top:65px; width:56px; height:22px; ">
  443. <caption>삭제</caption>
  444. <script type="javascript" ev:event="DOMActivate">
  445. <![CDATA[
  446. fDel();
  447. ]]>
  448. </script>
  449. </button>
  450. <button id="button4" class="btn4_letter4" style="left:1115px; top:65px; width:80px; height:22px; ">
  451. <caption>인증저장</caption>
  452. <script type="javascript" ev:event="DOMActivate">
  453. <![CDATA[
  454. fSignSave();
  455. ]]>
  456. </script>
  457. </button>
  458. <select1 id="cmb_Zone" ref="/root/main/cond/zonecd" class="combo_search" visibility="hidden" appearance="minimal" style="left:260px; top:30px; width:60px; height:19px; font-family:굴림; background-image:../../../com/commonweb/images/input_s_essential.gif; ">
  459. <choices>
  460. <itemset nodeset="/root/temp/zoneinfo/zonelist">
  461. <label ref="bednm"/>
  462. <value ref="bedcd"/>
  463. </itemset>
  464. </choices>
  465. <script type="javascript" ev:event="xforms-value-changed">
  466. <![CDATA[
  467. fGetWardPatList();
  468. ]]>
  469. </script>
  470. </select1>
  471. <caption id="cap_Zone" class="search_name" visibility="hidden" style="left:190px; top:30px; width:70px; height:17px; font-family:굴림; vertical-align:middle; background-image:../../../com/commonweb/images/search_bullet1.gif; ">구 역 :</caption>
  472. <button id="button5" class="btn1_letter9" style="left:806px; top:65px; width:140px; height:22px; ">
  473. <caption>정맥염발생보고조회</caption>
  474. <script type="javascript" ev:event="DOMActivate">
  475. <![CDATA[
  476. modal("SMMNW15300",0,0, 150);
  477. ]]>
  478. </script>
  479. </button>
  480. <select1 id="rdo_indsch" ref="/root/main/cond/indsch" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:125px; top:0px; width:100px; height:20px; font-family:굴림; border-style:none; ">
  481. <choices>
  482. <item>
  483. <label>재원</label>
  484. <value>1</value>
  485. </item>
  486. <item>
  487. <label>퇴원</label>
  488. <value>2</value>
  489. </item>
  490. </choices>
  491. <script type="javascript" ev:event="xforms-value-changed">
  492. <![CDATA[
  493. fSetInDschHidden();
  494. model.removeNodeset("/root/main/veininfo/veinlist");
  495. if(model.getValue("/root/main/cond/indsch") == "1"){
  496. line1.visible = true;
  497. button1.visible = true;
  498. fGetWardPatList();
  499. }else{
  500. line1.visible = false;
  501. button1.visible = false;
  502. model.removeNodeset("/root/main/wardpatinfo/wardpatlist");
  503. model.setValue("/root/main/cond/patientnm","");
  504. model.setValue("/root/main/cond/pid","");
  505. }
  506. model.refresh();
  507. ]]>
  508. </script>
  509. </select1>
  510. <group id="group2" visibility="hidden" style="left:95px; top:50px; width:245px; height:170px; background-color:#ffcc00; ">
  511. <datagrid id="grd_patindschlist" nodeset="/root/main/patindschinfo/patindschlist" caption="입원일자^퇴원일자^caption5^caption6^caption7^caption8^caption9^caption10^caption3^caption1^caption2^caption4" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:10px; top:15px; width:225px; height:150px; ">
  512. <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
  513. <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  514. <col ref="instcd" visibility="hidden"/>
  515. <col ref="pid" visibility="hidden"/>
  516. <col ref="cretno" visibility="hidden"/>
  517. <col ref="indschacptstat" visibility="hidden"/>
  518. <col ref="ordtype" visibility="hidden"/>
  519. <col ref="medispclid" visibility="hidden"/>
  520. <script type="javascript" ev:event="ondblclick">
  521. <![CDATA[
  522. var condparam = model.getValue("/root/main/patindschinfo/patindschlist["+grd_patindschlist.row+"]/ordtype")
  523. + "▦" + model.getValue("/root/main/patindschinfo/patindschlist["+grd_patindschlist.row+"]/pid")
  524. + "▦" + model.getValue("/root/main/patindschinfo/patindschlist["+grd_patindschlist.row+"]/indd")
  525. + "▦" + model.getValue("/root/main/patindschinfo/patindschlist["+grd_patindschlist.row+"]/cretno")
  526. + "▦" + model.getValue("/root/main/patindschinfo/patindschlist["+grd_patindschlist.row+"]/instcd")
  527. + "▦" + model.getValue("/root/main/patindschinfo/patindschlist["+grd_patindschlist.row+"]/dschdd");
  528. setParameter("condparam", condparam);
  529. modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
  530. group2.visible = false;
  531. fSearch();
  532. ]]>
  533. </script>
  534. </datagrid>
  535. <button id="button6" style="left:225px; top:0px; width:15px; height:15px; ">
  536. <caption>X</caption>
  537. <script type="javascript" ev:event="onclick">
  538. <![CDATA[
  539. group2.visible = false;
  540. ]]>
  541. </script>
  542. </button>
  543. </group>
  544. </group>
  545. <caption id="caption2" style="left:0px; top:745px; width:1200px; height:30px; "/>
  546. <group id="grp_btn" style="left:0px; top:752px; width:1195px; height:27px; ">
  547. <caption id="caption3" style="left:1160px; top:0px; width:30px; height:20px; ">[표]</caption>
  548. <caption id="caption10" style="left:5px; top:0px; width:450px; height:25px; font-weight:bold; color:#0000ff; ">* 재원환자목록에 파란색 표기 : 정맥염관찰기록 미종료건이 존재하는 환자</caption>
  549. </group>
  550. </xhtml:body>
  551. </xhtml:html>