SMMNH06700_사별가족기록지.xrw 52 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <hospiceinfo>
  11. <hospicedetl>
  12. <childyn>Y</childyn>
  13. <jobyn/>
  14. <nurshiryn/>
  15. <missgrde/>
  16. <angrygrde/>
  17. <blamegrde/>
  18. <patrelaflag/>
  19. <patrela/>
  20. <adaptabilflag/>
  21. <adaptabil/>
  22. <remark/>
  23. <cond/>
  24. <thirtycall/>
  25. <thirtyletter/>
  26. <hundletter/>
  27. <sixmonthletter/>
  28. <ninmonthletter/>
  29. <yearletter/>
  30. <onemeet/>
  31. <twomeet/>
  32. <threemeet/>
  33. <dethrela>4</dethrela>
  34. <dethstat>2</dethstat>
  35. <dethprep/>
  36. <dethrespon/>
  37. <healthstat>3</healthstat>
  38. <drugstat>N</drugstat>
  39. <sleepstat>3</sleepstat>
  40. <menthealthstat>1</menthealthstat>
  41. <delthadptgrde>1</delthadptgrde>
  42. <emotionstat>1</emotionstat>
  43. <soclact>Y</soclact>
  44. <soclactdesc/>
  45. <socloperyn>Y</socloperyn>
  46. <socloperdesc/>
  47. <hobact>Y</hobact>
  48. <hobactdesc/>
  49. <relignyn>Y</relignyn>
  50. <religndesc/>
  51. <spiritprob>Y</spiritprob>
  52. <spiritprobdesc/>
  53. <spirtisupyn>Y</spirtisupyn>
  54. <stresskind>1</stresskind>
  55. <othrexpyn>Y</othrexpyn>
  56. <othrexpdesc/>
  57. <etc/>
  58. <famycnst>
  59. <famylist>
  60. <famylist>
  61. <cnstdd/>
  62. <cnst/>
  63. </famylist>
  64. </famylist>
  65. </famycnst>
  66. <visitcnst>
  67. <visitlist>
  68. <visitlist>
  69. <visitdd/>
  70. <visit/>
  71. </visitlist>
  72. </visitlist>
  73. </visitcnst>
  74. </hospicedetl>
  75. </hospiceinfo>
  76. <cond>
  77. <hospicegubun>1 2</hospicegubun>
  78. <refflag>1</refflag>
  79. <refnm/>
  80. <fbrthdd/>
  81. <lbrthdd/>
  82. <resncd/>
  83. <pamcgubun>W</pamcgubun>
  84. <recyn/>
  85. <dethyn/>
  86. </cond>
  87. <hospice>
  88. <hospicelist/>
  89. </hospice>
  90. </main>
  91. <send>
  92. <savedata/>
  93. <reqdata>
  94. <pid/>
  95. <cretdd/>
  96. <crettm/>
  97. </reqdata>
  98. </send>
  99. <init>
  100. <M0469detl>
  101. <M0469>
  102. <cdid/>
  103. <cdnm/>
  104. </M0469>
  105. </M0469detl>
  106. </init>
  107. </root>
  108. </instance>
  109. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  110. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  111. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  112. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  113. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  114. <script type="javascript" ev:event="xforms-ready">
  115. <![CDATA[
  116. // model.setFocus("rdo_childyn");
  117. // if(checkOpener()) {
  118. // //호스피스 환자관리에서 가져오는 paramter를 pid, cretdt, reqdeptcd,reqdd,wardcd 임시변수에 저장
  119. // var pid = opener.javascript.getParameter("pid");
  120. // var cretdd = opener.javascript.getParameter("cretdd");
  121. // var crettm = opener.javascript.getParameter("crettm");
  122. //
  123. // model.setValue("/root/send/reqdata/pid",pid);
  124. // model.setValue("/root/send/reqdata/cretdd",cretdd);
  125. // model.setValue("/root/send/reqdata/crettm",crettm);
  126. //
  127. // fSearch();
  128. // }
  129. zbcfGetCodeList(new Array("M0469"), new Array("/root/init/M0469detl"));
  130. btn_search.dispatch("DOMActivate");
  131. ]]>
  132. </script>
  133. <submission id="TRMNH06701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/hospiceinfo"/>
  134. <submission id="TXMNH06701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/temp"/>
  135. <submission id="TRMNH02901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata2" resultref="/root/main/hospice"/>
  136. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  137. </model>
  138. <script type="javascript">
  139. <![CDATA[
  140. var flag = "init";
  141. function fSettingGridSize() {
  142. if(flag == "init" || flag =="down") {
  143. grd_hospicelist.attribute("width") = "520"
  144. } else {
  145. grd_hospicelist.attribute("width") = "1200"
  146. }
  147. grd_hospicelist.refresh();
  148. }
  149. function fSearch() {
  150. flag = "init";
  151. fSettingGridSize();
  152. submit("TRMNH06701");
  153. if(rdo_soclact.value=="Y") {
  154. ipt_soclactdesc.disabled = false;
  155. } else {
  156. ipt_soclactdesc.disabled = true;
  157. }
  158. if(rdo_socloperyn.value == "Y") {
  159. ipt_socloperdesc.disabled = false;
  160. } else {
  161. ipt_socloperdesc.disabled = true;
  162. }
  163. if(rdo_hobact.value == "Y") {
  164. ipt_hobactdesc.disabled = false;
  165. } else {
  166. ipt_hobactdesc.disabled = true;
  167. }
  168. if(rdo_relignyn.value == "Y") {
  169. ipt_religndesc.disabled = false;
  170. } else {
  171. ipt_religndesc.disabled = true;
  172. }
  173. if(rdo_spiritprob.value == "Y") {
  174. ipt_spiritprobdesc.disabled = false;
  175. } else {
  176. ipt_spiritprobdesc.disabled = true;
  177. }
  178. if(rdo_othrexpyn.value == "Y") {
  179. ipt_othrexpdesc.disabled = false;
  180. } else {
  181. ipt_othrexpdesc.disabled = true;
  182. }
  183. }
  184. function fSearch2() {
  185. flag = "init";
  186. fSettingGridSize();
  187. model.makeNode("/root/send/reqdata2");
  188. model.copyNode("/root/send/reqdata2", "/root/main/cond");
  189. var gubn = model.getValue(chk_hospicegubun.attribute("ref"));
  190. var val = "";
  191. if(gubn == "1 2" || gubn == "2 1") {
  192. val = "3";
  193. } else if(gubn == "") {
  194. val = "0";
  195. } else {
  196. val = gubn;
  197. }
  198. model.setValue("/root/send/reqdata2/hospicegubun", val);
  199. model.makeValue("/root/send/reqdata2/flag", "Y");
  200. submit("TRMNH02901");
  201. }
  202. function fPamcChange() {
  203. chk_dethyn.visible = false;
  204. if (model.getValue("/root/main/cond/pamcgubun") == "R") {
  205. caption36.visible = false; // 조회기간
  206. ipt_fbrthdd.visible = false;
  207. ipt_lbrthdd.visible = false;
  208. lb_resncd.visible = false; //제외사유
  209. cmb_resncd.visible = false;
  210. }else if (model.getValue("/root/main/cond/pamcgubun") == "W") {//대기
  211. var nsgbn = model.getValue("/root/main/hospice/hospicelist[" + grd_hospicelist.row + "]/nsgbn");//의뢰경로
  212. caption36.visible = false; // 조회기간
  213. ipt_fbrthdd.visible = false;
  214. ipt_lbrthdd.visible = false;
  215. lb_resncd.visible = false; //제외사유
  216. cmb_resncd.visible = false;
  217. }else if (model.getValue("/root/main/cond/pamcgubun") == "D") {//분산
  218. var nsgbn = model.getValue("/root/main/hospice/hospicelist[" + grd_hospicelist.row + "]/nsgbn");//의뢰경로
  219. caption36.visible = false; // 조회기간
  220. ipt_fbrthdd.visible = false;
  221. ipt_lbrthdd.visible = false;
  222. lb_resncd.visible = false; //제외사유
  223. cmb_resncd.visible = false;
  224. }else if (model.getValue("/root/main/cond/pamcgubun") == "I") {//입실
  225. caption36.visible = false; // 조회기간
  226. ipt_fbrthdd.visible = false;
  227. ipt_lbrthdd.visible = false;
  228. lb_resncd.visible = false; //제외사유
  229. cmb_resncd.visible = false;
  230. }else if (model.getValue("/root/main/cond/pamcgubun") == "L") {//퇴실
  231. caption36.visible = true; // 조회기간
  232. ipt_fbrthdd.visible = true;
  233. ipt_lbrthdd.visible = true;
  234. lb_resncd.visible = false; //제외사유
  235. cmb_resncd.visible = false;
  236. chk_dethyn.visible = true;
  237. model.setValue(ipt_lbrthdd.attribute("ref"), getCurrentDate());
  238. model.setValue(ipt_fbrthdd.attribute("ref"), ((getCurrentDate().toDate()).getAddDate(-1, "M")).getDateFormat());
  239. }else if (model.getValue("/root/main/cond/pamcgubun") == "O") {//서비스종료
  240. model.setValue("/root/main/cond/resncd", "");
  241. caption36.visible = true; // 조회기간
  242. ipt_fbrthdd.visible = true;
  243. ipt_lbrthdd.visible = true;
  244. cmb_resncd.visible = true;
  245. lb_resncd.visible = true; //제외사유
  246. lb_resncd.attribute("text") = "종료사유 : ";
  247. model.setValue(ipt_lbrthdd.attribute("ref"), getCurrentDate());
  248. model.setValue(ipt_fbrthdd.attribute("ref"), ((getCurrentDate().toDate()).getAddDate(-1, "M")).getDateFormat());
  249. }else if (model.getValue("/root/main/cond/pamcgubun") == "P") {//대기종료
  250. model.setValue("/root/main/cond/resncd", "");
  251. caption36.visible = true; // 조회기간
  252. ipt_fbrthdd.visible = true;
  253. ipt_lbrthdd.visible = true;
  254. lb_resncd.visible = true;
  255. cmb_resncd.visible = true;
  256. model.setValue(ipt_lbrthdd.attribute("ref"), getCurrentDate());
  257. model.setValue(ipt_fbrthdd.attribute("ref"), ((getCurrentDate().toDate()).getAddDate(-1, "M")).getDateFormat());
  258. }
  259. }
  260. function LPAD(s, c, n) {
  261. if (! s || ! c || s.length >= n) {
  262. return s;
  263. }
  264. var max = (n - s.length)/c.length;
  265. for (var i = 0; i < max; i++) {
  266. s = c + s;
  267. }
  268. return s;
  269. }
  270. ]]>
  271. </script>
  272. </xhtml:head>
  273. <xhtml:body scroll="autovscroll" pagewidth="1211" pageheight="786" guideline="2,765;">
  274. <select id="checkbox1" ref="/root/main/hospiceinfo/hospicedetl/dethstat" overflow="visible" appearance="full" cellspacing="100" cols="2" style="left:640px; top:407px; width:550px; height:13px; border-style:none; ">
  275. <choices>
  276. <item>
  277. <label>유가족의 죽음에 대한 준비</label>
  278. <value>1</value>
  279. </item>
  280. <item>
  281. <label>유가족의 죽음에 대한 반응</label>
  282. <value>2</value>
  283. </item>
  284. </choices>
  285. </select>
  286. <datagrid id="grd_famycnst" nodeset="/root/main/hospiceinfo/hospicedetl/famycnst/famylist/famylist" class="datagrid0" autoresize="true" caption="^" colsep="^" colwidth="100, 531" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:530px; top:697px; width:673px; height:69px; ">
  287. <col ref="cnstdd" type="inputdate"/>
  288. <col ref="cnst" type="input"/>
  289. </datagrid>
  290. <line id="line8" class="line_1" style="x1:530px; y1:692px; x2:1203px; y2:692px; "/>
  291. <textarea id="tar_sixmonthletter" ref="/root/main/hospiceinfo/hospicedetl/sixmonthletter" scroll="autovscroll" style="left:823px; top:227px; width:71px; height:35px; text-align:center; vertical-align:middle; "/>
  292. <line id="line9" class="line_1" style="x1:530px; y1:285px; x2:1203px; y2:285px; "/>
  293. <button id="btn_visitadd" class="btn2_letter3" style="left:1096px; top:265px; width:53px; height:19px; ">
  294. <caption>행추가</caption>
  295. <script type="javascript" ev:event="DOMActivate">
  296. <![CDATA[
  297. grd_visitdesc.addRow();
  298. grd_visitdesc.valueMatrix(grd_visitdesc.row, grd_visitdesc.colRef("visitdd")) = getCurrentDate();
  299. ]]>
  300. </script>
  301. </button>
  302. <textarea id="tar_ninmonthletter" ref="/root/main/hospiceinfo/hospicedetl/ninmonthletter" scroll="autovscroll" style="left:893px; top:227px; width:71px; height:35px; text-align:center; vertical-align:middle; "/>
  303. <input id="ipt_adaptabil" ref="/root/main/hospiceinfo/hospicedetl/adaptabil" style="left:850px; top:124px; width:350px; height:19px; "/>
  304. <button id="button2" class="btn2_letter3" style="left:1150px; top:265px; width:53px; height:19px; ">
  305. <caption>행삭제</caption>
  306. <script type="javascript" ev:event="DOMActivate">
  307. <![CDATA[
  308. grd_visitdesc.deleteRow(grd_visitdesc.row);
  309. ]]>
  310. </script>
  311. </button>
  312. <datagrid id="grd_visitdesc" nodeset="/root/main/hospiceinfo/hospicedetl/visitcnst/visitlist/visitlist" class="datagrid" caption="방문^방문" colsep="^" colwidth="93, 487" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:530px; top:290px; width:673px; height:69px; ">
  313. <col ref="visitdd" type="inputdate"/>
  314. <col ref="visit" type="input"/>
  315. </datagrid>
  316. <textarea id="tar_yearletter" ref="/root/main/hospiceinfo/hospicedetl/yearletter" scroll="autovscroll" style="left:963px; top:227px; width:71px; height:35px; text-align:center; vertical-align:middle; "/>
  317. <line id="line10" class="line_2" style="x1:530px; y1:518px; x2:1203px; y2:518px; "/>
  318. <textarea id="tar_onemeet" ref="/root/main/hospiceinfo/hospicedetl/onemeet" scroll="autovscroll" style="left:1033px; top:227px; width:57px; height:35px; text-align:center; vertical-align:middle; "/>
  319. <line id="line11" class="line_2" style="x1:636px; y1:449px; x2:1203px; y2:449px; "/>
  320. <line id="line12" class="line_2" style="x1:530px; y1:401px; x2:1203px; y2:401px; "/>
  321. <caption id="caption21" class="cell_1" style="left:530px; top:651px; width:107px; height:23px; text-align:center; vertical-align:middle; ">기타</caption>
  322. <caption id="caption1" class="tit_2" style="left:530px; top:7px; width:200px; height:13px; font-family:돋움체; ">사망 전 가족의 위험도 사정</caption>
  323. <caption id="caption22" class="tit_2" style="left:530px; top:677px; width:180px; height:13px; font-family:돋움체; ">전화상담내용</caption>
  324. <caption id="caption23" class="tit_2" style="left:530px; top:271px; width:180px; height:13px; font-family:돋움체; ">방문</caption>
  325. <caption id="caption12" class="cell_1" style="left:530px; top:147px; width:167px; height:36px; text-align:center; vertical-align:middle; ">비 고</caption>
  326. <caption id="caption24" class="cell_1" style="left:638px; top:427px; width:87px; height:23px; text-align:center; vertical-align:middle; ">건강 상태</caption>
  327. <caption id="caption13" class="tit_2" style="left:530px; top:362px; width:180px; height:13px; font-family:돋움체; ">유가족 초기 사정</caption>
  328. <caption id="caption14" class="cell_1" style="left:530px; top:382px; width:107px; height:20px; text-align:center; vertical-align:middle; ">사망자와의 관계</caption>
  329. <caption id="caption25" class="cell_1" style="left:899px; top:427px; width:82px; height:23px; text-align:center; vertical-align:middle; ">투약상태</caption>
  330. <select1 id="rdo_dethrela" ref="/root/main/hospiceinfo/hospicedetl/dethrela" appearance="full" cols="4" overflow="visible" style="left:640px; top:384px; width:485px; height:13px; border-style:none; ">
  331. <choices>
  332. <item>
  333. <label>친밀성</label>
  334. <value>1</value>
  335. </item>
  336. <item>
  337. <label>양가감정</label>
  338. <value>2</value>
  339. </item>
  340. <item>
  341. <label>사망자에게 의존성</label>
  342. <value>3</value>
  343. </item>
  344. <item>
  345. <label>사망전 다툼에 대한 해결 및 화해</label>
  346. <value>4</value>
  347. </item>
  348. </choices>
  349. </select1>
  350. <line id="line1" class="line_1" style="x1:530px; y1:22px; x2:1203px; y2:22px; "/>
  351. <caption id="caption26" class="cell_1" style="left:638px; top:451px; width:87px; height:23px; text-align:center; vertical-align:middle; ">수면문제</caption>
  352. <select1 id="rdo_healthstat" ref="/root/main/hospiceinfo/hospicedetl/healthstat" appearance="full" cols="4" overflow="visible" style="left:728px; top:430px; width:170px; height:13px; border-style:none; ">
  353. <choices>
  354. <item>
  355. <label>좋다</label>
  356. <value>1</value>
  357. </item>
  358. <item>
  359. <label>보통이다</label>
  360. <value>2</value>
  361. </item>
  362. <item>
  363. <label>나쁘다</label>
  364. <value>3</value>
  365. </item>
  366. </choices>
  367. </select1>
  368. <caption id="caption15" class="cell_1" style="left:530px; top:427px; width:107px; height:47px; text-align:center; vertical-align:middle; ">신체적 상태</caption>
  369. <line id="line2" class="line_2" style="x1:530px; y1:49px; x2:1203px; y2:49px; "/>
  370. <select1 id="rdo_drugstat" ref="/root/main/hospiceinfo/hospicedetl/drugstat" appearance="full" cols="4" overflow="visible" style="left:984px; top:430px; width:140px; height:13px; border-style:none; ">
  371. <choices>
  372. <item>
  373. <label>유</label>
  374. <value>Y</value>
  375. </item>
  376. <item>
  377. <label>무</label>
  378. <value>N</value>
  379. </item>
  380. </choices>
  381. </select1>
  382. <textarea id="tar_remark" ref="/root/main/hospiceinfo/hospicedetl/remark" scroll="autohscroll" style="left:699px; top:148px; width:504px; height:34px; "/>
  383. <line id="line3" class="line_2" style="x1:530px; y1:73px; x2:1203px; y2:73px; "/>
  384. <select1 id="rdo_sleepstat" ref="/root/main/hospiceinfo/hospicedetl/sleepstat" appearance="full" cols="4" overflow="visible" style="left:728px; top:456px; width:381px; height:13px; border-style:none; ">
  385. <choices>
  386. <item>
  387. <label>식욕변화</label>
  388. <value>1</value>
  389. </item>
  390. <item>
  391. <label>체중변화</label>
  392. <value>2</value>
  393. </item>
  394. <item>
  395. <label>무력감/피로</label>
  396. <value>3</value>
  397. </item>
  398. </choices>
  399. </select1>
  400. <textarea id="tar_cond" ref="/root/main/hospiceinfo/hospicedetl/cond" scroll="autovscroll" style="left:530px; top:227px; width:66px; height:35px; text-align:center; vertical-align:middle; "/>
  401. <line id="line4" class="line_2" style="x1:530px; y1:97px; x2:1203px; y2:97px; "/>
  402. <textarea id="tar_twomeet" ref="/root/main/hospiceinfo/hospicedetl/twomeet" scroll="autovscroll" style="left:1089px; top:227px; width:57px; height:35px; text-align:center; vertical-align:middle; "/>
  403. <textarea id="tar_thirtycall" ref="/root/main/hospiceinfo/hospicedetl/thirtycall" scroll="autovscroll" style="left:595px; top:227px; width:89px; height:35px; text-align:center; vertical-align:middle; "/>
  404. <input id="ipt_patrela" ref="/root/main/hospiceinfo/hospicedetl/patrela" style="left:850px; top:100px; width:350px; height:19px; "/>
  405. <textarea id="tar_threemeet" ref="/root/main/hospiceinfo/hospicedetl/threemeet" scroll="autovscroll" style="left:1145px; top:228px; width:58px; height:34px; text-align:center; vertical-align:middle; "/>
  406. <textarea id="tar_thirtyletter" ref="/root/main/hospiceinfo/hospicedetl/thirtyletter" scroll="autovscroll" style="left:683px; top:227px; width:70px; height:35px; text-align:center; vertical-align:middle; "/>
  407. <line id="line6" class="line_2" style="x1:530px; y1:145px; x2:1203px; y2:145px; "/>
  408. <line id="line7" class="line_1" style="x1:530px; y1:377px; x2:1203px; y2:377px; "/>
  409. <textarea id="tar_hundletter" ref="/root/main/hospiceinfo/hospicedetl/hundletter" scroll="autovscroll" style="left:752px; top:227px; width:72px; height:35px; text-align:center; vertical-align:middle; "/>
  410. <datagrid id="datagrid1" caption="조문^30일&#xA;전화^사별가족 편지^사별가족 편지^사별가족 편지^사별가족 편지^사별가족 편지^모임^모임^모임|조문^30일&#xA;전화^30^100^6M^9M^1주기^^ ^" colsep="^" colwidth="65, 88, 70, 70, 70, 70, 70, 56, 56, 56" mergecellsfixedrows="bycolrec" rowsep="|" style="left:530px; top:184px; width:673px; height:45px; ">
  411. <col/>
  412. <col/>
  413. <col/>
  414. <col/>
  415. <col/>
  416. <col/>
  417. <col/>
  418. <col/>
  419. <col/>
  420. <col/>
  421. </datagrid>
  422. <input id="ipt_dethprep" ref="/root/main/hospiceinfo/hospicedetl/dethprep" style="left:804px; top:404px; width:98px; height:19px; "/>
  423. <input id="ipt_dethrespon" ref="/root/main/hospiceinfo/hospicedetl/dethrespon" style="left:1070px; top:404px; width:98px; height:19px; "/>
  424. <select1 id="rdo_menthealthstat" ref="/root/main/hospiceinfo/hospicedetl/menthealthstat" appearance="full" cols="4" overflow="visible" style="left:728px; top:479px; width:170px; height:13px; border-style:none; ">
  425. <choices>
  426. <item>
  427. <label>좋다</label>
  428. <value>1</value>
  429. </item>
  430. <item>
  431. <label>보통이다</label>
  432. <value>2</value>
  433. </item>
  434. <item>
  435. <label>나쁘다</label>
  436. <value>3</value>
  437. </item>
  438. </choices>
  439. </select1>
  440. <caption id="caption27" class="cell_1" style="left:899px; top:474px; width:82px; height:23px; text-align:center; vertical-align:middle; ">사별적응정도</caption>
  441. <select1 id="rdo_delthadptgrde" ref="/root/main/hospiceinfo/hospicedetl/delthadptgrde" appearance="full" cols="3" overflow="visible" style="left:984px; top:479px; width:215px; height:13px; border-style:none; ">
  442. <choices>
  443. <item>
  444. <label>받아들임</label>
  445. <value>1</value>
  446. </item>
  447. <item>
  448. <label>보통</label>
  449. <value>2</value>
  450. </item>
  451. <item>
  452. <label>받아들이지못함</label>
  453. <value>3</value>
  454. </item>
  455. </choices>
  456. </select1>
  457. <select1 id="rdo_emotionstat" ref="/root/main/hospiceinfo/hospicedetl/emotionstat" appearance="full" cols="5" overflow="visible" style="left:728px; top:502px; width:470px; height:13px; border-style:none; ">
  458. <choices>
  459. <item>
  460. <label>우울</label>
  461. <value>1</value>
  462. </item>
  463. <item>
  464. <label>죄책감</label>
  465. <value>2</value>
  466. </item>
  467. <item>
  468. <label>분노</label>
  469. <value>3</value>
  470. </item>
  471. <item>
  472. <label>그리움/슬픔</label>
  473. <value>4</value>
  474. </item>
  475. <item>
  476. <label>불안</label>
  477. <value>5</value>
  478. </item>
  479. </choices>
  480. </select1>
  481. <select1 id="rdo_socloperyn" ref="/root/main/hospiceinfo/hospicedetl/socloperyn" appearance="full" cellspacing="80" cols="4" overflow="visible" style="left:1040px; top:523px; width:155px; height:13px; border-style:none; ">
  482. <choices>
  483. <item>
  484. <label>유</label>
  485. <value>Y</value>
  486. </item>
  487. <item>
  488. <label>무</label>
  489. <value>N</value>
  490. </item>
  491. </choices>
  492. <script type="javascript" ev:event="xforms-value-changed">
  493. <![CDATA[
  494. if(rdo_socloperyn.value == "Y") {
  495. ipt_socloperdesc.disabled = false;
  496. } else {
  497. ipt_socloperdesc.disabled = true;
  498. ipt_socloperdesc.value="";
  499. }
  500. ]]>
  501. </script>
  502. </select1>
  503. <input id="ipt_socloperdesc" ref="/root/main/hospiceinfo/hospicedetl/socloperdesc" disabled="true" style="left:1073px; top:521px; width:79px; height:19px; "/>
  504. <caption id="caption6" class="cell_1" style="left:638px; top:499px; width:87px; height:20px; text-align:center; vertical-align:middle; ">정서상태</caption>
  505. <caption id="caption17" class="cell_1" style="left:530px; top:475px; width:107px; height:44px; text-align:center; vertical-align:middle; ">정신/정서 상태</caption>
  506. <select1 id="rdo_soclact" ref="/root/main/hospiceinfo/hospicedetl/soclact" appearance="full" cellspacing="80" cols="4" overflow="visible" style="left:728px; top:525px; width:170px; height:13px; border-style:none; ">
  507. <choices>
  508. <item>
  509. <label>유</label>
  510. <value>Y</value>
  511. </item>
  512. <item>
  513. <label>무</label>
  514. <value>N</value>
  515. </item>
  516. </choices>
  517. <script type="javascript" ev:event="xforms-value-changed">
  518. <![CDATA[
  519. if(rdo_soclact.value=="Y") {
  520. ipt_soclactdesc.disabled = false;
  521. } else {
  522. ipt_soclactdesc.disabled = true;
  523. ipt_soclactdesc.value="";
  524. }
  525. ]]>
  526. </script>
  527. </select1>
  528. <input id="ipt_soclactdesc" ref="/root/main/hospiceinfo/hospicedetl/soclactdesc" disabled="true" style="left:757px; top:521px; width:75px; height:19px; "/>
  529. <select1 id="rdo_hobact" ref="/root/main/hospiceinfo/hospicedetl/hobact" appearance="full" cellspacing="100" cols="4" overflow="visible" style="left:728px; top:548px; width:170px; height:13px; border-style:none; ">
  530. <choices>
  531. <item>
  532. <label>유</label>
  533. <value>Y</value>
  534. </item>
  535. <item>
  536. <label>무</label>
  537. <value>N</value>
  538. </item>
  539. </choices>
  540. <script type="javascript" ev:event="xforms-value-changed">
  541. <![CDATA[
  542. if(rdo_hobact.value == "Y") {
  543. ipt_hobactdesc.disabled = false;
  544. } else {
  545. ipt_hobactdesc.disabled = true;
  546. ipt_hobactdesc.value="";
  547. }
  548. ]]>
  549. </script>
  550. </select1>
  551. <input id="ipt_hobactdesc" ref="/root/main/hospiceinfo/hospicedetl/hobactdesc" disabled="true" style="left:760px; top:545px; width:100px; height:19px; "/>
  552. <select1 id="rdo_relignyn" ref="/root/main/hospiceinfo/hospicedetl/relignyn" appearance="full" cellspacing="100" cols="4" overflow="visible" style="left:728px; top:571px; width:167px; height:13px; border-style:none; ">
  553. <choices>
  554. <item>
  555. <label>유</label>
  556. <value>Y</value>
  557. </item>
  558. <item>
  559. <label>무</label>
  560. <value>N</value>
  561. </item>
  562. </choices>
  563. <script type="javascript" ev:event="xforms-value-changed">
  564. <![CDATA[
  565. if(rdo_relignyn.value == "Y") {
  566. ipt_religndesc.disabled = false;
  567. } else {
  568. ipt_religndesc.disabled = true;
  569. ipt_religndesc.value="";
  570. }
  571. ]]>
  572. </script>
  573. </select1>
  574. <input id="ipt_religndesc" ref="/root/main/hospiceinfo/hospicedetl/religndesc" disabled="true" style="left:760px; top:569px; width:100px; height:19px; "/>
  575. <select1 id="rdo_spiritprob" ref="/root/main/hospiceinfo/hospicedetl/spiritprob" appearance="full" cellspacing="80" cols="4" overflow="visible" style="left:985px; top:571px; width:170px; height:13px; border-style:none; ">
  576. <choices>
  577. <item>
  578. <label>유</label>
  579. <value>Y</value>
  580. </item>
  581. <item>
  582. <label>무</label>
  583. <value>N</value>
  584. </item>
  585. </choices>
  586. <script type="javascript" ev:event="xforms-value-changed">
  587. <![CDATA[
  588. if(rdo_spiritprob.value == "Y") {
  589. ipt_spiritprobdesc.disabled = false;
  590. } else {
  591. ipt_spiritprobdesc.disabled = true;
  592. ipt_spiritprobdesc.value="";
  593. }
  594. ]]>
  595. </script>
  596. </select1>
  597. <input id="ipt_spiritprobdesc" ref="/root/main/hospiceinfo/hospicedetl/spiritprobdesc" disabled="true" style="left:1020px; top:569px; width:75px; height:19px; "/>
  598. <line id="line13" class="line_2" style="x1:530px; y1:590px; x2:1203px; y2:590px; "/>
  599. <caption id="caption31" class="cell_1" style="left:638px; top:568px; width:87px; height:23px; text-align:center; vertical-align:middle; ">종교</caption>
  600. <caption id="caption32" class="cell_1" style="left:900px; top:568px; width:82px; height:23px; text-align:center; vertical-align:middle; ">영적문제</caption>
  601. <select1 id="rdo_stresskind" ref="/root/main/hospiceinfo/hospicedetl/stresskind" appearance="full" cellspacing="10" cols="5" overflow="visible" style="left:728px; top:612px; width:417px; height:13px; border-style:none; ">
  602. <choices>
  603. <item>
  604. <label>경제적 문제</label>
  605. <value>1</value>
  606. </item>
  607. <item>
  608. <label>법적문제</label>
  609. <value>2</value>
  610. </item>
  611. <item>
  612. <label>과거 상실경험 해결 정도</label>
  613. <value>3</value>
  614. </item>
  615. <item>
  616. <label>무</label>
  617. <value>0</value>
  618. </item>
  619. </choices>
  620. </select1>
  621. <select1 id="rdo_othrexpyn" ref="/root/main/hospiceinfo/hospicedetl/othrexpyn" appearance="full" cellspacing="150" cols="4" overflow="visible" style="left:760px; top:630px; width:315px; height:13px; border-style:none; ">
  622. <choices>
  623. <item>
  624. <label>유</label>
  625. <value>Y</value>
  626. </item>
  627. <item>
  628. <label>무</label>
  629. <value>N</value>
  630. </item>
  631. </choices>
  632. <script type="javascript" ev:event="xforms-value-changed">
  633. <![CDATA[
  634. if(rdo_othrexpyn.value == "Y") {
  635. ipt_othrexpdesc.disabled = false;
  636. } else {
  637. ipt_othrexpdesc.disabled = true;
  638. ipt_othrexpdesc.value="";
  639. }
  640. ]]>
  641. </script>
  642. </select1>
  643. <input id="ipt_othrexpdesc" ref="/root/main/hospiceinfo/hospicedetl/othrexpdesc" disabled="true" style="left:792px; top:629px; width:148px; height:19px; "/>
  644. <select1 id="rdo_spirtisupyn" ref="/root/main/hospiceinfo/hospicedetl/spirtisupyn" appearance="full" cols="4" overflow="visible" style="left:728px; top:593px; width:83px; height:13px; border-style:none; ">
  645. <choices>
  646. <item>
  647. <label>유</label>
  648. <value>Y</value>
  649. </item>
  650. <item>
  651. <label>무</label>
  652. <value>N</value>
  653. </item>
  654. </choices>
  655. </select1>
  656. <line id="line14" class="line_2" style="x1:530px; y1:609px; x2:1203px; y2:609px; "/>
  657. <caption id="caption34" class="cell_1" style="left:638px; top:592px; width:87px; height:18px; text-align:center; vertical-align:middle; ">영적지지 필요</caption>
  658. <caption id="caption19" class="cell_1" style="left:530px; top:568px; width:107px; height:42px; text-align:center; vertical-align:middle; ">영적상태</caption>
  659. <line id="line15" class="line_2" style="x1:530px; y1:649px; x2:1203px; y2:649px; "/>
  660. <caption id="caption20" class="cell_1" style="left:530px; top:611px; width:107px; height:39px; text-align:center; vertical-align:middle; ">생활 스트레스</caption>
  661. <caption id="caption35" class="cell_1" style="left:638px; top:629px; width:119px; height:22px; text-align:center; vertical-align:middle; ">최근 다른 상실 경험</caption>
  662. <line id="line16" class="line_3" style="x1:530px; y1:673px; x2:1203px; y2:673px; "/>
  663. <input id="ipt_etc" ref="/root/main/hospiceinfo/hospicedetl/etc" style="left:639px; top:652px; width:564px; height:19px; "/>
  664. <line id="line17" class="line_2" style="x1:636px; y1:497px; x2:1203px; y2:497px; "/>
  665. <caption id="caption4" class="cell_1" style="left:638px; top:475px; width:87px; height:23px; text-align:center; vertical-align:middle; ">정신 건강 상태</caption>
  666. <line id="line18" class="line_2" style="x1:530px; y1:425px; x2:1203px; y2:425px; "/>
  667. <caption id="caption16" class="cell_1" style="left:530px; top:403px; width:107px; height:23px; text-align:center; vertical-align:middle; ">사망시 상황</caption>
  668. <line id="line19" class="line_2" style="x1:636px; y1:542px; x2:1203px; y2:542px; "/>
  669. <caption id="caption28" class="cell_1" style="left:899px; top:520px; width:139px; height:23px; text-align:center; vertical-align:middle; ">심리 사회적 지지 제공자</caption>
  670. <caption id="caption29" class="cell_1" style="left:638px; top:520px; width:87px; height:23px; text-align:center; vertical-align:middle; ">사회적활동</caption>
  671. <line id="line20" class="line_2" style="x1:530px; y1:566px; x2:1203px; y2:566px; "/>
  672. <caption id="caption30" class="cell_1" style="left:638px; top:544px; width:87px; height:23px; text-align:center; vertical-align:middle; ">취미/여가활동</caption>
  673. <caption id="caption18" class="cell_1" style="left:530px; top:520px; width:107px; height:47px; text-align:center; vertical-align:middle; ">사회상태</caption>
  674. <caption id="caption3" class="cell_1" style="left:530px; top:51px; width:167px; height:23px; text-align:center; vertical-align:middle; ">주 간호인의 고용 실정</caption>
  675. <caption id="caption7" class="cell_1" style="left:530px; top:27px; width:167px; height:23px; text-align:center; vertical-align:middle; ">14세 이하의 자녀 수</caption>
  676. <caption id="caption8" class="cell_1" style="left:530px; top:75px; width:167px; height:23px; text-align:center; vertical-align:middle; ">환자에 대한 분노 정도</caption>
  677. <caption id="caption2" class="cell_1" style="left:850px; top:27px; width:199px; height:23px; text-align:center; vertical-align:middle; ">부양담당자의 직업 유무</caption>
  678. <caption id="caption5" class="cell_1" style="left:850px; top:51px; width:199px; height:23px; text-align:center; vertical-align:middle; ">안타깝게 그리워하는 정도</caption>
  679. <caption id="caption9" class="cell_1" style="left:850px; top:75px; width:199px; height:23px; text-align:center; vertical-align:middle; ">환자와의 관계에서 자신의 원망정도</caption>
  680. <button id="button3" class="btn2_letter3" style="left:1095px; top:672px; width:53px; height:19px; ">
  681. <caption>행추가</caption>
  682. <script type="javascript" ev:event="DOMActivate">
  683. <![CDATA[
  684. grd_famycnst.addRow();
  685. grd_famycnst.valueMatrix(grd_famycnst.row, grd_famycnst.colRef("cnstdd")) = getCurrentDate();
  686. ]]>
  687. </script>
  688. </button>
  689. <button id="button4" class="btn2_letter3" style="left:1149px; top:672px; width:53px; height:19px; ">
  690. <caption>행삭제</caption>
  691. <script type="javascript" ev:event="DOMActivate">
  692. <![CDATA[
  693. grd_famycnst.deleteRow(grd_famycnst.row);
  694. ]]>
  695. </script>
  696. </button>
  697. <line id="line5" class="line_2" style="x1:636px; y1:627px; x2:1203px; y2:627px; "/>
  698. <caption id="caption33" class="cell_1" style="left:638px; top:611px; width:87px; height:17px; text-align:center; vertical-align:middle; ">생활스트레스</caption>
  699. <button id="button5" class="btn5_letter2" style="left:1090px; top:2px; width:42px; height:19px; ">
  700. <caption>저장</caption>
  701. <script type="javascript" ev:event="DOMActivate">
  702. <![CDATA[
  703. model.copyNode("/root/send/savedata", "/root/main/hospiceinfo/hospicedetl");
  704. model.removenode("/root/send/savedata/visitcnst");
  705. model.removenode("/root/send/savedata/famycnst");
  706. model.makeValue("/root/send/savedata/visitcnst", instance1.selectNodesXml("/root/main/hospiceinfo/hospicedetl/visitcnst/visitlist"));
  707. model.makeValue("/root/send/savedata/famycnst", instance1.selectNodesXml("/root/main/hospiceinfo/hospicedetl/famycnst/famylist"));
  708. submit("TXMNH06701");
  709. messageBox("저장되었습니다.", "I");
  710. ]]>
  711. </script>
  712. </button>
  713. <select1 id="rdo_childyn" ref="/root/main/hospiceinfo/hospicedetl/childyn" visibility="1" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:700px; top:31px; width:100px; height:13px; border-style:none; ">
  714. <choices>
  715. <item>
  716. <label>유</label>
  717. <value>Y</value>
  718. </item>
  719. <item>
  720. <label>무</label>
  721. <value>N</value>
  722. </item>
  723. </choices>
  724. </select1>
  725. <select1 id="rdo_jobyn" ref="/root/main/hospiceinfo/hospicedetl/jobyn" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:1052px; top:31px; width:100px; height:13px; border-style:none; ">
  726. <choices>
  727. <item>
  728. <label>유</label>
  729. <value>Y</value>
  730. </item>
  731. <item>
  732. <label>무</label>
  733. <value>N</value>
  734. </item>
  735. </choices>
  736. </select1>
  737. <select1 id="rdo_nurshiryn" ref="/root/main/hospiceinfo/hospicedetl/nurshiryn" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:700px; top:56px; width:100px; height:13px; border-style:none; ">
  738. <choices>
  739. <item>
  740. <label>유</label>
  741. <value>Y</value>
  742. </item>
  743. <item>
  744. <label>무</label>
  745. <value>N</value>
  746. </item>
  747. </choices>
  748. </select1>
  749. <button id="button6" class="btn2_letter2" visibility="hidden" style="left:1045px; top:2px; width:42px; height:19px; ">
  750. <caption>조회</caption>
  751. <script type="javascript" ev:event="DOMActivate">
  752. <![CDATA[
  753. fSearch();
  754. ]]>
  755. </script>
  756. </button>
  757. <select1 id="cmb_angrygrde" ref="/root/main/hospiceinfo/hospicedetl/angrygrde" appearance="minimal" style="left:700px; top:76px; width:147px; height:19px; ">
  758. <choices>
  759. <item>
  760. <label/>
  761. <value/>
  762. </item>
  763. <item>
  764. <label>1. 없다</label>
  765. <value>1</value>
  766. </item>
  767. <item>
  768. <label>2. 아주 약하다</label>
  769. <value>2</value>
  770. </item>
  771. <item>
  772. <label>3. 보통이다</label>
  773. <value>3</value>
  774. </item>
  775. <item>
  776. <label>4. 조금 강하다</label>
  777. <value>4</value>
  778. </item>
  779. <item>
  780. <label>5. 아주 강하다</label>
  781. <value>5</value>
  782. </item>
  783. </choices>
  784. </select1>
  785. <select1 id="cmb_missgrde" ref="/root/main/hospiceinfo/hospicedetl/missgrde" appearance="minimal" style="left:1052px; top:52px; width:147px; height:19px; ">
  786. <choices>
  787. <item>
  788. <label/>
  789. <value/>
  790. </item>
  791. <item>
  792. <label>1. 전혀없다</label>
  793. <value>1</value>
  794. </item>
  795. <item>
  796. <label>2. 가끔있다</label>
  797. <value>2</value>
  798. </item>
  799. <item>
  800. <label>3. 보통이다</label>
  801. <value>3</value>
  802. </item>
  803. <item>
  804. <label>4. 자주있다</label>
  805. <value>4</value>
  806. </item>
  807. <item>
  808. <label>5. 지속적이고 강하다</label>
  809. <value>5</value>
  810. </item>
  811. </choices>
  812. </select1>
  813. <select1 id="cmb_blamegrde" ref="/root/main/hospiceinfo/hospicedetl/blamegrde" appearance="minimal" style="left:1052px; top:76px; width:147px; height:19px; ">
  814. <choices>
  815. <item>
  816. <label/>
  817. <value/>
  818. </item>
  819. <item>
  820. <label>1. 아주 약하다</label>
  821. <value>1</value>
  822. </item>
  823. <item>
  824. <label>2. 약간 약하다</label>
  825. <value>2</value>
  826. </item>
  827. <item>
  828. <label>3. 보통이다</label>
  829. <value>3</value>
  830. </item>
  831. <item>
  832. <label>4. 약간 강하다</label>
  833. <value>4</value>
  834. </item>
  835. <item>
  836. <label>5. 아주 강하다</label>
  837. <value>5</value>
  838. </item>
  839. </choices>
  840. </select1>
  841. <group id="grp_sea" style="left:0px; top:9px; width:520px; height:121px; font-family:돋움체; vertical-align:top; ">
  842. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:520px; height:120px; background-color:#fffbf2; border-color:#ffd799; "/>
  843. <caption id="caption36" class="search_name" visibility="hidden" style="left:3px; top:85px; width:86px; height:17px; ">조회기간 :</caption>
  844. <button id="btn_search" class="btn1_letter2" navindex="5" style="left:455px; top:35px; width:56px; height:22px; ">
  845. <caption>조회</caption>
  846. <script type="javascript" ev:event="DOMActivate">
  847. <![CDATA[
  848. fSearch2();
  849. ]]>
  850. </script>
  851. </button>
  852. <input id="ipt_fbrthdd" ref="/root/main/cond/fbrthdd" class="input_default" navindex="1" visibility="hidden" inputtype="date" style="left:90px; top:85px; width:85px; height:19px; "/>
  853. <caption id="caption37" class="search_no_b" visibility="hidden" style="left:176px; top:85px; width:12px; height:17px; ">~</caption>
  854. <input id="ipt_lbrthdd" ref="/root/main/cond/lbrthdd" class="input_default" navindex="2" visibility="hidden" inputtype="date" style="left:188px; top:85px; width:85px; height:19px; "/>
  855. <caption id="caption38" class="search_name" style="left:3px; top:10px; width:120px; height:17px; ">
  856. <![CDATA[의뢰경로 :]]>
  857. </caption>
  858. <select1 id="cmb_resncd" ref="/root/main/cond/resncd" class="combo_search" visibility="hidden" appearance="minimal" style="left:368px; top:85px; width:80px; height:19px; ">
  859. <choices>
  860. <itemset nodeset="/root/init/M0469detl/M0469">
  861. <label ref="cdnm"/>
  862. <value ref="cdid"/>
  863. </itemset>
  864. </choices>
  865. </select1>
  866. <caption id="lb_resncd" class="search_name" visibility="hidden" style="left:283px; top:85px; width:90px; height:17px; ">제외사유 :</caption>
  867. <select id="chk_hospicegubun" ref="/root/main/cond/hospicegubun" class="checkbox_search" navindex="3" overflow="visible" appearance="full" cols="2" style="left:90px; top:10px; width:87px; height:20px; border-style:none; ">
  868. <choices>
  869. <item>
  870. <label>외래</label>
  871. <value>1</value>
  872. </item>
  873. <item>
  874. <label>입원</label>
  875. <value>2</value>
  876. </item>
  877. </choices>
  878. </select>
  879. <input id="ipt_refnm" ref="/root/main/cond/refnm" overflow="visible" style="left:212px; top:35px; width:85px; height:19px; ">
  880. <script type="javascript" ev:event="onkeyup">
  881. <![CDATA[
  882. inputEnterKey("btn_search", "DOMActivate");
  883. ]]>
  884. </script>
  885. </input>
  886. <caption id="caption40" class="search_name" style="left:3px; top:35px; width:120px; height:17px; ">조회구분 :</caption>
  887. <select1 id="rdo_refflag" ref="/root/main/cond/refflag" appearance="full" cols="2" overflow="visible" style="left:87px; top:35px; width:125px; height:20px; border-style:none; ">
  888. <choices>
  889. <item>
  890. <label>등록번호</label>
  891. <value>1</value>
  892. </item>
  893. <item>
  894. <label>환자명</label>
  895. <value>2</value>
  896. </item>
  897. </choices>
  898. </select1>
  899. <select1 id="rdo_pamcgubun" ref="/root/main/cond/pamcgubun" class="radio_search" navindex="4" appearance="full" cols="7" overflow="visible" style="left:65px; top:60px; width:371px; height:20px; background-color:transparent; border-style:none; ">
  900. <choices>
  901. <item>
  902. <label>의뢰</label>
  903. <value>R</value>
  904. </item>
  905. <item>
  906. <label>대기</label>
  907. <value>W</value>
  908. </item>
  909. <item>
  910. <label>분산</label>
  911. <value>D</value>
  912. </item>
  913. <item>
  914. <label>입실</label>
  915. <value>I</value>
  916. </item>
  917. <item>
  918. <label>퇴실</label>
  919. <value>L</value>
  920. </item>
  921. <item>
  922. <label>서비스종료</label>
  923. <value>O</value>
  924. </item>
  925. <item>
  926. <label>대기종료</label>
  927. <value>P</value>
  928. </item>
  929. </choices>
  930. <script type="javascript" ev:event="xforms-select">
  931. <![CDATA[
  932. fPamcChange();
  933. fSearch2();
  934. //20091009 dhkim 종료버튼 상태값 초기화
  935. ]]>
  936. </script>
  937. </select1>
  938. <caption id="caption39" class="search_name" style="left:3px; top:60px; width:67px; height:17px; ">구분 :</caption>
  939. <caption id="caption42" class="search_name" style="left:188px; top:10px; width:87px; height:17px; ">기록여부 :</caption>
  940. <select1 id="radio1" ref="/root/main/cond/recyn" appearance="full" cols="3" overflow="visible" style="left:275px; top:12px; width:150px; height:15px; border-style:none; ">
  941. <choices>
  942. <item>
  943. <label>전체</label>
  944. <value/>
  945. </item>
  946. <item>
  947. <label>기록</label>
  948. <value>Y</value>
  949. </item>
  950. <item>
  951. <label>미기록</label>
  952. <value>N</value>
  953. </item>
  954. </choices>
  955. <script type="javascript" ev:event="xforms-value-changed">
  956. <![CDATA[
  957. btn_search.dispatch("DOMActivate");
  958. ]]>
  959. </script>
  960. </select1>
  961. <select id="chk_dethyn" ref="/root/main/cond/dethyn" visibility="hidden" overflow="visible" appearance="full" style="left:285px; top:85px; width:90px; height:18px; border-style:none; ">
  962. <choices>
  963. <item>
  964. <label>임종환자만</label>
  965. <value>Y</value>
  966. </item>
  967. </choices>
  968. <script type="javascript" ev:event="xforms-value-changed">
  969. <![CDATA[
  970. fSearch2();
  971. ]]>
  972. </script>
  973. </select>
  974. </group>
  975. <line id="line21" class="line_1" style="x1:0px; y1:153px; x2:520px; y2:153px; font-family:돋움체; "/>
  976. <caption id="caption41" class="tit_2" style="left:0px; top:140px; width:180px; height:13px; font-family:돋움체; ">환자리스트</caption>
  977. <datagrid id="grd_hospicelist" nodeset="/root/main/hospice/hospicelist" class="datagrid2" scroll="auto" autoresize="true" caption="의뢰&#xA;경로^등록번호^환자명^S/A^진단명^관계^연락처^보호자명^의뢰일^의뢰&#xA;형태^의뢰과/의뢰병원^의사명^면담일^의뢰사유^관리현황^대기전환일^분산전환일^현병실^입실일^서비스&#xA;종료일^서비스&#xA;종료사유^대기&#xA;종료일^대기&#xA;종료사유^퇴실일^퇴실&#xA;형태^퇴실사유^퇴실후연계^입원일자^생성번호^기관코드^생성일자^생성시간^환자구분^입실경로^컨설트&#xA;입원예약키^주민번호^사망&#xA;여부^사망일시^의뢰과^주치의ID^의뢰형태^병동코드^상위진단코드^하위진단코드^입실여부" colsep="^" colwidth="40, 70, 70, 50, 155, 50, 100, 70, 75, 40, 130, 65, 75, 110, 110, 75, 75, 60, 75, 75, 115, 75, 70, 75, 60, 115, 115, 65, 100, 100, 100, 100, 100, 100, 100, 100, 45, 100, 100, 100, 100, 100, 100, 100, 100" defaultrows="1" ellipsis="true" frozencols="4" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" tooltip="true" navindex="6" style="left:0px; top:158px; width:520px; height:606px; ">
  978. <!--(20101206) 경북대 -->
  979. <col ref="nsgbn" style="left:20px; top:32px; width:45px; height:23px; text-align:center; "/>
  980. <col ref="pid" style="text-align:center; "/>
  981. <col ref="hngnm" style="text-align:center; "/>
  982. <col ref="sexage" style="text-align:center; "/>
  983. <col ref="termengnm"/>
  984. <col ref="famyrela"/>
  985. <col ref="famytel"/>
  986. <col ref="famynm"/>
  987. <col ref="reqdd" format="yyyy-mm-dd" style="text-align:center; "/>
  988. <col ref="reqtypeflag" style="text-align:center; "/>
  989. <col ref="reqtypehtfa"/>
  990. <col ref="atdoctnm" style="text-align:center; "/>
  991. <col ref="intvdd" format="yyyy-mm-dd" style="text-align:center; "/>
  992. <col ref="reqresnflag"/>
  993. <col ref="mngtprescd"/>
  994. <col ref="waitdd" format="yyyy-mm-dd" style="text-align:center; "/>
  995. <col ref="waitdd" format="yyyy-mm-dd" style="text-align:center; "/>
  996. <col ref="roomcd" style="text-align:center; "/>
  997. <col ref="inrmdd" format="yyyy-mm-dd" style="text-align:center; "/>
  998. <col ref="enddd" format="yyyy-mm-dd" style="text-align:center; "/>
  999. <col ref="exptresn"/>
  1000. <col ref="waitenddd" format="yyyy-mm-dd" style="text-align:center; "/>
  1001. <col ref="waitendresn"/>
  1002. <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  1003. <col ref="dschtype"/>
  1004. <col ref="dschresn"/>
  1005. <col ref="dschlnk"/>
  1006. <col ref="indd"/>
  1007. <col ref="cretno"/>
  1008. <col ref="instcd"/>
  1009. <col ref="cretdd"/>
  1010. <col ref="crettm"/>
  1011. <col ref="waitstat"/>
  1012. <col ref="status"/>
  1013. <col ref="reqformrecseq"/>
  1014. <col ref="rrgstno"/>
  1015. <col ref="dethyn" style="text-align:center; "/>
  1016. <col ref="dethdt"/>
  1017. <col ref="reqdeptcd"/>
  1018. <col ref="atdoctid"/>
  1019. <col ref="reqtypeflags"/>
  1020. <col ref="wardcd"/>
  1021. <col ref="diagi"/>
  1022. <col ref="diagii"/>
  1023. <col ref="inrmflag"/>
  1024. <script type="javascript" ev:event="ondblclick">
  1025. <![CDATA[
  1026. if(isDataCell()){
  1027. model.makeValue("/root/send/reqdata/pid", model.getValue("/root/main/hospice/hospicelist"+"["+(grd_hospicelist.row)+"]/pid"));
  1028. model.makeValue("/root/send/reqdata/cretdd", model.getValue("/root/main/hospice/hospicelist"+"["+(grd_hospicelist.row)+"]/cretdd"));
  1029. model.makeValue("/root/send/reqdata/crettm", model.getValue("/root/main/hospice/hospicelist"+"["+(grd_hospicelist.row)+"]/crettm"));
  1030. fSearch();
  1031. }
  1032. ]]>
  1033. </script>
  1034. <script type="javascript" ev:event="onaftersort">
  1035. <![CDATA[
  1036. grd_hospicelist.gridToInstance();
  1037. ]]>
  1038. </script>
  1039. </datagrid>
  1040. <line id="line22" class="line_2" style="x1:530px; y1:121px; x2:1203px; y2:121px; "/>
  1041. <caption id="caption10" class="cell_1" style="left:530px; top:99px; width:167px; height:23px; text-align:center; vertical-align:middle; ">환자와 가족 구성원 간의 관계</caption>
  1042. <caption id="caption11" class="cell_1" style="left:530px; top:123px; width:167px; height:23px; text-align:center; vertical-align:middle; ">가족의 적응 능력</caption>
  1043. <select1 id="combo1" ref="/root/main/hospiceinfo/hospicedetl/patrelaflag" appearance="minimal" style="left:700px; top:100px; width:147px; height:19px; ">
  1044. <choices>
  1045. <item>
  1046. <label/>
  1047. <value/>
  1048. </item>
  1049. <item>
  1050. <label>1. 밀착되어 있다</label>
  1051. <value>1</value>
  1052. </item>
  1053. <item>
  1054. <label>2. 감정을 자유로이 표현하여 서로 돕는 관계이다</label>
  1055. <value>2</value>
  1056. </item>
  1057. <item>
  1058. <label>3. 도움을 주고자 하나 개인사정으로 인해 돌보지 못한다</label>
  1059. <value>3</value>
  1060. </item>
  1061. <item>
  1062. <label>4. 별로 도움을 주지 못한다.</label>
  1063. <value>4</value>
  1064. </item>
  1065. <item>
  1066. <label>5. 기타</label>
  1067. <value>5</value>
  1068. </item>
  1069. </choices>
  1070. </select1>
  1071. <select1 id="combo2" ref="/root/main/hospiceinfo/hospicedetl/adaptabilflag" appearance="minimal" style="left:700px; top:124px; width:147px; height:19px; ">
  1072. <choices>
  1073. <item>
  1074. <label/>
  1075. <value/>
  1076. </item>
  1077. <item>
  1078. <label>1. 매우 좋다(도움이 필요없다)</label>
  1079. <value>1</value>
  1080. </item>
  1081. <item>
  1082. <label>2. 좋다(아마도 도움이 필요치 않을 것이다)</label>
  1083. <value>2</value>
  1084. </item>
  1085. <item>
  1086. <label>3. 의문이 있다(도움이 필요할지 모른다)</label>
  1087. <value>3</value>
  1088. </item>
  1089. <item>
  1090. <label>4. 좋지 않다(특별한 도움이 필요하다)</label>
  1091. <value>4</value>
  1092. </item>
  1093. <item>
  1094. <label>5. 아주 좋지 않다(도움이 절박하다)</label>
  1095. <value>5</value>
  1096. </item>
  1097. </choices>
  1098. </select1>
  1099. <button id="button1" class="btn2_letter4" style="left:390px; top:133px; width:64px; height:19px; ">
  1100. <caption>엑셀저장</caption>
  1101. <script type="javascript" ev:event="DOMActivate">
  1102. <![CDATA[
  1103. var fileName = window.fileDialog("save", ",", false, "사별가족기록 호스피스환자리스트", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  1104. grd_omprcplist.saveExcel(fileName, "SheetName", true, true, "", "", true);
  1105. ]]>
  1106. </script>
  1107. </button>
  1108. <button id="button7" class="btn2_letter2" style="left:1135px; top:2px; width:42px; height:19px; ">
  1109. <caption>출력</caption>
  1110. <script type="javascript" ev:event="DOMActivate">
  1111. <![CDATA[
  1112. var node;
  1113. var node2;
  1114. var pid;
  1115. var cretdd;
  1116. var crettm;
  1117. var str = "";
  1118. node = instance1.selectNodes(grd_visitdesc.nodeset);
  1119. node2 = instance1.selectNodes(grd_famycnst.nodeset);
  1120. if(grd_visitdesc.rows > grd_visitdesc.fixedRows) {
  1121. var vistdd;
  1122. var visit;
  1123. var cnt = 0;
  1124. var str = "";
  1125. for(var j = grd_visitdesc.fixedRows; j < grd_visitdesc.rows; j++) {
  1126. visitdd = grd_visitdesc.valueMatrix(j, grd_visitdesc.colRef("visitdd"));
  1127. visit = grd_visitdesc.valueMatrix(j, grd_visitdesc.colRef("visit"));
  1128. if(visitdd != "") {
  1129. visitdd = visitdd.substr(0,4) + "-" + visitdd.substr(4,2) + "-" + visitdd.substr(6,2);
  1130. if(cnt != 0) {
  1131. str += "\n";
  1132. }
  1133. str += visitdd + " " + visit + "\n--------------------------------------------------------------------------------------------------------";
  1134. }
  1135. }
  1136. model.makeValue("/root/main/hospiceinfo/hospicedetl/vistcntnm", str);
  1137. }
  1138. if(grd_famycnst.rows > grd_famycnst.fixedRows) {
  1139. var cnstdd;
  1140. var cnst;
  1141. var cnt = 0;
  1142. var str = "";
  1143. for(var j = grd_famycnst.fixedRows; j < grd_famycnst.rows; j++) {
  1144. cnstdd = grd_famycnst.valueMatrix(j, grd_famycnst.colRef("cnstdd"));
  1145. cnst = grd_famycnst.valueMatrix(j, grd_famycnst.colRef("cnst"));
  1146. if(cnstdd != "") {
  1147. cnstdd = cnstdd.substr(0,4) + "-" + cnstdd.substr(4,2) + "-" + cnstdd.substr(6,2);
  1148. if(cnt != 0) {
  1149. str += "\n";
  1150. }
  1151. str += cnstdd + " " + cnst + "\n--------------------------------------------------------------------------------------------------------";
  1152. }
  1153. }
  1154. model.makeValue("/root/main/hospiceinfo/hospicedetl/cnstcntnm", str);
  1155. }
  1156. model.removeNodeset("/root/temp/hospice");
  1157. model.makeNode("/root/temp/hospice/hospicelist");
  1158. model.copyNode("/root/temp/hospice/hospicelist", "/root/main/hospiceinfo/hospicedetl");
  1159. exeReportPreview("RPMNH06700", "XMLSTR");
  1160. model.removeNodeset("/root/temp/hospice");
  1161. ]]>
  1162. </script>
  1163. </button>
  1164. <button id="button8" class="btn2_letter4" style="left:455px; top:133px; width:64px; height:19px; ">
  1165. <caption>전체출력</caption>
  1166. <script type="javascript" ev:event="DOMActivate">
  1167. <![CDATA[
  1168. var node;
  1169. var node2;
  1170. var pid;
  1171. var cretdd;
  1172. var crettm;
  1173. var str = "";
  1174. for(var i = grd_hospicelist.fixedRows; i < grd_hospicelist.rows; i++) {
  1175. node = instance1.selectNodes(grd_hospicelist.nodeset + "[" + i+ "]/visitcnst/visitlist/visitlist");
  1176. node2 = instance1.selectNodes(grd_hospicelist.nodeset + "[" + i+ "]/famycnst/famylist/famylist");
  1177. if(node.length > 0) {
  1178. var vistdd;
  1179. var visit;
  1180. var cnt = 0;
  1181. var str = "";
  1182. for(var j = 0; j < node.length; j++) {
  1183. visitdd = model.getValue(grd_hospicelist.nodeset + "[" + i + "]/visitcnst/visitlist/visitlist[" + (j + 1) + "]/visitdd");
  1184. visit = model.getValue(grd_hospicelist.nodeset + "[" + i + "]/visitcnst/visitlist/visitlist[" + (j + 1) + "]/visit");
  1185. if(visitdd != "") {
  1186. visitdd = visitdd.substr(0,4) + "-" + visitdd.substr(4,2) + "-" + visitdd.substr(6,2);
  1187. if(cnt != 0) {
  1188. str += "\n";
  1189. }
  1190. str += visitdd + " " + visit + "\n--------------------------------------------------------------------------------------------------------";
  1191. }
  1192. }
  1193. model.makeValue(grd_hospicelist.nodeset + "[" + i + "]/vistcntnm", str);
  1194. }
  1195. if(node2.length > 0) {
  1196. var cnstdd;
  1197. var cnst;
  1198. var cnt = 0;
  1199. var str = "";
  1200. for(var j = 0; j < node.length; j++) {
  1201. cnstdd = model.getValue(grd_hospicelist.nodeset + "[" + i + "]/famycnst/famylist/famylist[" + (j + 1) + "]/cnstdd");
  1202. cnst = model.getValue(grd_hospicelist.nodeset + "[" + i + "]/famycnst/famylist/famylist[" + (j + 1) + "]/cnst");
  1203. if(cnstdd != "") {
  1204. cnstdd = cnstdd.substr(0,4) + "-" + cnstdd.substr(4,2) + "-" + cnstdd.substr(6,2);
  1205. if(cnt != 0) {
  1206. str += "\n";
  1207. }
  1208. str += cnstdd + " " + cnst + "\n--------------------------------------------------------------------------------------------------------";
  1209. }
  1210. }
  1211. model.makeValue(grd_hospicelist.nodeset + "[" + i + "]/cnstcntnm", str);
  1212. }
  1213. }
  1214. model.removeNodeset("/root/temp/hospice");
  1215. model.makeNode("/root/temp/hospice");
  1216. model.copyNode("/root/temp/hospice", "/root/main/hospice");
  1217. exeReportPreview("RPMNH06700", "XMLSTR");
  1218. // /root/main/hospiceinfo/hospicedetl/famycnst/famylist/famylist
  1219. model.removeNodeset("/root/temp/hospice");
  1220. ]]>
  1221. </script>
  1222. </button>
  1223. <button id="button9" class="btn2_letter5" style="left:313px; top:133px; width:75px; height:19px; ">
  1224. <caption>확대/축소</caption>
  1225. <script type="javascript" ev:event="DOMActivate">
  1226. <![CDATA[
  1227. if(flag == "init" || flag == "down") {
  1228. flag = "up";
  1229. } else if(flag == "up") {
  1230. flag = "down"
  1231. }
  1232. fSettingGridSize();
  1233. ]]>
  1234. </script>
  1235. </button>
  1236. </xhtml:body>
  1237. </xhtml:html>