SMMNH06800_호스피스사회사업초기면접기록.xrw 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643
  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. <send>
  10. <reqdata>
  11. <pid/>
  12. <cretdd/>
  13. <crettm/>
  14. </reqdata>
  15. </send>
  16. <main>
  17. <wardpatinfo>
  18. <wardpatlist/>
  19. </wardpatinfo>
  20. <hospicedetlinfo>
  21. <hospicelist>
  22. <pid/>
  23. <indd/>
  24. <cretno/>
  25. <hngnm/>
  26. <sex/>
  27. <age/>
  28. <medispclid/>
  29. <medispclnm/>
  30. <atdoctid/>
  31. <atdoctnm/>
  32. <diag/>
  33. <cnstnm/>
  34. <infooffer/>
  35. <genrdd/>
  36. <marystatcd/>
  37. <livestat/>
  38. <edcugrdecd/>
  39. <jobcd/>
  40. <jobcdetc/>
  41. <religncd/>
  42. <ecostat/>
  43. <medsecu/>
  44. <bodyassess/>
  45. <weakforte/>
  46. <problem/>
  47. <famytree/>
  48. <ecoltree/>
  49. <careoffer/>
  50. <importprob/>
  51. <dethprepare/>
  52. <addr/>
  53. <telno/>
  54. <ecoltreedata/>
  55. <genogrmnm/>
  56. <orddeptcd/>
  57. <cnstdd/>
  58. <famycnst>
  59. <famylist>
  60. <famylist>
  61. <cnstdd/>
  62. <cnst/>
  63. </famylist>
  64. </famylist>
  65. </famycnst>
  66. </hospicelist>
  67. </hospicedetlinfo>
  68. <cond>
  69. <wardcd/>
  70. <orddd/>
  71. <indschacptstat>1</indschacptstat>
  72. </cond>
  73. <bigimage/>
  74. </main>
  75. <temp>
  76. <codeinfo/>
  77. </temp>
  78. <tmp>
  79. <M0068list/>
  80. <M0206list/>
  81. <M0069list/>
  82. <P0157list/>
  83. </tmp>
  84. </root>
  85. </instance>
  86. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  87. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  88. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  89. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  90. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  91. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  92. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  93. <script type="javascript" ev:event="xforms-ready">
  94. <![CDATA[
  95. //공통코드 로드
  96. zbcfGetCodeList(new Array("M0068", "M0069", "P0157", "M0206"),
  97. new Array("/root/tmp/M0068list", "/root/tmp/M0069list", "/root/tmp/P0157list", "/root/tmp/M0206list"));
  98. submit("TRMNW00101");
  99. fGetHardCodeInfo("/root/send/grupid", "/root/temp/codeinfo", "044"); // 중앙공급실 부서코드 조회
  100. model.setValue("/root/main/cond/wardcd", model.getValue("/root/temp/codeinfo/codelist[cdgrupid='044']/cdid"));
  101. model.setValue("/root/main/cond/orddd", getCurrentDate());
  102. ipt_orddd.refresh();
  103. cmb_wardcd.refresh();
  104. fSearch();
  105. ]]>
  106. </script>
  107. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  108. <submission id="TRMNH06801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/wardpatinfo"/>
  109. <submission id="TXMNH06801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/temp"/>
  110. <submission id="TRMNV00001" mediatype="application/x-www-form-urlencoded" method="post"/>
  111. <submission id="TRMNW00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init"/>
  112. <submission id="TRMNH06802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/hospicedetlinfo"/>
  113. </model>
  114. <script type="javascript">
  115. <![CDATA[
  116. function fSearch() {
  117. var sWardCD = getScreenMenuParameter();//model.getValue("/root/main/cond/wardcd") //20080725_메뉴설정에 따른 그리드 동적생성으로 변겅(ByJA)
  118. grd_wardpatlist.allStyle("data", "background-image") = "";
  119. model.removenode("/root/send");
  120. model.makeValue("/root/send/wardcd", model.getValue("/root/main/cond/wardcd"));
  121. model.makeValue("/root/send/fromorddd", model.getValue("/root/main/cond/orddd").toDate().getAddDate(-3,"D").getDateFormat());
  122. model.makeValue("/root/send/indschacptstat", model.getValue("/root/main/cond/indschacptstat"));
  123. if(model.getValue("/root/main/cond/indschacptstat") == "1" || model.getValue("/root/main/cond/indschacptstat") == "3"){ //재원,퇴원진행으로 조회 할 경우 업무일자를 현재일자로 무조건 넘겨줌._20080828(ByJA)
  124. model.makeValue("/root/send/orddd", getCurrentDate());
  125. }else{
  126. model.makeValue("/root/send/orddd", model.getValue("/root/main/cond/orddd"));
  127. }
  128. model.makeValue("/root/send/hospiceyn", "Y");
  129. model.makeValue("/root/send/wardflag", "ward");
  130. model.makeValue("/root/send/menuflag", sWardCD); // 메뉴파라미터
  131. submit("TRMNH06801");
  132. }
  133. function fPrint() {
  134. var shape = instance1.selectNodesXml("/root/main/hospicedetlinfo/hospicelist/genogrmnm");
  135. setParameter("SPMMR04711_shape", shape);
  136. setParameter("SPMMR04711_closeyn", "Y");
  137. modal("SPMMR04700", 1,0, 0, 0, 0, "SPMMR04700" ,"/root/temp/strmeta", "/root/send");
  138. model.makeValue("/root/main/hospicedetlinfo/hospicelist/edcugrdenm", cmb_educgrde.label);
  139. model.makeValue("/root/main/hospicedetlinfo/hospicelist/jobnm2", cmb_jobcd.label);
  140. model.makeValue("/root/main/hospicedetlinfo/hospicelist/relignnm", cmb_religncd.label);
  141. model.makeValue("/root/main/hospicedetlinfo/hospicelist/genoval", model.getValue("root/properties/parameters/SPMMR04711_base64/SPMMR04711_base64value"));
  142. exeReportPreview("RPMNH06800", "XMLSTR");
  143. }
  144. ]]>
  145. </script>
  146. </xhtml:head>
  147. <xhtml:body scroll="autovscroll" pagewidth="1211" pageheight="768" guideline="2,764;" style="font-family:돋움체; ">
  148. <group id="grp_sea" style="left:5px; top:0px; width:575px; height:65px; font-family:돋움체; vertical-align:top; ">
  149. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:575px; height:65px; font-family:돋움체; background-color:#fffbf2; border-color:#ffd799; "/>
  150. <caption id="caption2" class="search_name" style="left:11px; top:10px; width:58px; height:17px; font-family:돋움체; ">병동:</caption>
  151. <button id="button1" class="btn1_letter2" navindex="4" style="left:510px; top:25px; width:56px; height:22px; font-family:돋움체; ">
  152. <caption>조회</caption>
  153. <script type="javascript" ev:event="DOMActivate">
  154. <![CDATA[
  155. fSearch();
  156. ]]>
  157. </script>
  158. </button>
  159. <line id="line13" class="line_4" style="x1:494px; y1:25px; x2:494px; y2:47px; font-family:돋움체; "/>
  160. <select1 id="cmb_wardcd" ref="/root/main/cond/wardcd" class="combo_s_essential" disabled="true" appearance="minimal" style="left:66px; top:10px; width:104px; height:19px; ">
  161. <choices>
  162. <itemset nodeset="/root/init/ward/">
  163. <label ref="wardnm"/>
  164. <value ref="wardcd"/>
  165. </itemset>
  166. </choices>
  167. <script type="javascript" ev:event="xforms-value-changed">
  168. <![CDATA[
  169. fSearch();
  170. ]]>
  171. </script>
  172. </select1>
  173. <caption id="caption9" class="search_name" style="left:178px; top:10px; width:90px; height:17px; ">업무일자:</caption>
  174. <input id="ipt_orddd" ref="/root/main/cond/orddd" class="input_s_essential" inputtype="date" style="left:260px; top:10px; width:95px; height:19px; ">
  175. <script type="javascript" ev:event="xforms-value-changed">
  176. <![CDATA[
  177. fSearch();
  178. ]]>
  179. </script>
  180. </input>
  181. <select1 id="radio4" ref="/root/main/cond/indschacptstat" class="radio_search" appearance="full" cols="4" overflow="visible" style="left:96px; top:43px; width:202px; height:13px; border-style:none; ">
  182. <choices>
  183. <item>
  184. <label>재원</label>
  185. <value>1</value>
  186. </item>
  187. <item>
  188. <label>입원</label>
  189. <value>2</value>
  190. </item>
  191. <item>
  192. <label>퇴원진행</label>
  193. <value>3</value>
  194. </item>
  195. <item>
  196. <label>퇴원</label>
  197. <value>4</value>
  198. </item>
  199. </choices>
  200. <script type="javascript" ev:event="xforms-value-changed">
  201. <![CDATA[
  202. fSearch();
  203. ]]>
  204. </script>
  205. </select1>
  206. <caption id="caption28" class="search_name" style="left:11px; top:40px; width:90px; height:17px; ">진행상태 :</caption>
  207. </group>
  208. <caption id="caption1" class="tit_2" style="left:5px; top:72px; width:82px; height:13px; font-family:돋움체; ">환자리스트</caption>
  209. <datagrid id="grd_wardpatlist" nodeset="/root/main/wardpatinfo/wardpatlist" class="datagrid2" caption="병실^등록번호^재원&#xA;상태^재원&#xA;상태^환자명^S/A^진료과^주치의^담당의^담당의^진단명^indd^cretno^instcd^ordtype" colsep="^" colwidth="45, 55, 21, 22, 70, 42, 85, 55, 55, 54, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:91px; width:580px; height:674px; font-family:돋움체; ">
  210. <col ref="roomcd"/>
  211. <col ref="pid"/>
  212. <col ref="chngroomstat"/>
  213. <col ref="indschstat"/>
  214. <col ref="patnm"/>
  215. <col ref="sexage" style="text-align:center; "/>
  216. <col ref="orddeptnm"/>
  217. <col ref="medispclnm"/>
  218. <col ref="atdoctnm"/>
  219. <col ref="pdano"/>
  220. <col ref="diag"/>
  221. <col ref="indd" visibility="hidden"/>
  222. <col ref="cretno" visibility="hidden"/>
  223. <col ref="instcd" visibility="hidden"/>
  224. <col ref="ordtype" visibility="hidden"/>
  225. <script type="javascript" ev:event="ondblclick">
  226. <![CDATA[
  227. var instcd = grd_wardpatlist.valueMatrix(grd_wardpatlist.row, grd_wardpatlist.colRef("instcd"));
  228. var pid = grd_wardpatlist.valueMatrix(grd_wardpatlist.row, grd_wardpatlist.colRef("pid"));
  229. var indd = grd_wardpatlist.valueMatrix(grd_wardpatlist.row, grd_wardpatlist.colRef("indd"));
  230. var cretno = grd_wardpatlist.valueMatrix(grd_wardpatlist.row, grd_wardpatlist.colRef("cretno"));
  231. model.makeValue("/root/send/reqdata/instcd", instcd);
  232. model.makeValue("/root/send/reqdata/pid", pid);
  233. model.makeValue("/root/send/reqdata/indd", indd);
  234. model.makeValue("/root/send/reqdata/cretno", cretno);
  235. submit("TRMNH06802");
  236. // model.setValue(img2.attribute("ref"), model.getValue(img1.attribute("ref")));
  237. setImageRefInstance(img1.attribute("ref"));
  238. img1.refresh();
  239. var shape = instance1.selectNodesXml("/root/main/hospicedetlinfo/hospicelist/genogrmnm/XMD");
  240. if(shape != "") {
  241. cap_genogrmnm.visible = true;
  242. } else {
  243. cap_genogrmnm.visible = false;
  244. }
  245. ]]>
  246. </script>
  247. </datagrid>
  248. <line id="line1" class="line_1" style="x1:0px; y1:86px; x2:580px; y2:86px; font-family:돋움체; "/>
  249. <caption id="caption3" class="tit_2" style="left:590px; top:6px; width:147px; height:13px; font-family:돋움체; ">사회사업초기면접기록</caption>
  250. <line id="line2" class="line_1" style="x1:585px; y1:20px; x2:1194px; y2:20px; font-family:돋움체; "/>
  251. <button id="button3" class="btn5_letter2" style="left:1107px; top:0px; width:42px; height:19px; font-family:돋움체; ">
  252. <caption>저장</caption>
  253. <script type="javascript" ev:event="DOMActivate">
  254. <![CDATA[
  255. model.removenode("/root/send/savedata");
  256. model.makeNode("/root/send/savedata");
  257. model.copyNode("/root/send/savedata", "/root/main/hospicedetlinfo/hospicelist");
  258. model.removenode("/root/send/savedata/famycnst");
  259. if ( getNodesetCount("/root/main/hospicedetlinfo/hospicelist/famycnst/famylist") > 0 ) {
  260. model.makeValue("/root/send/savedata/famycnst", instance1.selectNodesXml("/root/main/hospicedetlinfo/hospicelist/famycnst/famylist"));
  261. }
  262. submit("TXMNH06801");
  263. ]]>
  264. </script>
  265. </button>
  266. <input id="ipt_pid" ref="/root/main/hospicedetlinfo/hospicelist/pid" class="input_default" disabled="true" navindex="22" maxlength="40" style="left:649px; top:26px; width:86px; height:19px; font-family:돋움체; "/>
  267. <input id="ipt_hngnm" ref="/root/main/hospicedetlinfo/hospicelist/hngnm" class="input_default" disabled="true" navindex="22" maxlength="40" style="left:801px; top:26px; width:86px; height:19px; font-family:돋움체; "/>
  268. <input id="ipt_sex" ref="/root/main/hospicedetlinfo/hospicelist/sex" class="input_default" disabled="true" navindex="22" maxlength="40" style="left:953px; top:26px; width:86px; height:19px; font-family:돋움체; "/>
  269. <input id="ipt_age" ref="/root/main/hospicedetlinfo/hospicelist/age" class="input_default" disabled="true" navindex="22" maxlength="40" style="left:1105px; top:26px; width:86px; height:19px; font-family:돋움체; "/>
  270. <line id="line3" class="line_2" style="x1:585px; y1:47px; x2:1190px; y2:47px; font-family:돋움체; "/>
  271. <caption id="cap_pid" class="cell_1" style="left:585px; top:25px; width:62px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; ">등록번호</caption>
  272. <caption id="cap_patnm" class="cell_1" style="left:737px; top:24px; width:62px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; ">성명</caption>
  273. <caption id="cap_sex" class="cell_1" style="left:889px; top:25px; width:62px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; ">성별</caption>
  274. <caption id="cap_age" class="cell_1" style="left:1041px; top:25px; width:62px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; ">나이</caption>
  275. <line id="line4" class="line_2" style="x1:585px; y1:71px; x2:1190px; y2:71px; font-family:돋움체; "/>
  276. <input id="ipt_medispclnm" ref="/root/main/hospicedetlinfo/hospicelist/medispclnm" class="input_default" disabled="true" navindex="22" maxlength="40" style="left:649px; top:50px; width:86px; height:19px; font-family:돋움체; "/>
  277. <input id="ipt_diag" ref="/root/main/hospicedetlinfo/hospicelist/diag" class="input_default" disabled="true" navindex="22" maxlength="40" style="left:801px; top:50px; width:238px; height:19px; font-family:돋움체; "/>
  278. <caption id="cap_diag" class="cell_1" style="left:737px; top:49px; width:62px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; ">진단명</caption>
  279. <caption id="cap_medispclnm" class="cell_1" style="left:585px; top:49px; width:62px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; ">주치의</caption>
  280. <line id="line5" class="line_2" style="x1:585px; y1:95px; x2:1194px; y2:95px; font-family:돋움체; "/>
  281. <caption id="cap_addr" class="cell_1" style="left:585px; top:73px; width:62px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; ">주소</caption>
  282. <caption id="caption13" class="cell_1" style="left:1041px; top:73px; width:62px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; ">전화번호</caption>
  283. <input id="ipt_telno" ref="/root/main/hospicedetlinfo/hospicelist/telno" class="input_default" disabled="true" navindex="22" maxlength="40" style="left:1105px; top:74px; width:86px; height:19px; font-family:돋움체; "/>
  284. <caption id="cap_socleco" class="cell_1" style="left:585px; top:165px; width:609px; height:23px; font-family:돋움체; text-align:left; vertical-align:middle; ">사회 경제적 상황</caption>
  285. <line id="line6" class="line_2" style="x1:585px; y1:211px; x2:1190px; y2:211px; font-family:돋움체; "/>
  286. <caption id="cap_marystatcd" class="cell_1" style="left:585px; top:189px; width:62px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; ">결혼상태</caption>
  287. <line id="line8" class="line_2" style="x1:585px; y1:235px; x2:1190px; y2:235px; font-family:돋움체; "/>
  288. <caption id="cap_livestat" class="cell_1" style="left:920px; top:189px; width:62px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; ">주거상태</caption>
  289. <caption id="cap_edcugrdecd" class="cell_1" style="left:585px; top:213px; width:62px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; ">교육정도</caption>
  290. <line id="line9" class="line_2" style="x1:585px; y1:259px; x2:1190px; y2:259px; font-family:돋움체; "/>
  291. <caption id="cap_ecostat" class="cell_1" style="left:585px; top:237px; width:62px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; ">경제상태</caption>
  292. <line id="line10" class="line_2" style="x1:585px; y1:283px; x2:1190px; y2:283px; font-family:돋움체; "/>
  293. <caption id="caption20" class="cell_1" style="left:585px; top:261px; width:62px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; ">의료보장</caption>
  294. <caption id="cap_jobcd" class="cell_1" style="left:800px; top:213px; width:62px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; ">직업</caption>
  295. <caption id="cap_religncd" class="cell_1" style="left:1041px; top:213px; width:62px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; ">종교</caption>
  296. <select id="chk_medsecu" ref="/root/main/hospicedetlinfo/hospicelist/medsecu" overflow="visible" appearance="full" cols="7" style="left:649px; top:264px; width:286px; height:15px; font-family:돋움체; border-style:none; ">
  297. <choices>
  298. <item>
  299. <label>건강보험</label>
  300. <value>1</value>
  301. </item>
  302. <item>
  303. <label>의료급여1종</label>
  304. <value>2</value>
  305. </item>
  306. <item>
  307. <label>의료급여2종</label>
  308. <value>3</value>
  309. </item>
  310. <item>
  311. <label>기타</label>
  312. <value>4</value>
  313. </item>
  314. </choices>
  315. </select>
  316. <select1 id="radio1" ref="/root/main/hospicedetlinfo/hospicelist/livestat" appearance="full" cellspacing="10" cols="4" overflow="visible" style="left:985px; top:192px; width:205px; height:13px; font-family:돋움체; border-style:none; ">
  317. <choices>
  318. <item>
  319. <label>자가</label>
  320. <value>1</value>
  321. </item>
  322. <item>
  323. <label>전세</label>
  324. <value>2</value>
  325. </item>
  326. <item>
  327. <label>월세</label>
  328. <value>3</value>
  329. </item>
  330. <item>
  331. <label>기타</label>
  332. <value>4</value>
  333. </item>
  334. </choices>
  335. </select1>
  336. <select1 id="cmb_religncd" ref="/root/main/hospicedetlinfo/hospicelist/religncd" class="combo_default" disabled="true" navindex="17" appearance="minimal" style="left:1105px; top:214px; width:86px; height:19px; font-family:돋움체; ">
  337. <choices>
  338. <itemset nodeset="/root/tmp/P0157list/P0157">
  339. <label ref="cdnm"/>
  340. <value ref="cdid"/>
  341. </itemset>
  342. </choices>
  343. <script type="javascript" ev:event="xforms-value-changed">
  344. <![CDATA[
  345. //종교 가톨릭시 세레명 활성화
  346. if (cmb_religncd.value=='1' ){
  347. ipt_baptnm.disabled = false;
  348. ipt_parishchrchnm.disabled = false;
  349. ipt_baptismdd.disabled = false;
  350. ipt_emerbaptdd.disabled = false;
  351. }else{
  352. ipt_baptnm.value="";
  353. ipt_baptnm.disabled = true;
  354. ipt_parishchrchnm.value="";
  355. ipt_parishchrchnm.disabled = true;
  356. ipt_baptismdd.value="";
  357. ipt_baptismdd.disabled = true;
  358. ipt_emerbaptdd.value="";
  359. ipt_emerbaptdd.disabled = true;
  360. }
  361. ]]>
  362. </script>
  363. </select1>
  364. <select1 id="cmb_jobcd" ref="/root/main/hospicedetlinfo/hospicelist/jobcd" class="combo_default" disabled="true" navindex="8" appearance="minimal" style="left:864px; top:214px; width:82px; height:19px; font-family:돋움체; ">
  365. <choices>
  366. <itemset nodeset="/root/tmp/M0068list/M0068">
  367. <label ref="cdnm"/>
  368. <value ref="cdid"/>
  369. </itemset>
  370. </choices>
  371. <script type="javascript" ev:event="xforms-value-changed">
  372. <![CDATA[
  373. //직업 기타선택시 기타사유명입력칸활성화
  374. if (cmb_jobcd.value == "10"){
  375. ipt_jobnm.disabled = false;
  376. }else{
  377. ipt_jobnm.value = "";
  378. ipt_jobnm.disabled = true;
  379. }
  380. ]]>
  381. </script>
  382. </select1>
  383. <input id="ipt_jobnm" ref="/root/main/hospicedetlinfo/hospicelist/jobcdetc" class="input_default" disabled="true" navindex="23" maxlength="40" style="left:947px; top:214px; width:86px; height:19px; font-family:돋움체; "/>
  384. <select1 id="cmb_educgrde" ref="/root/main/hospicedetlinfo/hospicelist/edcugrdecd" class="combo_default" disabled="true" navindex="3" appearance="minimal" style="left:649px; top:214px; width:146px; height:19px; font-family:돋움체; ">
  385. <choices>
  386. <itemset nodeset="/root/tmp/M0069list/M0069">
  387. <label ref="cdnm"/>
  388. <value ref="cdid"/>
  389. </itemset>
  390. </choices>
  391. <script type="javascript" ev:event="xforms-value-changed">
  392. <![CDATA[
  393. var educgrde = model.getValue("/root/main/wardrecinfo/educgrdecd");
  394. if(educgrde == "15") { //기타
  395. ipt_educgrde.disabled = false;
  396. } else {
  397. model.resetInstanceNode("/root/main/wardrecinfo/educgrdenm");
  398. ipt_educgrde.disabled = true;
  399. ipt_educgrde.refresh();
  400. }
  401. ]]>
  402. </script>
  403. </select1>
  404. <line id="line11" class="line_2" style="x1:585px; y1:119px; x2:1194px; y2:119px; font-family:돋움체; "/>
  405. <caption id="cap_cnstnm" class="cell_1" style="left:585px; top:97px; width:62px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; ">상담자</caption>
  406. <caption id="cap_infooffer" class="cell_1" style="left:800px; top:97px; width:72px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; ">정보제공자</caption>
  407. <caption id="cap_indd" class="cell_1" style="left:1041px; top:97px; width:62px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; ">상담일</caption>
  408. <input id="input8" ref="/root/main/hospicedetlinfo/hospicelist/cnstdd" class="input_default" navindex="22" inputtype="date" maxlength="40" style="left:1105px; top:98px; width:86px; height:19px; font-family:돋움체; "/>
  409. <input id="ipt_cnstnm" ref="/root/main/hospicedetlinfo/hospicelist/cnstnm" style="left:649px; top:98px; width:149px; height:19px; font-family:돋움체; "/>
  410. <input id="ipt_infooffer" ref="/root/main/hospicedetlinfo/hospicelist/infooffer" style="left:874px; top:98px; width:165px; height:19px; font-family:돋움체; "/>
  411. <input id="ipt_addr" ref="/root/main/hospicedetlinfo/hospicelist/addr" disabled="true" style="left:649px; top:74px; width:390px; height:19px; font-family:돋움체; "/>
  412. <select1 id="rdo_marystatcd" ref="/root/main/hospicedetlinfo/hospicelist/marystatcd" disabled="true" appearance="full" cellspacing="10" cols="9" overflow="visible" style="left:650px; top:192px; width:270px; height:13px; font-family:돋움체; border-style:none; ">
  413. <choices>
  414. <itemset nodeset="/root/tmp/M0206list/M0206">
  415. <label ref="cdnm"/>
  416. <value ref="cdid"/>
  417. </itemset>
  418. </choices>
  419. </select1>
  420. <textarea id="tar_bodyassess" ref="/root/main/hospicedetlinfo/hospicelist/bodyassess" style="left:585px; top:309px; width:304px; height:49px; font-family:돋움체; "/>
  421. <textarea id="tar_problem" ref="/root/main/hospicedetlinfo/hospicelist/problem" style="left:659px; top:359px; width:535px; height:42px; font-family:돋움체; "/>
  422. <line id="line12" class="line_2" style="x1:585px; y1:163px; x2:1194px; y2:163px; font-family:돋움체; "/>
  423. <caption id="cap_bodyassess" class="cell_1" style="left:585px; top:285px; width:304px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; ">신체적 평가 및 인지력 평가</caption>
  424. <caption id="cap_weakforte" class="cell_1" style="left:890px; top:285px; width:304px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; ">약점 및 강점 사정에 대한 코멘트</caption>
  425. <textarea id="tar_weakforte" ref="/root/main/hospicedetlinfo/hospicelist/weakforte" style="left:890px; top:309px; width:304px; height:49px; font-family:돋움체; "/>
  426. <line id="line14" class="line_2" style="x1:585px; y1:402px; x2:1190px; y2:402px; font-family:돋움체; "/>
  427. <caption id="cap_problem" class="cell_1" style="left:585px; top:359px; width:72px; height:44px; font-family:돋움체; text-align:left; vertical-align:middle; ">
  428. <![CDATA[해결되지
  429. 않은 문제]]>
  430. </caption>
  431. <img id="img1" ref="/root/main/hospicedetlinfo/hospicelist/ecoltree" visibility="hidden" style="left:661px; top:406px; width:204px; height:154px; background-stretch:stretch; ">
  432. <script type="javascript" ev:event="onclick">
  433. <![CDATA[
  434. model.setValue(img_bigImage.attribute("ref"), model.getValue(img1.attribute("ref")));
  435. setImageRefInstance(img_bigImage.attribute("ref"));
  436. img_bigImage.refresh();
  437. grp_imageView.visible = true;
  438. ]]>
  439. </script>
  440. </img>
  441. <textarea id="textarea2" ref="/root/main/hospicedetlinfo/hospicelist/careoffer" style="left:659px; top:585px; width:535px; height:33px; font-family:돋움체; "/>
  442. <line id="line15" class="line_2" style="x1:585px; y1:583px; x2:1190px; y2:583px; font-family:돋움체; "/>
  443. <select id="checkbox1" ref="/root/main/hospicedetlinfo/hospicelist/importprob" overflow="visible" appearance="full" cellspacing="60" cols="3" style="left:659px; top:622px; width:535px; height:53px; border-style:none; ">
  444. <choices>
  445. <item>
  446. <label>경제적</label>
  447. <value>1</value>
  448. </item>
  449. <item>
  450. <label>심리사회적,정서적</label>
  451. <value>2</value>
  452. </item>
  453. <item>
  454. <label>퇴원 또는 사후치료</label>
  455. <value>3</value>
  456. </item>
  457. <item>
  458. <label>지역사회자원연결</label>
  459. <value>4</value>
  460. </item>
  461. <item>
  462. <label>재활</label>
  463. <value>5</value>
  464. </item>
  465. <item>
  466. <label>장기기증순수성평가상담</label>
  467. <value>6</value>
  468. </item>
  469. <item>
  470. <label>기타</label>
  471. <value>0</value>
  472. </item>
  473. </choices>
  474. </select>
  475. <line id="line16" class="line_2" style="x1:585px; y1:619px; x2:1190px; y2:619px; font-family:돋움체; "/>
  476. <caption id="caption30" class="cell_1" style="left:585px; top:585px; width:72px; height:35px; font-family:돋움체; text-align:left; vertical-align:middle; ">돌봄제공자</caption>
  477. <line id="line17" class="line_2" style="x1:585px; y1:677px; x2:1190px; y2:677px; font-family:돋움체; "/>
  478. <caption id="caption32" class="cell_1" style="left:585px; top:679px; width:609px; height:23px; font-family:돋움체; text-align:left; vertical-align:middle; ">임종준비(환자의 희망/ 장례에 대한 계획)</caption>
  479. <caption id="caption31" class="cell_1" style="left:585px; top:621px; width:72px; height:57px; font-family:돋움체; text-align:left; vertical-align:middle; ">주요문제</caption>
  480. <textarea id="textarea5" ref="/root/main/hospicedetlinfo/hospicelist/dethprepare" style="left:585px; top:703px; width:609px; height:62px; font-family:돋움체; "/>
  481. <caption id="caption33" class="cell_1" style="left:937px; top:261px; width:62px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; ">가계도</caption>
  482. <button id="button11" class="btn2_letter3" style="left:1001px; top:262px; width:53px; height:19px; ">
  483. <caption>가계도</caption>
  484. <script type="javascript" ev:event="onclick">
  485. <![CDATA[
  486. var shape = instance1.selectNodesXml("/root/main/hospicedetlinfo/hospicelist/genogrmnm");
  487. setParameter("SPMMR04711_shape", shape);
  488. setParameter("SPMMR04711_closeyn", "");
  489. modal("SPMMR04700", 1,10, 10, "SPMMR04700" ,"/root/temp/strmeta", "/root/send");
  490. ]]>
  491. </script>
  492. </button>
  493. <caption id="cap_genogrmnm" visibility="hidden" style="left:1057px; top:262px; width:14px; height:15px; font-family:돋움체; font-size:14pt; font-weight:bold; color:#0000ff; ">Y</caption>
  494. <caption id="caption29" class="cell_1" style="left:585px; top:404px; width:72px; height:180px; font-family:돋움체; text-align:center; vertical-align:middle; ">가족상담</caption>
  495. <button id="button2" class="btn2_letter2" style="left:1140px; top:262px; width:42px; height:19px; ">
  496. <caption>등록</caption>
  497. <script type="javascript" ev:event="DOMActivate">
  498. <![CDATA[
  499. var file = openImageFileDialog(4000000); // image 파일이 너무 크면 submit 시간이 매우 오래(5분이상) 걸리므로 가급적 사이즈를 작게 제한한다.
  500. if (file == "") {
  501. return;
  502. }
  503. img2.src = file;
  504. var data = img2.getbase64data();
  505. model.setValue(img1.attribute("ref"), data, true);
  506. setImageRefInstance(img1.attribute("ref"));
  507. img1.refresh();
  508. ]]>
  509. </script>
  510. </button>
  511. <img id="img2" ref="/root/main/hospicedetlinfo/hospicelist/ecoltreedata" visibility="hidden" style="left:815px; top:405px; width:204px; height:154px; background-stretch:stretch; "/>
  512. <input id="input1" ref="/root/main/hospicedetlinfo/hospicelist/ecostat" style="left:649px; top:238px; width:543px; height:19px; "/>
  513. <input id="ipt_famytree" ref="/root/main/hospicedetlinfo/hospicelist/famytree" visibility="hidden" style="left:1039px; top:167px; width:60px; height:19px; "/>
  514. <input id="ipt_genogrmnm" ref="/root/main/hospicedetlinfo/hospicelist/genogrmnm" visibility="hidden" style="left:1099px; top:167px; width:90px; height:19px; "/>
  515. <input id="ipt_orddeptcd" ref="/root/main/hospicedetlinfo/hospicelist/orddeptcd" visibility="hidden" style="left:895px; top:165px; width:70px; height:19px; "/>
  516. <button id="button5" class="btn2_letter2" visibility="hidden" style="left:975px; top:165px; width:42px; height:19px; ">
  517. <caption>확대</caption>
  518. <script type="javascript" ev:event="DOMActivate">
  519. <![CDATA[
  520. model.setValue(img_bigImage.attribute("ref"), model.getValue(img1.attribute("ref")));
  521. setImageRefInstance(img_bigImage.attribute("ref"));
  522. img_bigImage.refresh();
  523. grp_imageView.visible = true;
  524. ]]>
  525. </script>
  526. </button>
  527. <button id="button6" class="btn5_letter2" style="left:1150px; top:0px; width:42px; height:19px; font-family:돋움체; ">
  528. <caption>출력</caption>
  529. <script type="javascript" ev:event="DOMActivate">
  530. <![CDATA[
  531. fPrint();
  532. ]]>
  533. </script>
  534. </button>
  535. <input id="ipt_indd" ref="/root/main/hospicedetlinfo/hospicelist/indd" class="input_default" disabled="true" navindex="22" inputtype="date" maxlength="40" style="left:1105px; top:50px; width:86px; height:19px; font-family:돋움체; "/>
  536. <caption id="caption4" class="cell_1" style="left:1041px; top:49px; width:62px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; ">입원일</caption>
  537. <textarea id="ipt_genrdd" ref="/root/main/hospicedetlinfo/hospicelist/genrdd" style="left:649px; top:122px; width:542px; height:40px; "/>
  538. <caption id="cap_genrdd" class="cell_1" style="left:585px; top:121px; width:62px; height:43px; font-family:돋움체; text-align:left; vertical-align:middle; ">발병년도</caption>
  539. <caption id="caption5" class="cell_1" style="left:1075px; top:260px; width:62px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; ">
  540. <![CDATA[생태도]]>
  541. <script type="javascript" ev:event="onclick">
  542. <![CDATA[
  543. button5.dispatch("DOMActivate");
  544. ]]>
  545. </script>
  546. </caption>
  547. <datagrid id="grd_famycnst" nodeset="/root/main/hospicedetlinfo/hospicelist/famycnst/famylist/famylist" autoresize="true" caption="일자^내용" colsep="^" colwidth="95, 375" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:659px; top:405px; width:534px; height:177px; ">
  548. <col ref="cnstdd" type="inputdate" style="text-align:center; "/>
  549. <col ref="cnst" type="input"/>
  550. </datagrid>
  551. <button id="btn_delfamycnst" class="btn2_letter3" style="left:605px; top:430px; width:53px; height:19px; ">
  552. <caption>행삭제</caption>
  553. <script type="javascript" ev:event="DOMActivate">
  554. <![CDATA[
  555. grd_famycnst.deleteRow(grd_famycnst.row);
  556. ]]>
  557. </script>
  558. </button>
  559. <button id="btn_addfamycnst" class="btn2_letter3" style="left:605px; top:410px; width:53px; height:19px; ">
  560. <caption>행추가</caption>
  561. <script type="javascript" ev:event="DOMActivate">
  562. <![CDATA[
  563. grd_famycnst.addRow();
  564. ]]>
  565. </script>
  566. </button>
  567. <group id="grp_imageView" visibility="hidden" style="left:120px; top:15px; width:800px; height:685px; ">
  568. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:1px; width:795px; height:679px; background-color:#fffbf2; border-color:#ffd799; "/>
  569. <img id="img_bigImage" ref="/root/main/bigimage" style="left:10px; top:10px; width:775px; height:659px; background-stretch:stretch; ">
  570. <script type="javascript" ev:event="onclick">
  571. <![CDATA[
  572. grp_imageView.visible = false;
  573. //grp_biz.disabled = false;
  574. ]]>
  575. </script>
  576. </img>
  577. <button id="button4" class="btn2_letter2" style="left:745px; top:10px; width:42px; height:19px; ">
  578. <caption>닫기</caption>
  579. <script type="javascript" ev:event="DOMActivate">
  580. <![CDATA[
  581. grp_imageView.visible = false;
  582. // grp_biz.disabled = false;
  583. ]]>
  584. </script>
  585. </button>
  586. </group>
  587. </xhtml:body>
  588. </xhtml:html>