SMMND01900_HD 상담기록.xrw 48 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899
  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. <condition>
  11. <pid/>
  12. <dialflag>H</dialflag>
  13. </condition>
  14. <hdmatnpatlist>
  15. <hdmatnpatinfo>
  16. <pid/>
  17. <hngnm/>
  18. <sexage/>
  19. <maintepatrgstdd/>
  20. <histstat/>
  21. </hdmatnpatinfo>
  22. </hdmatnpatlist>
  23. <pdmatnpatlist>
  24. <pdmatnpatinfo>
  25. <pid/>
  26. <hngnm/>
  27. <sexage/>
  28. <maintepatrgstdd/>
  29. <histstat/>
  30. </pdmatnpatinfo>
  31. </pdmatnpatlist>
  32. <reclist>
  33. <recinfo>
  34. <recid/>
  35. <recnm/>
  36. <recdd/>
  37. <rectm/>
  38. <pid/>
  39. <maintepatrgstdd/>
  40. <dialflag/>
  41. <cnstrecflag/>
  42. <cnstcnts/>
  43. <status/>
  44. </recinfo>
  45. </reclist>
  46. <cnstcntshistlist>
  47. <cnstcntshistinfo>
  48. <recdd/>
  49. <rectm/>
  50. <recnm/>
  51. <pid/>
  52. <maintepatrgstdd/>
  53. </cnstcntshistinfo>
  54. </cnstcntshistlist>
  55. <getbaselist>
  56. <getbaseinfo>
  57. <hometel/>
  58. <mpphontel/>
  59. <etctel1/>
  60. <etctel2/>
  61. <pid/>
  62. <hngnm/>
  63. <sexage/>
  64. <fstdialfromdd/>
  65. <lstdialfromdd/>
  66. <roothospdialfromdd/>
  67. <dialflag/>
  68. <schedulinfo/>
  69. </getbaseinfo>
  70. </getbaselist>
  71. <hmdlspipeinfolist>
  72. <hmdlspipeinfo>
  73. <lstbtdgrecdt/>
  74. <partflag/>
  75. <kindflag1/>
  76. <kindflag2/>
  77. <srgopdd/>
  78. <exchdd/>
  79. <elmnresnflag/>
  80. <btdgnm/>
  81. <btdgdd/>
  82. <pid/>
  83. <maintepatrgstdd/>
  84. <recdd/>
  85. <rectm/>
  86. <status/>
  87. <statusflag/>
  88. </hmdlspipeinfo>
  89. </hmdlspipeinfolist>
  90. <avfinfolist>
  91. <avfinfo>
  92. <lstwvrmrecdt/>
  93. <partflag/>
  94. <kindflag/>
  95. <useveslflag/>
  96. <shapeval/>
  97. <opdd/>
  98. <fstusedd/>
  99. <lastusedd/>
  100. <avfrecnm/>
  101. <avfrecdd/>
  102. <pid/>
  103. <maintepatrgstdd/>
  104. <recdd/>
  105. <rectm/>
  106. <status/>
  107. </avfinfo>
  108. </avfinfolist>
  109. <oprtinfolist>
  110. <oprtinfo>
  111. <lstoprtrecdt/>
  112. <oprtkindflag/>
  113. <oprtcasflag/>
  114. <oprthospnm/>
  115. <oprtdd/>
  116. <oprtrecnm/>
  117. <oprtrecdd/>
  118. <pid/>
  119. <maintepatrgstdd/>
  120. <recdd/>
  121. <rectm/>
  122. <status/>
  123. </oprtinfo>
  124. </oprtinfolist>
  125. <peritcoduitlist>
  126. <peritcoduitinfo>
  127. <lsthtdgrecdt/>
  128. <statusflag/>
  129. <execdd/>
  130. <cathkindflag/>
  131. <partflag/>
  132. <elmnresnflag/>
  133. <pid/>
  134. <maintepatrgstdd/>
  135. <recdd/>
  136. <rectm/>
  137. <status/>
  138. <htdgnm/>
  139. <htdgdd/>
  140. </peritcoduitinfo>
  141. </peritcoduitlist>
  142. <t_setlist>
  143. <t_setinfo>
  144. <lsttstmrecdt/>
  145. <exchdd/>
  146. <scheexchdd/>
  147. <remark/>
  148. <pid/>
  149. <maintepatrgstdd/>
  150. <recdd/>
  151. <rectm/>
  152. <status/>
  153. </t_setinfo>
  154. </t_setlist>
  155. <infclist>
  156. <infcinfo>
  157. <lstinfmrecdt/>
  158. <statusflag/>
  159. <infckindflag/>
  160. <casbacflag/>
  161. <antibionm/>
  162. <antibiouseterm/>
  163. <afterflag/>
  164. <infcrecnm/>
  165. <infcrecdd/>
  166. <infcrectm/>
  167. <pid/>
  168. <maintepatrgstdd/>
  169. <recdd/>
  170. <rectm/>
  171. <status/>
  172. </infcinfo>
  173. </infclist>
  174. <chklist>
  175. <chkinfo>
  176. <pid/>
  177. </chkinfo>
  178. </chklist>
  179. <paminfo/>
  180. </main>
  181. <init>
  182. <M0133list>
  183. <cdnm/>
  184. <cdid/>
  185. </M0133list>
  186. <M0134list>
  187. <cdnm/>
  188. <cdid/>
  189. </M0134list>
  190. <M0135list>
  191. <cdnm/>
  192. <cdid/>
  193. </M0135list>
  194. <M0136list>
  195. <cdnm/>
  196. <cdid/>
  197. </M0136list>
  198. <M0137list>
  199. <cdnm/>
  200. <cdid/>
  201. </M0137list>
  202. <M0138list>
  203. <cdnm/>
  204. <cdid/>
  205. </M0138list>
  206. <M0139list>
  207. <cdnm/>
  208. <cdid/>
  209. </M0139list>
  210. <M0140list>
  211. <cdnm/>
  212. <cdid/>
  213. </M0140list>
  214. <M0141list>
  215. <cdnm/>
  216. <cdid/>
  217. </M0141list>
  218. <M0142list>
  219. <cdnm/>
  220. <cdid/>
  221. </M0142list>
  222. <M0133list>
  223. <cdnm/>
  224. <cdid/>
  225. </M0133list>
  226. <M0144list>
  227. <cdnm/>
  228. <cdid/>
  229. </M0144list>
  230. <M0145list>
  231. <cdnm/>
  232. <cdid/>
  233. </M0145list>
  234. <M0146list>
  235. <cdnm/>
  236. <cdid/>
  237. </M0146list>
  238. <M0147list>
  239. <cdnm/>
  240. <cdid/>
  241. </M0147list>
  242. </init>
  243. <send>
  244. <reqdata/>
  245. <savedata/>
  246. </send>
  247. <temp>
  248. <getcnstcntsinfo>
  249. <getcnstcnts>
  250. <cnstcnts/>
  251. </getcnstcnts>
  252. </getcnstcntsinfo>
  253. <gettoplist>
  254. <gettopinfo/>
  255. </gettoplist>
  256. <paminfo/>
  257. </temp>
  258. <hidden/>
  259. </root>
  260. </instance>
  261. <script type="javascript" ev:event="xforms-ready">
  262. <![CDATA[
  263. setHelp(); // 온라인 도움말 화면이 있는 경우 ready 에서 실행.
  264. fDone(); // 화면초기화
  265. ]]>
  266. </script>
  267. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  268. <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post"/>
  269. <submission id="TRMND00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/gettopinfo"/>
  270. <submission id="TRMND01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/hdmatnpatinfo"/>
  271. <submission id="TRMND01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/pdmatnpatinfo"/>
  272. <submission id="TXMND01901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata"/>
  273. <submission id="TRMND01901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/cnstcntshistinfo"/>
  274. <submission id="TRMND01902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/hmdlspipeinfo"/>
  275. <submission id="TRMND01903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/getcnstcnts"/>
  276. <submission id="TRMND01904" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/chkinfo"/>
  277. <submission id="TRMND01905" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/peritcoduitinfo"/>
  278. </model>
  279. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  280. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  281. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  282. <script type="javascript" src="../../../emr/dialroomweb/js/SMMND01900.js"/>
  283. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  284. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  285. </xhtml:head>
  286. <xhtml:body guideline="1,1195;1,5;1,1194;1,1171;1,247;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  287. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  288. <datagrid id="grd_pdmatnpatinfo" nodeset="/root/main/pdmatnpatlist/pdmatnpatinfo" backcoloralternate="#ffffff" caption="등록번호^환자명^S/A^유지환자등록일자^histstat" colsep="^" colwidth="80, 80, 54, 0, 0" focuscolor="transparent" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:75px; width:270px; height:334px; ">
  289. <col ref="pid"/>
  290. <col ref="hngnm"/>
  291. <col ref="sexage" style="text-align:center; "/>
  292. <col ref="maintepatrgstdd"/>
  293. <col ref="histstat"/>
  294. <script type="javascript" ev:event="ondblclick">
  295. <![CDATA[
  296. fsetHngBaseInfo(grd_pdmatnpatinfo, "/root/main/pdmatnpatlist/pdmatnpatinfo"); // 상단정보 설정
  297. var iRow = grd_pdmatnpatinfo.row;
  298. if(iRow >0) {
  299. fInit(); // 초기화
  300. btn_crt.disabled = false; // 신규등록버튼 활성화
  301. txt_hdcnstcnts.disabled = true; // 상담내용 텍스트박스 비활성화
  302. txt_pdcnstcnts.disabled = true;
  303. btn_savehdcnstcnts.disabled = true; // 저장버튼 비활성화
  304. btn_savepdcnstcnts.disabled = true;
  305. btn_pop.disabled = false;
  306. var sSelPid = grd_pdmatnpatinfo.textmatrix(iRow, 1); // 등록번호
  307. var sMaintePatRgstDD = grd_pdmatnpatinfo.textmatrix(iRow, 4); // 유지환자 등록일자
  308. // 선택 행 셀 색상 지정
  309. grd_pdmatnpatinfo.allstyle("all", "background-color") = "white";
  310. grd_pdmatnpatinfo.cellstyle("background-color", iRow, 1, iRow, 4) = "#ffd9ff";
  311. fGetPatInfo(sSelPid, sMaintePatRgstDD); // 환자정보 설정
  312. fSrchCnstcntsHist(); // 상담기록 리스트 조회
  313. fPatBasePDPipeInfo(); // 복막투석 환자 기본정보 및 최종 도관기록 정보 조회
  314. grd_rechistinfo.allstyle("all", "background-color") = "white";
  315. }
  316. ]]>
  317. </script>
  318. </datagrid>
  319. <datagrid id="grd_hdmatnpatinfo" nodeset="/root/main/hdmatnpatlist/hdmatnpatinfo" backcoloralternate="#ffffff" caption="등록번호^환자명^S/A^유지환자등록일자^histstat" colsep="^" colwidth="80, 80, 54, 0, 0" focuscolor="transparent" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:75px; width:270px; height:334px; ">
  320. <col ref="pid"/>
  321. <col ref="hngnm"/>
  322. <col ref="sexage" style="text-align:center; "/>
  323. <col ref="maintepatrgstdd"/>
  324. <col ref="histstat"/>
  325. <script type="javascript" ev:event="ondblclick">
  326. <![CDATA[
  327. fsetHngBaseInfo(grd_hdmatnpatinfo, "/root/main/hdmatnpatlist/hdmatnpatinfo"); // 상단정보 설정
  328. var iRow = grd_hdmatnpatinfo.row;
  329. if(iRow > 0) {
  330. fInit(); // 초기화
  331. btn_crt.disabled = false; // 신규등록버튼 활성화
  332. txt_hdcnstcnts.disabled = true; // 상담내용 텍스트박스 비활성화
  333. txt_pdcnstcnts.disabled = true;
  334. btn_savehdcnstcnts.disabled = true; // 저장버튼 비활성화
  335. btn_savepdcnstcnts.disabled = true;
  336. btn_pop.disabled = true;
  337. var sSelPid = grd_hdmatnpatinfo.textmatrix(iRow, 1); // 등록번호
  338. var sMaintePatRgstDD = grd_hdmatnpatinfo.textmatrix(iRow, 4); // 유지환자 등록일자
  339. // 선택 행 셀 색상 지정
  340. grd_hdmatnpatinfo.allstyle("all", "background-color") = "white";
  341. grd_hdmatnpatinfo.cellstyle("background-color", iRow, 1, iRow, 4) = "#ffd9ff";
  342. fGetPatInfo(sSelPid, sMaintePatRgstDD); // 환자정보 설정
  343. fSrchCnstcntsHist(); // 상담기록 리스트 조회
  344. fPatBaseHDPipeInfo(); // 혈액투석 환자 기본정보 및 최종 도관기록 정보 조회
  345. grd_rechistinfo.allstyle("all", "background-color") = "white";
  346. }
  347. ]]>
  348. </script>
  349. </datagrid>
  350. <group id="grp_sea" style="left:0px; top:10px; width:270px; height:35px; vertical-align:top; ">
  351. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:269px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  352. <caption id="caption2" class="search_name" style="left:16px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
  353. <button id="btn_srchmainpatlist" class="btn1_letter2" style="left:203px; top:7px; width:56px; height:22px; ">
  354. <caption>조회</caption>
  355. <script type="javascript" ev:event="DOMActivate">
  356. <![CDATA[
  357. var sDailFlag = model.getValue("/root/main/condition/dialflag");
  358. if(sDailFlag== "H") {
  359. fSrchHDMatnPatList(); // 혈액투석 유지환자 리스트 조회
  360. // fSrchCnstcntsHist(); // 상담기록 리스트 조회
  361. // fPatBaseHDPipeInfo(); // 혈액투석 환자 기본정보 및 최종 도관기록 정보 조회
  362. } else if(sDailFlag== "P"){
  363. fSrchPDMatnPatList(); // 복막투석 유지환자 리스트 조회
  364. // fSrchCnstcntsHist(); // 상담기록 리스트 조회
  365. // fPatBasePDPipeInfo(); // 복막투석 환자 기본정보 및 최종 도관기록 정보 조회
  366. }
  367. ]]>
  368. </script>
  369. </button>
  370. <line id="line13" class="line_4" style="x1:192px; y1:7px; x2:192px; y2:29px; "/>
  371. <input id="input1" ref="/root/main/condition/pid" class="input_search" style="left:105px; top:8px; width:80px; height:19px; ">
  372. <script type="javascript" ev:event="onkeyup">
  373. <![CDATA[
  374. inputEnterKey("btn_srchmainpatlist", "DOMActivate");
  375. ]]>
  376. </script>
  377. </input>
  378. </group>
  379. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:270px; y2:70px; "/>
  380. <button id="btn_hdreccase" class="btn_sw" group="tab" selected="true" style="left:273px; top:4px; width:82px; height:22px; ">
  381. <caption>HD상담기록</caption>
  382. <toggle case="case1" ev:event="onclick"/>
  383. <script type="javascript" ev:event="DOMActivate">
  384. <![CDATA[
  385. fInit(); // 초기화
  386. model.toggle("case1");
  387. rdo_dialflag.value = "H";
  388. fSrchHDMatnPatList(); // 혈액투석 유지환자 리스트 조회
  389. btn_crt.disabled = true; // 신규등록버튼 비활성화
  390. txt_hdcnstcnts.disabled = true; // 상담내용 텍스트박스 비활성화
  391. txt_pdcnstcnts.disabled = true;
  392. btn_savehdcnstcnts.disabled = true; // 저장버튼 비활성화
  393. btn_savepdcnstcnts.disabled = true;
  394. btn_pop.disabled = true;
  395. grd_hdmatnpatinfo.visible = true;
  396. grd_pdmatnpatinfo.visible = false;
  397. grd_hdmatnpatinfo.allstyle("all", "background-color") = "white";
  398. grd_pdmatnpatinfo.allstyle("all", "background-color") = "white";
  399. ]]>
  400. </script>
  401. </button>
  402. <switch id="switch1" style="left:273px; top:25px; width:921px; height:715px; border-color:#c7a3cf; border-style:solid; ">
  403. <case id="case1" selected="true" style="left:0px; top:0px; width:921px; height:715px; ">
  404. <line id="line8" class="line_2" style="x1:6px; y1:322px; x2:915px; y2:322px; "/>
  405. <caption id="caption10" class="cell_1" style="left:5px; top:226px; width:95px; height:98px; text-align:center; vertical-align:middle; ">동정맥루</caption>
  406. <caption id="caption9" class="cell_1" style="left:5px; top:130px; width:95px; height:95px; text-align:center; vertical-align:middle; ">투석도관</caption>
  407. <caption id="caption15" class="cell_1" style="left:243px; top:681px; width:78px; height:23px; text-align:center; vertical-align:middle; ">기록자</caption>
  408. <caption id="caption14" class="cell_1" style="left:5px; top:681px; width:78px; height:23px; text-align:center; vertical-align:middle; ">기록일시</caption>
  409. <caption id="caption4" class="cell_1" style="left:460px; top:30px; width:95px; height:23px; text-align:center; vertical-align:middle; ">기타전화1</caption>
  410. <caption id="caption3" class="cell_1" style="left:231px; top:30px; width:95px; height:23px; text-align:center; vertical-align:middle; ">핸 드 폰</caption>
  411. <line id="line2" class="line_1" style="x1:5px; y1:25px; x2:914px; y2:25px; "/>
  412. <caption id="caption22" class="tit_2" style="left:8px; top:10px; width:87px; height:13px; ">환자 연락처</caption>
  413. <caption id="caption1" class="cell_1" style="left:5px; top:30px; width:95px; height:23px; text-align:center; vertical-align:middle; ">집 전 화</caption>
  414. <output id="input3" ref="/root/main/getbaselist/getbaseinfo/hometel" class="output_fix" appearance="output" style="left:103px; top:31px; width:125px; height:19px; text-align:center; "/>
  415. <line id="line3" class="line_3" style="x1:5px; y1:52px; x2:914px; y2:52px; "/>
  416. <output id="input2" ref="/root/main/getbaselist/getbaseinfo/mpphontel" class="output_fix" appearance="output" style="left:329px; top:31px; width:128px; height:19px; text-align:center; "/>
  417. <input id="input4" ref="/root/main/getbaselist/getbaseinfo/etctel1" class="output_fix" style="left:558px; top:31px; width:120px; height:19px; text-align:center; "/>
  418. <caption id="caption5" class="cell_1" style="left:5px; top:82px; width:95px; height:23px; text-align:center; vertical-align:middle; ">등록번호</caption>
  419. <line id="line4" class="line_1" style="x1:5px; y1:77px; x2:914px; y2:77px; "/>
  420. <line id="line5" class="line_2" style="x1:5px; y1:104px; x2:914px; y2:104px; "/>
  421. <caption id="caption7" class="cell_1" style="left:593px; top:82px; width:95px; height:23px; text-align:center; vertical-align:middle; ">투석구분</caption>
  422. <line id="line6" class="line_2" style="x1:5px; y1:128px; x2:914px; y2:128px; "/>
  423. <caption id="caption8" class="cell_1" style="left:5px; top:106px; width:95px; height:23px; text-align:center; vertical-align:middle; ">최초투석시작일</caption>
  424. <caption id="caption11" class="cell_1" style="left:5px; top:325px; width:95px; height:96px; text-align:center; vertical-align:middle; ">시술과중재</caption>
  425. <caption id="caption12" class="cell_1" style="left:5px; top:422px; width:95px; height:33px; text-align:center; vertical-align:middle; ">투석스케줄</caption>
  426. <line id="line11" class="line_3" style="x1:5px; y1:454px; x2:914px; y2:454px; "/>
  427. <textarea id="txt_hdcnstcnts" ref="/root/main/reclist/recinfo/cnstcnts" disabled="true" style="left:5px; top:487px; width:909px; height:192px; "/>
  428. <caption id="caption13" class="tit_2" style="left:10px; top:466px; width:87px; height:13px; ">상담내용</caption>
  429. <line id="line12" class="line_1" style="x1:5px; y1:482px; x2:914px; y2:482px; "/>
  430. <input id="ipt_recdd" ref="/root/main/reclist/recinfo/recdd" class="input_default" disabled="true" inputtype="date" style="left:86px; top:682px; width:90px; height:19px; text-align:left; "/>
  431. <input id="ipt_rectm" ref="/root/main/reclist/recinfo/rectm" class="input_default" disabled="true" format="hh:nn" style="left:179px; top:682px; width:40px; height:19px; text-align:left; "/>
  432. <output id="output1" ref="/root/main/reclist/recinfo/recnm" class="output_fix" appearance="output" style="left:388px; top:682px; width:65px; height:19px; text-align:left; "/>
  433. <caption id="caption16" class="cell_1" style="left:201px; top:82px; width:95px; height:23px; text-align:center; vertical-align:middle; ">환 자 명</caption>
  434. <caption id="caption17" class="cell_1" style="left:397px; top:82px; width:95px; height:23px; text-align:center; vertical-align:middle; ">S / A</caption>
  435. <output id="input8" ref="/root/main/getbaselist/getbaseinfo/dialflag" class="output_fix" style="left:691px; top:83px; width:88px; height:19px; text-align:center; "/>
  436. <caption id="caption18" class="cell_1" style="left:201px; top:106px; width:95px; height:23px; text-align:center; vertical-align:middle; ">본원투석시작일</caption>
  437. <caption id="caption19" class="cell_1" style="left:397px; top:106px; width:95px; height:23px; text-align:center; vertical-align:middle; ">최종투석일</caption>
  438. <output id="input6" ref="/root/main/getbaselist/getbaseinfo/pid" class="output_fix" style="left:103px; top:83px; width:95px; height:19px; text-align:center; "/>
  439. <output id="intput6" ref="/root/main/getbaselist/getbaseinfo/hngnm" class="output_fix" style="left:299px; top:83px; width:95px; height:19px; text-align:center; "/>
  440. <output id="input9" ref="/root/main/getbaselist/getbaseinfo/sexage" class="output_fix" style="left:495px; top:83px; width:95px; height:19px; text-align:center; "/>
  441. <output id="input10" ref="/root/main/getbaselist/getbaseinfo/fstdialfromdd" class="output_fix" format="yyyy-mm-dd" style="left:103px; top:107px; width:95px; height:19px; text-align:center; "/>
  442. <output id="input11" ref="/root/main/getbaselist/getbaseinfo/roothospdialfromdd" class="output_fix" format="yyyy-mm-dd" style="left:299px; top:107px; width:95px; height:19px; text-align:center; "/>
  443. <output id="input12" ref="/root/main/getbaselist/getbaseinfo/lstdialfromdd" class="output_fix" format="yyyy-mm-dd" style="left:495px; top:107px; width:95px; height:19px; text-align:center; "/>
  444. <button id="btn_savehdcnstcnts" class="btn5_letter2" disabled="true" style="left:872px; top:461px; width:42px; height:19px; ">
  445. <caption>저장</caption>
  446. <script type="javascript" ev:event="DOMActivate">
  447. <![CDATA[
  448. fCnstInfo(); // 상담내용 저장
  449. fSrchCnstcntsHist(); // 상담기록 리스트 조회
  450. ]]>
  451. </script>
  452. </button>
  453. <caption id="caption21" class="tit_2" style="left:8px; top:62px; width:87px; height:13px; ">환자정보</caption>
  454. <line id="line14" class="line_3" style="x1:5px; y1:703px; x2:914px; y2:703px; "/>
  455. <button id="btn_clock" class="icon_clock" style="left:222px; top:683px; width:16px; height:16px; ">
  456. <caption/>
  457. <script type="javascript" ev:event="DOMActivate">
  458. <![CDATA[
  459. model.makeValue("/root/main/reclist/recinfo/recdd", getCurrentDate());
  460. model.makeValue("/root/main/reclist/recinfo/rectm", getCurrentTime().substr(0,4));
  461. ipt_recdd.refresh(); ipt_rectm.refresh();
  462. ]]>
  463. </script>
  464. </button>
  465. <output id="ipt_recid" ref="/root/main/reclist/recinfo/recid" class="output_fix" visibility="visible" style="left:324px; top:682px; width:61px; height:19px; text-align:right; "/>
  466. <line id="line28" class="line_2" style="x1:5px; y1:224px; x2:914px; y2:224px; "/>
  467. <line id="line29" class="line_2" style="x1:5px; y1:418px; x2:914px; y2:418px; "/>
  468. <datagrid id="grd_hmdlspipeinfo" nodeset="/root/main/hmdlspipeinfolist/hmdlspipeinfo" caption="부위^종류1^종류2^상태^수행일^제거이유^기록자^기록일^등록번호^유지환자등록일자^recdd^rectm^status" colsep="^" colwidth="70, 90, 90, 70, 70, 234, 80, 70, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:102px; top:131px; width:815px; height:94px; ">
  469. <col disabled="true" ref="partflag" type="combo" style="text-align:center; ">
  470. <choices>
  471. <itemset nodeset="/root/init/M0133list/M0133">
  472. <label ref="cdnm"/>
  473. <value ref="cdid"/>
  474. </itemset>
  475. </choices>
  476. </col>
  477. <col disabled="true" ref="kindflag1" type="combo" style="text-align:center; ">
  478. <choices>
  479. <itemset nodeset="/root/init/M0134list/M0134">
  480. <label ref="cdnm"/>
  481. <value ref="cdid"/>
  482. </itemset>
  483. </choices>
  484. </col>
  485. <col disabled="true" ref="kindflag2" type="combo" style="text-align:center; ">
  486. <choices>
  487. <itemset nodeset="/root/init/M0135list/M0135">
  488. <label ref="cdnm"/>
  489. <value ref="cdid"/>
  490. </itemset>
  491. </choices>
  492. </col>
  493. <col disabled="true" ref="statusflag" type="combo" style="text-align:center; ">
  494. <choices>
  495. <item>
  496. <label>삽입</label>
  497. <value>1</value>
  498. </item>
  499. <item>
  500. <label>제거</label>
  501. <value>2</value>
  502. </item>
  503. </choices>
  504. </col>
  505. <col ref="srgopdd" format="yyyy-mm-dd" style="text-align:center; "/>
  506. <col disabled="true" ref="elmnresnflag" type="combo">
  507. <choices>
  508. <itemset nodeset="/root/init/M0136list/M0136">
  509. <label ref="cdnm"/>
  510. <value ref="cdid"/>
  511. </itemset>
  512. </choices>
  513. </col>
  514. <col ref="btdgnm" style="text-align:center; "/>
  515. <col ref="btdgdd" format="yyyy-mm-dd" style="text-align:center; "/>
  516. <col ref="pid"/>
  517. <col ref="maintepatrgstdd"/>
  518. <col ref="recdd"/>
  519. <col ref="rectm"/>
  520. <col ref="status"/>
  521. </datagrid>
  522. <datagrid id="grd_avfinfo" nodeset="/root/main/avfinfolist/avfinfo" caption="부위^종류^사용혈관^모양^수술일^최초사용일^최종사용일^기록자^기록일^등록번호^유지환자등록일자^recdd^rectm^status" colsep="^" colwidth="69, 110, 270, 70, 85, 85, 85, 0, 0, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:102px; top:228px; width:815px; height:94px; ">
  523. <col disabled="true" ref="partflag" type="combo" style="text-align:center; ">
  524. <choices>
  525. <itemset nodeset="/root/init/M0138list/M0138">
  526. <label ref="cdnm"/>
  527. <value ref="cdid"/>
  528. </itemset>
  529. </choices>
  530. </col>
  531. <col disabled="true" ref="kindflag" type="combo" style="text-align:center; ">
  532. <choices>
  533. <itemset nodeset="/root/init/M0137list/M0137">
  534. <label ref="cdnm"/>
  535. <value ref="cdid"/>
  536. </itemset>
  537. </choices>
  538. </col>
  539. <col disabled="true" ref="useveslflag" type="combo">
  540. <choices>
  541. <itemset nodeset="/root/init/M0139list/M0139">
  542. <label ref="cdnm"/>
  543. <value ref="cdid"/>
  544. </itemset>
  545. </choices>
  546. </col>
  547. <col ref="shapeval" style="text-align:center; "/>
  548. <col ref="opdd" format="yyyy-mm-dd" style="text-align:center; "/>
  549. <col ref="fstusedd" format="yyyy-mm-dd" style="text-align:center; "/>
  550. <col ref="lastusedd" format="yyyy-mm-dd" style="text-align:center; "/>
  551. <col ref="avfrecnm" style="text-align:center; "/>
  552. <col ref="avfrecdd" format="yyyy-mm-dd" style="text-align:center; "/>
  553. <col ref="pid"/>
  554. <col ref="maintepatrgstdd"/>
  555. <col ref="recdd"/>
  556. <col ref="rectm"/>
  557. <col ref="status"/>
  558. </datagrid>
  559. <datagrid id="grd_oprtinfo" nodeset="/root/main/oprtinfolist/oprtinfo" caption="시술종류^시술원인^시술병원^시술일^기록자^기록일^등록번호^유지환자등록일자^recdd^rectm^status" colsep="^" colwidth="345, 181, 163, 85, 0, 0, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:102px; top:326px; width:815px; height:94px; ">
  560. <col disabled="true" ref="oprtkindflag" type="combo">
  561. <choices>
  562. <itemset nodeset="/root/init/M0140list/M0140">
  563. <label ref="cdnm"/>
  564. <value ref="cdid"/>
  565. </itemset>
  566. </choices>
  567. </col>
  568. <col disabled="true" ref="oprtcasflag" type="combo">
  569. <choices>
  570. <itemset nodeset="/root/init/M0141list/M0141">
  571. <label ref="cdnm"/>
  572. <value ref="cdid"/>
  573. </itemset>
  574. </choices>
  575. </col>
  576. <col ref="oprthospnm"/>
  577. <col ref="oprtdd" format="yyyy-mm-dd" style="text-align:center; "/>
  578. <col ref="oprtrecnm" style="text-align:center; "/>
  579. <col ref="oprtrecdd" format="yyyy-mm-dd" style="text-align:center; "/>
  580. <col ref="pid"/>
  581. <col ref="maintepatrgstdd"/>
  582. <col ref="recdd"/>
  583. <col ref="rectm"/>
  584. <col ref="status"/>
  585. </datagrid>
  586. <caption id="caption27" class="cell_1" style="left:680px; top:30px; width:95px; height:23px; text-align:center; vertical-align:middle; ">기타전화2</caption>
  587. <input id="input13" ref="/root/main/getbaselist/getbaseinfo/etctel2" class="output_fix" style="left:778px; top:31px; width:135px; height:19px; text-align:center; "/>
  588. <textarea id="textarea1" ref="/root/main/getbaselist/getbaseinfo/schedulinfo" disabled="true" style="left:102px; top:422px; width:815px; height:30px; "/>
  589. </case>
  590. <case id="case2">
  591. <line id="line10" class="line_2" style="x1:5px; y1:321px; x2:914px; y2:321px; "/>
  592. <datagrid id="grd_t_set" nodeset="/root/main/t_setlist/t_setinfo" caption="교환일^교환예정일^Remark^pid^유지환자등록일자^recdd^rectm^status" colsep="^" colwidth="95, 95, 584, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:102px; top:226px; width:814px; height:94px; background-color:transparent; ">
  593. <col ref="exchdd" format="yyyy-mm-dd" validateformat="true" style="text-align:center; "/>
  594. <col ref="scheexchdd" format="yyyy-mm-dd" style="text-align:center; "/>
  595. <col ref="remark"/>
  596. <col ref="pid"/>
  597. <col ref="maintepatrgstdd"/>
  598. <col ref="recdd"/>
  599. <col ref="rectm"/>
  600. <col ref="status"/>
  601. <script type="javascript" ev:event="xforms-value-changed">
  602. <![CDATA[
  603. var iRow = grd_t_set.row;
  604. if(model.getValue("/root/main/reclist/recinfo/t_setlist/t_setinfo["+iRow+"]/status") == "") {
  605. model.setValue("/root/main/reclist/recinfo/t_setlist/t_setinfo["+iRow+"]/status", "u"); // 상태값 설정 (update)
  606. }
  607. ]]>
  608. </script>
  609. </datagrid>
  610. <button id="btn_pop" class="btn2_letter12" disabled="true" style="left:716px; top:422px; width:152px; height:19px; ">
  611. <caption>복막투석실시등록 내역보기</caption>
  612. <script type="javascript" ev:event="DOMActivate">
  613. <![CDATA[
  614. open("SMMND00800", "", 1, 1, "SMMND00800", "/root/main/paminfo/list", "/root/temp/paminfo");
  615. ]]>
  616. </script>
  617. </button>
  618. <input id="ipt_recdd2" ref="/root/main/reclist/recinfo/recdd" class="input_default" disabled="true" inputtype="date" style="left:86px; top:684px; width:90px; height:19px; text-align:left; "/>
  619. <output id="output4" ref="/root/main/getbaselist/getbaseinfo/dialflag" class="output_fix" style="left:691px; top:83px; width:88px; height:19px; text-align:center; "/>
  620. <output id="output21" ref="/root/main/getbaselist/getbaseinfo/sexage" class="output_fix" style="left:495px; top:83px; width:95px; height:19px; text-align:center; "/>
  621. <output id="input15" ref="/root/main/reclist/recinfo/recid" class="output_fix" visibility="visible" style="left:324px; top:684px; width:61px; height:19px; text-align:right; "/>
  622. <output id="output30" ref="/root/main/getbaselist/getbaseinfo/fstdialfromdd" class="output_fix" format="yyyy-mm-dd" style="left:103px; top:107px; width:95px; height:19px; text-align:center; "/>
  623. <output id="output31" ref="/root/main/getbaselist/getbaseinfo/hngnm" class="output_fix" style="left:299px; top:83px; width:95px; height:19px; text-align:center; "/>
  624. <line id="line18" class="line_1" style="x1:5px; y1:444px; x2:914px; y2:444px; "/>
  625. <caption id="caption31" class="tit_2" style="left:8px; top:62px; width:87px; height:13px; ">환자정보</caption>
  626. <output id="output33" ref="/root/main/getbaselist/getbaseinfo/roothospdialfromdd" class="output_fix" format="yyyy-mm-dd" style="left:299px; top:107px; width:95px; height:19px; text-align:center; "/>
  627. <caption id="caption32" class="cell_1" style="left:5px; top:226px; width:95px; height:96px; text-align:center; vertical-align:middle; ">T - Set</caption>
  628. <output id="output35" ref="/root/main/getbaselist/getbaseinfo/lstdialfromdd" class="output_fix" format="yyyy-mm-dd" style="left:495px; top:107px; width:95px; height:19px; text-align:center; "/>
  629. <caption id="caption36" class="cell_1" style="left:5px; top:323px; width:95px; height:96px; text-align:center; vertical-align:middle; ">감염관리</caption>
  630. <caption id="caption37" class="tit_2" style="left:8px; top:10px; width:87px; height:13px; ">환자 연락처</caption>
  631. <caption id="caption60" class="tit_2" style="left:10px; top:429px; width:87px; height:13px; ">상담내용</caption>
  632. <line id="line20" class="line_2" style="x1:5px; y1:224px; x2:914px; y2:224px; "/>
  633. <caption id="caption64" class="cell_1" style="left:5px; top:82px; width:95px; height:23px; text-align:center; vertical-align:middle; ">등록번호</caption>
  634. <caption id="caption65" class="cell_1" style="left:5px; top:682px; width:78px; height:23px; text-align:center; vertical-align:middle; ">기록일시</caption>
  635. <line id="line22" class="line_3" style="x1:5px; y1:419px; x2:914px; y2:419px; "/>
  636. <line id="line23" class="line_1" style="x1:5px; y1:25px; x2:914px; y2:25px; "/>
  637. <caption id="caption67" class="cell_1" style="left:243px; top:682px; width:78px; height:23px; text-align:center; vertical-align:middle; ">기록자</caption>
  638. <button id="btn_savepdcnstcnts" class="btn5_letter2" disabled="true" style="left:871px; top:422px; width:42px; height:19px; ">
  639. <caption>저장</caption>
  640. <script type="javascript" ev:event="DOMActivate">
  641. <![CDATA[
  642. fCnstInfo(); // 상담내용 저장
  643. fSrchCnstcntsHist(); // 상담기록 리스트 조회
  644. ]]>
  645. </script>
  646. </button>
  647. <caption id="caption69" class="cell_1" style="left:201px; top:82px; width:95px; height:23px; text-align:center; vertical-align:middle; ">환 자 명</caption>
  648. <caption id="caption70" class="cell_1" style="left:593px; top:82px; width:95px; height:23px; text-align:center; vertical-align:middle; ">투석구분</caption>
  649. <line id="line24" class="line_3" style="x1:5px; y1:52px; x2:914px; y2:52px; "/>
  650. <caption id="caption72" class="cell_1" style="left:397px; top:82px; width:95px; height:23px; text-align:center; vertical-align:middle; ">S / A</caption>
  651. <caption id="caption73" class="cell_1" style="left:5px; top:106px; width:95px; height:23px; text-align:center; vertical-align:middle; ">최초투석시작일</caption>
  652. <line id="line25" class="line_1" style="x1:5px; y1:77px; x2:914px; y2:77px; "/>
  653. <caption id="caption74" class="cell_1" style="left:201px; top:106px; width:95px; height:23px; text-align:center; vertical-align:middle; ">본원투석시작일</caption>
  654. <output id="output42" ref="/root/main/reclist/recinfo/recnm" class="output_fix" appearance="output" style="left:388px; top:684px; width:65px; height:19px; text-align:left; "/>
  655. <caption id="caption75" class="cell_1" style="left:5px; top:130px; width:95px; height:95px; text-align:center; vertical-align:middle; ">복막투석도관</caption>
  656. <line id="line26" class="line_2" style="x1:5px; y1:104px; x2:914px; y2:104px; "/>
  657. <caption id="caption76" class="cell_1" style="left:397px; top:106px; width:95px; height:23px; text-align:center; vertical-align:middle; ">최종방문일</caption>
  658. <input id="ipt_rectm2" ref="/root/main/reclist/recinfo/rectm" class="input_default" disabled="true" format="hh:nn" style="left:179px; top:684px; width:40px; height:19px; text-align:left; "/>
  659. <line id="line30" class="line_2" style="x1:5px; y1:128px; x2:914px; y2:128px; "/>
  660. <button id="btn_clock2" class="icon_clock" style="left:222px; top:685px; width:16px; height:16px; ">
  661. <caption/>
  662. <script type="javascript" ev:event="DOMActivate">
  663. <![CDATA[
  664. model.makeValue("/root/main/reclist/recinfo/recdd", getCurrentDate());
  665. model.makeValue("/root/main/reclist/recinfo/rectm", getCurrentTime().substr(0,4));
  666. ipt_recdd2.refresh(); ipt_rectm2.refresh();
  667. ]]>
  668. </script>
  669. </button>
  670. <output id="output43" ref="/root/main/getbaselist/getbaseinfo/pid" class="output_fix" style="left:103px; top:83px; width:95px; height:19px; text-align:center; "/>
  671. <line id="line19" class="line_3" style="x1:5px; y1:705px; x2:914px; y2:705px; "/>
  672. <caption id="caption23" class="cell_1" style="left:5px; top:30px; width:95px; height:23px; text-align:center; vertical-align:middle; ">집 전 화</caption>
  673. <input id="input16" ref="/root/main/getbaselist/getbaseinfo/etctel2" class="output_fix" style="left:778px; top:31px; width:135px; height:19px; text-align:center; "/>
  674. <caption id="caption24" class="cell_1" style="left:231px; top:30px; width:95px; height:23px; text-align:center; vertical-align:middle; ">핸 드 폰</caption>
  675. <caption id="caption25" class="cell_1" style="left:460px; top:30px; width:95px; height:23px; text-align:center; vertical-align:middle; ">기타전화1</caption>
  676. <caption id="caption26" class="cell_1" style="left:680px; top:30px; width:95px; height:23px; text-align:center; vertical-align:middle; ">기타전화2</caption>
  677. <output id="output2" ref="/root/main/getbaselist/getbaseinfo/mpphontel" class="output_fix" appearance="output" style="left:329px; top:31px; width:128px; height:19px; text-align:center; "/>
  678. <output id="output3" ref="/root/main/getbaselist/getbaseinfo/hometel" class="output_fix" appearance="output" style="left:103px; top:31px; width:125px; height:19px; text-align:center; "/>
  679. <input id="input18" ref="/root/main/getbaselist/getbaseinfo/etctel1" class="output_fix" style="left:558px; top:31px; width:120px; height:19px; text-align:center; "/>
  680. <datagrid id="grd_infc" nodeset="/root/main/infclist/infcinfo" caption="발생일^감염종류^원인균^항생제^항생제 사용기간^예후^Remark^pid^유지환자등록일자^recdd^rectm^status" colsep="^" colwidth="70, 80, 140, 96, 110, 85, 193, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:102px; top:323px; width:814px; height:94px; ">
  681. <col ref="genrday" format="yyyy-mm-dd" style="text-align:center; "/>
  682. <col disabled="true" ref="infckindflag" type="combo">
  683. <choices>
  684. <itemset nodeset="/root/init/M0145list/M0145">
  685. <label ref="cdnm"/>
  686. <value ref="cdid"/>
  687. </itemset>
  688. </choices>
  689. </col>
  690. <col disabled="true" ref="casbacflag" type="combo">
  691. <choices>
  692. <itemset nodeset="/root/init/M0146list/M0146">
  693. <label ref="cdnm"/>
  694. <value ref="cdid"/>
  695. </itemset>
  696. </choices>
  697. </col>
  698. <col ref="antibionm"/>
  699. <col ref="antibiouseterm"/>
  700. <col disabled="true" ref="afterflag" type="combo">
  701. <choices>
  702. <itemset nodeset="/root/init/M0147list/M0147">
  703. <label ref="cdnm"/>
  704. <value ref="cdid"/>
  705. </itemset>
  706. </choices>
  707. </col>
  708. <col ref="remark"/>
  709. <col ref="pid"/>
  710. <col ref="maintepatrgstdd"/>
  711. <col ref="recdd"/>
  712. <col ref="rectm"/>
  713. <col ref="status"/>
  714. <script type="javascript" ev:event="onbuttonclick">
  715. <![CDATA[
  716. if(grd_infc.col == 9) {
  717. grd_infc.textmatrix(grd_infc.row, 9) = getCurrentTime().substr(0,4); //기록시간
  718. model.refresh();
  719. }
  720. ]]>
  721. </script>
  722. <script type="javascript" ev:event="xforms-value-changed">
  723. <![CDATA[
  724. var iRow = grd_infc.row;
  725. if(model.getValue("/root/main/reclist/recinfo/infclist/infcinfo["+iRow+"]/status") == "") {
  726. model.setValue("/root/main/reclist/recinfo/infclist/infcinfo["+iRow+"]/status", "u"); // 상태값 설정 (update)
  727. }
  728. ]]>
  729. </script>
  730. </datagrid>
  731. <datagrid id="grd_peritcoduit" nodeset="/root/main/peritcoduitlist/peritcoduitinfo" caption="Cath. 종류^부위^상태^수행일^제거사유^기록자^기록일" colsep="^" colwidth="180, 61, 55, 78, 245, 80, 75, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:102px; top:129px; width:814px; height:94px; ">
  732. <col disabled="true" ref="cathkindflag" type="combo">
  733. <choices>
  734. <itemset nodeset="/root/init/M0142list/M0142">
  735. <label ref="cdnm"/>
  736. <value ref="cdid"/>
  737. </itemset>
  738. </choices>
  739. </col>
  740. <col disabled="true" ref="partflag" type="combo" style="text-align:center; ">
  741. <choices>
  742. <itemset nodeset="/root/init/M0133list/M0133">
  743. <label ref="cdnm"/>
  744. <value ref="cdid"/>
  745. </itemset>
  746. </choices>
  747. </col>
  748. <col disabled="true" ref="statusflag" type="combo" style="text-align:center; ">
  749. <choices>
  750. <item>
  751. <label>삽입</label>
  752. <value>1</value>
  753. </item>
  754. <item>
  755. <label>제거</label>
  756. <value>2</value>
  757. </item>
  758. </choices>
  759. </col>
  760. <col ref="execdd" format="yyyy-mm-dd" style="text-align:center; "/>
  761. <col disabled="true" ref="elmnresnflag" type="combo" style="left:0px; top:0px; width:0px; height:0px; ">
  762. <choices>
  763. <itemset nodeset="/root/init/M0144list/M0144">
  764. <label ref="cdnm"/>
  765. <value ref="cdid"/>
  766. </itemset>
  767. </choices>
  768. </col>
  769. <col ref="htdgnm" style="text-align:center; "/>
  770. <col ref="htdgdd" format="yyyy-mm-dd" style="text-align:center; "/>
  771. <col ref="pid"/>
  772. <col ref="maintepatrgstdd"/>
  773. <col ref="recdd"/>
  774. <col ref="rectm"/>
  775. <col ref="status"/>
  776. <script type="javascript" ev:event="xforms-value-changed">
  777. <![CDATA[
  778. var iRow = grd_peritcoduit.row;
  779. if(model.getValue("/root/main/reclist/recinfo/peritcoduitlist/peritcoduitinfo["+iRow+"]/status") == "") {
  780. model.setValue("/root/main/reclist/recinfo/peritcoduitlist/peritcoduitinfo["+iRow+"]/status", "u"); // 상태값 설정 (update)
  781. }
  782. ]]>
  783. </script>
  784. </datagrid>
  785. <textarea id="txt_pdcnstcnts" ref="/root/main/reclist/recinfo/cnstcnts" disabled="true" style="left:5px; top:449px; width:909px; height:232px; "/>
  786. </case>
  787. </switch>
  788. <caption id="caption20" class="tit_2" style="left:5px; top:55px; width:118px; height:14px; ">유지환자 리스트</caption>
  789. <select1 id="rdo_dialflag" ref="/root/main/condition/dialflag" appearance="full" cols="2" overflow="visible" style="left:140px; top:54px; width:85px; height:13px; border-style:none; ">
  790. <choices>
  791. <item>
  792. <label>HD</label>
  793. <value>H</value>
  794. </item>
  795. <item>
  796. <label>PD</label>
  797. <value>P</value>
  798. </item>
  799. </choices>
  800. <script type="javascript" ev:event="xforms-value-changed">
  801. <![CDATA[
  802. fInit(); // 초기화
  803. btn_crt.disabled = true; // 신규등록버튼 비활성화
  804. txt_hdcnstcnts.disabled = true; // 상담내용 텍스트박스 비활성화
  805. txt_pdcnstcnts.disabled = true;
  806. btn_savehdcnstcnts.disabled = true; // 저장버튼 비활성화
  807. btn_savepdcnstcnts.disabled = true;
  808. btn_pop.disabled = true;
  809. if(rdo_dialflag.value == "H") {
  810. fSrchHDMatnPatList(); // 혈액투석 유지환자 리스트 조회
  811. grd_hdmatnpatinfo.visible = true;
  812. grd_pdmatnpatinfo.visible = false;
  813. grd_hdmatnpatinfo.allstyle("all", "background-color") = "white";
  814. grd_pdmatnpatinfo.allstyle("all", "background-color") = "white";
  815. model.toggle("case1");
  816. // btn_hdreccase.disabled = false;
  817. // btn_pdreccase.disabled = true;
  818. btn_hdreccase.selected = true;
  819. } else if(rdo_dialflag.value == "P") {
  820. fSrchPDMatnPatList(); // 복막투석 유지환자 리스트 조회
  821. grd_hdmatnpatinfo.visible = false;
  822. grd_pdmatnpatinfo.visible = true;
  823. grd_hdmatnpatinfo.allstyle("all", "background-color") = "white";
  824. grd_pdmatnpatinfo.allstyle("all", "background-color") = "white";
  825. model.toggle("case2");
  826. // btn_hdreccase.disabled = true;
  827. // btn_pdreccase.disabled = false;
  828. btn_pdreccase.selected = true;
  829. }
  830. ]]>
  831. </script>
  832. </select1>
  833. <button id="btn_pdreccase" class="btn_sw" group="tab" style="left:355px; top:4px; width:83px; height:22px; ">
  834. <caption>PD상담기록</caption>
  835. <toggle case="case1" ev:event="onclick"/>
  836. <script type="javascript" ev:event="DOMActivate">
  837. <![CDATA[
  838. fInit(); // 초기화
  839. model.toggle("case2");
  840. rdo_dialflag.value = "P";
  841. fSrchPDMatnPatList(); // 복막투석 유지환자 리스트 조회
  842. btn_crt.disabled = true; // 신규등록버튼 비활성화
  843. txt_hdcnstcnts.disabled = true; // 상담내용 텍스트박스 비활성화
  844. txt_pdcnstcnts.disabled = true;
  845. btn_savehdcnstcnts.disabled = true; // 저장버튼 비활성화
  846. btn_savepdcnstcnts.disabled = true;
  847. btn_pop.disabled = true;
  848. grd_hdmatnpatinfo.visible = false;
  849. grd_pdmatnpatinfo.visible = true;
  850. grd_hdmatnpatinfo.allstyle("all", "background-color") = "white";
  851. grd_pdmatnpatinfo.allstyle("all", "background-color") = "white";
  852. ]]>
  853. </script>
  854. </button>
  855. <caption id="caption42" class="tit_2" style="left:5px; top:420px; width:118px; height:14px; ">상담기록 리스트</caption>
  856. <line id="line27" class="line_1" style="x1:0px; y1:435px; x2:270px; y2:435px; "/>
  857. <datagrid id="grd_rechistinfo" nodeset="/root/main/cnstcntshistlist/cnstcntshistinfo" caption="기록일자^기록시간^기록자^pid^maintepatrgstdd" colsep="^" colwidth="89, 60, 78, 0, 0" focuscolor="transparent" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:440px; width:270px; height:300px; ">
  858. <col ref="recdd" format="yyyy-mm-dd"/>
  859. <col ref="rectm" format="hh:nn"/>
  860. <col ref="recnm"/>
  861. <col ref="pid"/>
  862. <col ref="maintepatrgstdd"/>
  863. <script type="javascript" ev:event="ondblclick">
  864. <![CDATA[
  865. var iRow = grd_rechistinfo.row;
  866. if (iRow > 0) {
  867. fSrchCnstcntsHist(); // 상담기록 리스트 조회
  868. fSrchCnstcntsInfo(iRow); // HD상담기록 조회
  869. }
  870. ]]>
  871. </script>
  872. </datagrid>
  873. <button id="btn_crt" class="btn2_letter4" disabled="true" style="left:204px; top:413px; width:64px; height:19px; ">
  874. <caption>신규등록</caption>
  875. <script type="javascript" ev:event="DOMActivate">
  876. <![CDATA[
  877. fSetNewRecInfo(); // 신규등록버튼 클릭 시
  878. ]]>
  879. </script>
  880. </button>
  881. <output id="opt_chkpid" ref="/root/main/chklist/chkinfo/pid" class="output_fix" visibility="hidden" style="left:605px; top:3px; width:70px; height:19px; "/>
  882. </group>
  883. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">상담기록</caption>
  884. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; "/>
  885. </xhtml:body>
  886. </xhtml:html>