SMAYA04000_원목의뢰환자조회.xrw 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMAYA04000_원목의뢰환자조회.xrw
  4. * 설 명 : 원목의뢰환자조회
  5. * 작 성 자 : 김다영
  6. * 작 성 일 : 2008.01.07
  7. * 수정이력 :
  8. * 기 타 :
  9. -->
  10. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  11. <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">
  12. <xhtml:head>
  13. <xhtml:title>원목의뢰환자조회</xhtml:title>
  14. <model id="model1">
  15. <instance id="instance1">
  16. <root xmlns="">
  17. <main>
  18. <fthreqpatlist>
  19. <fthreqpatlistinfo>
  20. <pid/>
  21. <pidnm/>
  22. <roomcd/>
  23. <reqdeptcd/>
  24. <requserid/>
  25. <reqdd/>
  26. <recvuserid/>
  27. <recvdd/>
  28. <repldd/>
  29. <repluserid/>
  30. <minvisitdd/>
  31. <maxvisitdd/>
  32. <visitcnt/>
  33. <mincnstdd/>
  34. <maxcnstdd/>
  35. <cnstcnt/>
  36. <asesrecdd/>
  37. <enddd/>
  38. <hngnm/>
  39. <reqdeptnm/>
  40. <requsernm/>
  41. <replusernm/>
  42. <recvusernm/>
  43. <formrecseq/>
  44. <indd/>
  45. <cretno/>
  46. <instcd/>
  47. <dschdd/>
  48. <reqkind/>
  49. <seqno/>
  50. </fthreqpatlistinfo>
  51. </fthreqpatlist>
  52. <cond>
  53. <srchfromdd/>
  54. <srchtodd/>
  55. <pidnm/>
  56. <cnststat/>
  57. <pid/>
  58. <reqdd/>
  59. <formrecseq/>
  60. <req>-</req>
  61. </cond>
  62. </main>
  63. <send>
  64. <reqdata/>
  65. </send>
  66. <init>
  67. </init>
  68. <hidden/>
  69. </root>
  70. </instance>
  71. <script type="javascript" ev:event="xforms-ready">
  72. <![CDATA[
  73. fInit();
  74. cmb_cnststat.select(0);
  75. ]]>
  76. </script>
  77. <submission id="TRAYA04001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" replace="instance" resultref="/root/main/fthreqpatlist"/>
  78. <script type="javascript" ev:event="xforms-model-destruct">
  79. <![CDATA[
  80. if(getGlobalVariable("paminfo").length > 0){
  81. delPatientInfos();
  82. }
  83. ]]>
  84. </script>
  85. </model>
  86. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  87. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  88. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  89. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  90. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  91. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  92. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  93. <script type="javascript">
  94. <![CDATA[
  95. /**========================================================================================================================================
  96. * 화면 오픈시
  97. =========================================================================================================================================*/
  98. function fInit() {
  99. //그리드 초기화
  100. cmb_cnststat.disabled = true;
  101. model.removeNodeset("/root/main/fthreqpatlist/fthreqpatlistinfo");
  102. grd_fthreqpatlist.refresh();
  103. //의뢰일자를 현재일자로 세팅
  104. var CurrentDate = getCurrentDate();
  105. model.setValue("/root/main/cond/srchfromdd" , CurrentDate);
  106. model.setValue("/root/main/cond/srchtodd" , CurrentDate);
  107. model.removeNodeset(grd_fthreqpatlist.nodeset);
  108. model.refresh();
  109. }
  110. /**========================================================================================================================================
  111. * 원목의뢰환자조회
  112. =========================================================================================================================================*/
  113. function fGetFthReqPatList(){
  114. var CurrentDate = getCurrentDate();
  115. var srchfromdd = model.getValue("/root/main/cond/srchfromdd");
  116. var srchtodd = model.getValue("/root/main/cond/srchtodd");
  117. var dateintval = getDateInterval(srchfromdd,srchtodd);
  118. if(dateintval>31)
  119. {
  120. messageBox("조회기간은 최대1달까지 할 수 있습니다.","I");
  121. model.setValue("/root/main/cond/srchfromdd" , CurrentDate);
  122. model.setValue("/root/main/cond/srchtodd" , CurrentDate);
  123. return;
  124. }
  125. model.removeNodeset("/root/send/reqdata");
  126. model.makeNode("/root/send/reqdata");
  127. model.copyNode("/root/send/reqdata", "/root/main/cond");
  128. if (submit("TRAYA04001")) {
  129. for (var idx = grd_fthreqpatlist.fixedRows; idx < grd_fthreqpatlist.rows; idx++) {
  130. var reqdeptnm = model.getValue("/root/main/fthreqpatlist/fthreqpatlistinfo["+idx+"]/reqdeptnm");
  131. var formrecseq = model.getValue("/root/main/fthreqpatlist/fthreqpatlistinfo["+idx+"]/formrecseq");
  132. if (reqdeptnm == "" && formrecseq == "") {
  133. grd_fthreqpatlist.cellAttribute("disabled", idx, grd_fthreqpatlist.colRef("btn")) = true;
  134. }
  135. }
  136. }
  137. }
  138. /**========================================================================================================================================
  139. * 원목상담현황 초기화
  140. =========================================================================================================================================*/
  141. function fInitialize()
  142. {
  143. // 그리드초기화
  144. model.removeNodeset("/root/main/fthreqpatlist/fthreqpatlistinfo");
  145. cmb_cnststat.select(0);
  146. // 오늘 날짜로 세팅
  147. var curDt = getCurrentDate();
  148. model.setValue(ipt_srchfromdd.attribute("ref") , curDt);
  149. model.setValue(ipt_srchtodd.attribute("ref") , curDt);
  150. model.removeNodeset(grd_fthreqpatlist.nodeset);
  151. model.refresh();
  152. }
  153. /**========================================================================================================================================
  154. * 서식 팝업
  155. =========================================================================================================================================*/
  156. function fCnstPopUp() {
  157. if (cmb_req.value == '-'){
  158. var idxRow = grd_fthreqpatlist.row - 1;
  159. var reqdeptnm = model.getValue("/root/main/fthreqpatlist/fthreqpatlistinfo["+idxRow+"]/reqdeptnm");
  160. var formrecseq = model.getValue("/root/main/fthreqpatlist/fthreqpatlistinfo["+idxRow+"]/formrecseq");
  161. //타과의뢰
  162. if (formrecseq != '' && reqdeptnm !=''){
  163. var xEdupatlistPath = '/root/main/fthreqpatlist/fthreqpatlistinfo';
  164. var curRow = (grd_fthreqpatlist.row) - 1;
  165. var formrecseq = model.getValue(xEdupatlistPath + "[" + curRow + "]/formrecseq");
  166. setParameter("openmode", "reccnstform");
  167. setParameter("userdeptcd", "4050400000");
  168. setParameter("formrecseq", formrecseq); //서식기록테이블의 formrecseq(기록순번)
  169. modal("../../../emr/medirecweb/xrw/SSMMR01100_서식로더.xrw", 1, 0, 0 ,"", "", "");
  170. }
  171. //간호정보조사지
  172. else if(formrecseq == '' && reqdeptnm !=''){
  173. setParameter("deptcd", "4050400000");
  174. modal("SMMNW03100",1,100,100);
  175. }
  176. //기타의뢰
  177. else if(formrecseq == '' && reqdeptnm ==''){
  178. fSoulCareChrtRegtopener();
  179. }
  180. //원목자선정
  181. else if(formrecseq == '' && reqdeptnm ==''){
  182. fSoulCareChrtRegtopener();
  183. }
  184. }
  185. //타과의뢰
  186. if (cmb_req.value == 'A'){
  187. var xEdupatlistPath = '/root/main/fthreqpatlist/fthreqpatlistinfo';
  188. var curRow = (grd_fthreqpatlist.row) - 1;
  189. var formrecseq = model.getValue(xEdupatlistPath + "[" + curRow + "]/formrecseq");
  190. setParameter("openmode", "reccnstform");
  191. setParameter("deptcd", "4050400000");
  192. setParameter("formrecseq", formrecseq); //서식기록테이블의 formrecseq(기록순번)
  193. modal("../../../emr/medirecweb/xrw/SSMMR01100_서식로더.xrw", 1, 0, 0 ,"", "", "");
  194. }
  195. //간호정보조사지
  196. else if(cmb_req.value == 'B' ){
  197. modal("SMMNW03100",1,100,100);
  198. setParameter("deptcd", "4050400000");
  199. }
  200. //기타의뢰
  201. else if(cmb_req.value == 'C' ){
  202. fSoulCareChrtRegtopener();
  203. }
  204. //원목자선정
  205. else if(cmb_req.value == 'D' ){
  206. fSoulCareChrtRegtopener();
  207. }
  208. }
  209. /**========================================================================================================================================
  210. * 상단에 환자정보 올리기
  211. =========================================================================================================================================*/
  212. function fUpPatInfo()
  213. {
  214. delPatientInfos();
  215. if (grd_fthreqpatlist.rows <= 2) return;
  216. if (grd_fthreqpatlist.row < 2) return;
  217. if(grd_fthreqpatlist.isCell(event.target) && grd_fthreqpatlist.mouseRow >= grd_fthreqpatlist.fixedrows)
  218. {
  219. }
  220. else
  221. {
  222. return;
  223. }
  224. var idxRow = grd_fthreqpatlist.row - 1; //그리드에서 해당 환자 선택
  225. //alert(idxRow);
  226. var instcd = getUserInfo("dutplceinstcd");
  227. var pid = model.getValue("/root/main/fthreqpatlist/fthreqpatlistinfo["+idxRow+"]/pid");
  228. var indd = model.getValue("/root/main/fthreqpatlist/fthreqpatlistinfo["+idxRow+"]/indd");
  229. var cretno = model.getValue("/root/main/fthreqpatlist/fthreqpatlistinfo["+idxRow+"]/cretno");
  230. var dschdd = model.getValue("/root/main/fthreqpatlist/fthreqpatlistinfo["+idxRow+"]/dschdd");
  231. var CurrentDate = getCurrentDate();
  232. //재원자 - 현재일자
  233. if(dschdd == "99991231"){
  234. var condparam1 = "I▦" + pid + "▦" + indd + "▦" + cretno + "▦" + instcd + "▦" + CurrentDate;
  235. setParameter("condparam", condparam1);
  236. modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
  237. }
  238. //퇴원자 - 퇴원일자
  239. else if(dschdd != "99991231"){
  240. var condparam2 = "I▦" + pid + "▦" + indd + "▦" + cretno + "▦" + instcd + "▦" + dschdd;
  241. //alert(dschdd);
  242. setParameter("condparam", condparam2);
  243. modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
  244. }
  245. //modal("SPMMO08900");
  246. }
  247. /**========================================================================================================================================
  248. * 영적돌봄의뢰유형 구분에 따른 버튼
  249. =========================================================================================================================================*/
  250. function fChangeRdo()
  251. {
  252. var idx = grd_fthreqpatlist.row;
  253. //타과의뢰
  254. if (cmb_req.value == '-'){
  255. grd_fthreqpatlist.colHidden(7) = false;
  256. model.refresh();
  257. }
  258. else if (cmb_req.value == 'A'){
  259. grd_fthreqpatlist.colHidden(7) = false;
  260. model.refresh();
  261. }
  262. //간호정보조사지
  263. else if (cmb_req.value == 'B' ){
  264. grd_fthreqpatlist.colHidden(7) = false;
  265. model.refresh();
  266. }
  267. //기타의뢰
  268. else if (cmb_req.value == 'C' ){
  269. grd_fthreqpatlist.colHidden(7) = true;
  270. model.refresh();
  271. }
  272. //원목자선정
  273. else if (cmb_req.value == 'D' ){
  274. grd_fthreqpatlist.colHidden(7) = true;
  275. model.refresh();
  276. }
  277. model.refresh();
  278. }
  279. /**========================================================================================================================================
  280. * 영적돌봄기록지 팝업
  281. =========================================================================================================================================*/
  282. function fSoulCareChrtRegtopener(){
  283. if (grd_fthreqpatlist.rows <= 1) return;
  284. if (grd_fthreqpatlist.row < 1) return;
  285. if(grd_fthreqpatlist.isCell(event.target) && grd_fthreqpatlist.mouseRow >= grd_fthreqpatlist.fixedrows)
  286. {
  287. }
  288. else
  289. {
  290. return;
  291. }
  292. var xPath="/root/main/fthreqpatlist/fthreqpatlistinfo";
  293. var idxRow = grd_fthreqpatlist.row- 1 ;
  294. var pid=model.getValue(xPath+"["+idxRow+"]/pid");
  295. var instcd=model.getValue(xPath+"["+idxRow+"]/instcd");
  296. var seqno=model.getValue(xPath+"["+idxRow+"]/seqno");
  297. var cretno=model.getValue(xPath+"["+idxRow+"]/cretno");
  298. var indd=model.getValue(xPath+"["+idxRow+"]/indd");
  299. //2008.10.14 재원환자,퇴원환자 구분-수정 dykim
  300. var dschdd = model.getValue(xPath+"["+idxRow+"]/dschdd");
  301. var CurrentDate = getCurrentDate();
  302. /*var condparam = "I"+ "▦" + model.getValue(xPath+"["+grd_soulcarechrtwrtelist.row+"]/pid")
  303. + "▦" + model.getValue(xPath+"["+grd_soulcarechrtwrtelist.row+"]/indd")
  304. + "▦" + model.getValue(xPath+"["+grd_soulcarechrtwrtelist.row+"]/cretno")
  305. + "▦" + model.getValue(xPath+"["+grd_soulcarechrtwrtelist.row+"]/instcd")
  306. + indd(); */
  307. //재원자 - 현재일자
  308. if(dschdd == "99991231"){
  309. var condparam1 = "I▦" + pid + "▦" + indd + "▦" + cretno + "▦" + instcd + "▦" + CurrentDate;
  310. setParameter("condparam", condparam1);
  311. modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
  312. modal("SMAYA04200",1,1,1);
  313. model.refresh();
  314. }
  315. //퇴원자 - 퇴원일자
  316. else if(dschdd != "99991231"){
  317. var condparam2 = "I▦" + pid + "▦" + indd + "▦" + cretno + "▦" + instcd + "▦" + dschdd;
  318. setParameter("condparam", condparam2);
  319. modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
  320. modal("SMAYA04200",1,1,1);
  321. model.refresh();
  322. }
  323. }
  324. ]]>
  325. </script>
  326. </xhtml:head>
  327. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  328. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  329. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:147px; height:14px; ">원목의뢰환자조회</caption>
  330. </group>
  331. <group id="group5" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
  332. <line id="line37" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  333. <button id="button38" class="btn4_letter3" style="left:1115px; top:4px; width:68px; height:22px; ">
  334. <caption>초기화</caption>
  335. <script type="javascript" ev:event="DOMActivate">
  336. <![CDATA[
  337. fInitialize();
  338. ]]>
  339. </script>
  340. </button>
  341. </group>
  342. <group id="group2" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  343. <caption id="caption21" class="tit_2" style="left:0px; top:70px; width:222px; height:13px; ">영적돌봄현황 리스트</caption>
  344. <line id="line1" class="line_1" style="x1:0px; y1:90px; x2:1194px; y2:89px; "/>
  345. <datagrid id="grd_fthreqpatlist" nodeset="/root/main/fthreqpatlist/fthreqpatlistinfo" caption="등록번호^성명^병실^의뢰유형^의뢰정보^의뢰정보^의뢰정보^의뢰정보^수신정보^수신정보^회신정보^회신정보^환자돌봄정보^환자돌봄정보^환자돌봄정보^환자돌봄정보^환자돌봄정보^환자돌봄정보^영적돌봄기록^영적돌봄기록^hngnm^caption1^caption2^caption3^caption4^caption5|등록번호^성명^병실^의뢰유형^의뢰과^의뢰자^의뢰일시^의뢰일시^수신자^수신일시^회신일시^회신자^최초방문일^최근방문일^방문횟수^최초상담일^최근상담일^상담횟수^영적사정일^종결일^hngnm^caption1^caption2^caption3^caption4^caption5" colsep="^" colwidth="70, 83, 83, 100, 146, 78, 158, 18, 82, 159, 162, 84, 92, 86, 54, 89, 91, 54, 85, 95, 28, 13, 36, 29, 25, 29, 18, 22, 29, 22" dataheight="25" explorerbar="sortshowmove" extendlastcol="scroll" frozencols="7" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:93px; width:1195px; height:647px; ">
  346. <col ref="pid" style="text-align:center; "/>
  347. <col ref="pidnm" style="text-align:center; "/>
  348. <col ref="roomcd" style="text-align:center; "/>
  349. <col ref="reqkind" style="text-align:center; "/>
  350. <col ref="reqdeptnm" style="text-align:center; "/>
  351. <col ref="requsernm" style="text-align:center; "/>
  352. <col ref="reqdd" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
  353. <col ref="btn" type="inputbutton" visibility="hidden"/>
  354. <col ref="recvusernm" style="text-align:center; "/>
  355. <col ref="recvdd" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
  356. <col ref="repldd" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
  357. <col ref="replusernm" format="yyyy-mm-dd" style="text-align:center; "/>
  358. <col ref="minvisitdd" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
  359. <col ref="maxvisitdd" format="yyyy-mm-dd" style="text-align:center; "/>
  360. <col ref="visitcnt" format="yyyy-mm-dd" style="text-align:center; "/>
  361. <col ref="mincnstdd" format="yyyy-mm-dd" style="text-align:center; "/>
  362. <col ref="maxcnstdd" format="yyyy-mm-dd" style="text-align:center; "/>
  363. <col ref="cnstcnt" style="text-align:center; "/>
  364. <col ref="asesrecdd" format="yyyy-mm-dd" style="text-align:center; "/>
  365. <col ref="enddd" format="yyyy-mm-dd" style="text-align:center; "/>
  366. <col ref="hngnm" visibility="hidden"/>
  367. <col ref="formrecseq" visibility="hidden"/>
  368. <col ref="indd" visibility="hidden"/>
  369. <col ref="cretno" visibility="hidden"/>
  370. <col ref="dschdd" visibility="hidden"/>
  371. <col ref="reqdeptcd" visibility="hidden"/>
  372. <col ref="requserid" visibility="hidden"/>
  373. <col ref="recvuserid" visibility="hidden"/>
  374. <col ref="repluserid" visibility="hidden"/>
  375. <script type="javascript" ev:event="onaftersort">
  376. <![CDATA[
  377. grd_fthreqpatlist.gridToInstance(); // sorting시 데이터 순서 그대로 가져갈 수 있도록
  378. ]]>
  379. </script>
  380. <script type="javascript" ev:event="ondblclick">
  381. <![CDATA[
  382. fUpPatInfo();
  383. fCnstPopUp();
  384. ]]>
  385. </script>
  386. </datagrid>
  387. <group id="group4" style="left:0px; top:5px; width:1194px; height:62px; vertical-align:top; ">
  388. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:60px; "/>
  389. <caption id="caption25" class="search_name" style="left:20px; top:20px; width:138px; height:17px; ">영적돌봄의뢰유형 :</caption>
  390. <caption id="caption26" class="search_name" style="left:345px; top:10px; width:83px; height:17px; ">의 뢰 일 :</caption>
  391. <input id="ipt_srchfromdd" ref="/root/main/cond/srchfromdd" class="input_default" navindex="13" inputtype="date" style="left:440px; top:10px; width:100px; height:19px; "/>
  392. <input id="ipt_srchtodd" ref="/root/main/cond/srchtodd" class="input_default" navindex="13" inputtype="date" style="left:560px; top:10px; width:90px; height:19px; "/>
  393. <caption id="caption9" class="search_no_b" style="left:545px; top:10px; width:12px; height:17px; ">~</caption>
  394. <caption id="caption1" class="search_name" style="left:695px; top:10px; width:86px; height:17px; ">회신구분 :</caption>
  395. <select1 id="cmb_cnststat" ref="/root/main/cond/cnststat" class="combo_search" appearance="minimal" style="left:790px; top:10px; width:70px; height:19px; ">
  396. <choices>
  397. <item>
  398. <label>전체</label>
  399. <value>%</value>
  400. </item>
  401. <item>
  402. <label>Y</label>
  403. <value>Y</value>
  404. </item>
  405. <item>
  406. <label>N</label>
  407. <value>N</value>
  408. </item>
  409. </choices>
  410. </select1>
  411. <button id="button1" class="btn1_letter2" style="left:1123px; top:20px; width:56px; height:22px; ">
  412. <caption>조회</caption>
  413. <script type="javascript" ev:event="DOMActivate">
  414. <![CDATA[
  415. fChangeRdo();
  416. fGetFthReqPatList();
  417. if(getGlobalVariable("paminfo").length > 0){
  418. delPatientInfos();
  419. }
  420. ]]>
  421. </script>
  422. </button>
  423. <line id="line2" class="line_4" style="x1:1105px; y1:10px; x2:1105px; y2:53px; "/>
  424. <caption id="caption2" class="search_name" style="left:345px; top:35px; width:83px; height:17px; ">환 자 명 :</caption>
  425. <input id="ipt_hngnm" ref="/root/main/cond/pidnm" imemode="hangul" maxlength="10" appearance="input" style="left:440px; top:35px; width:100px; height:19px; "/>
  426. <select1 id="cmb_req" ref="/root/main/cond/req" class="combo_search" appearance="minimal" style="left:165px; top:20px; width:140px; height:19px; ">
  427. <choices>
  428. <item>
  429. <label>전체</label>
  430. <value>-</value>
  431. </item>
  432. <item>
  433. <label>타과의뢰</label>
  434. <value>A</value>
  435. </item>
  436. <item>
  437. <label>간호정보지</label>
  438. <value>B</value>
  439. </item>
  440. <item>
  441. <label>기타의뢰</label>
  442. <value>C</value>
  443. </item>
  444. <item>
  445. <label>원목자선정</label>
  446. <value>D</value>
  447. </item>
  448. </choices>
  449. <script type="javascript" ev:event="xforms-value-changed">
  450. <![CDATA[
  451. if (cmb_req.value =='-' || cmb_req.value == 'B' || cmb_req.value == 'C' || cmb_req.value == 'D'){
  452. cmb_cnststat.select(0);
  453. cmb_cnststat.disabled = true;
  454. }
  455. else{
  456. cmb_cnststat.disabled = false;
  457. cmb_cnststat.select(0);
  458. }
  459. model.refresh();
  460. ]]>
  461. </script>
  462. </select1>
  463. </group>
  464. </group>
  465. </xhtml:body>
  466. </xhtml:html>