SSPMC00100_인적사항.xrw 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>인적사항</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <patinfo>
  11. <patinfolist>
  12. <pid/>
  13. <hngnm/>
  14. <engnm/>
  15. <chinm/>
  16. <rrgstno1/>
  17. <rrgstno2/>
  18. <brthdd/>
  19. <sex/>
  20. <age/>
  21. <bindpid/>
  22. <hometel/>
  23. <mpphontel/>
  24. <etctel1/>
  25. <etctel2/>
  26. <smsaprvyn/>
  27. <email/>
  28. <zipcd1/>
  29. <zipcd2/>
  30. <zipcdseq/>
  31. <addr/>
  32. <detladdr/>
  33. <btype/>
  34. <rh/>
  35. <forgeryn/>
  36. <nati/>
  37. <psptno/>
  38. <recmyn/>
  39. <recmerid/>
  40. <recmerrela/>
  41. <vipyn/>
  42. <viprem/>
  43. <religncd/>
  44. <baptnm/>
  45. <chchnm/>
  46. <dethyn/>
  47. <dethdt/>
  48. <chosresn/>
  49. <animyn/>
  50. <exptresncd/>
  51. <inhospyn/>
  52. <remfact/>
  53. <outuncoamt/>
  54. <dschuncoamt/>
  55. <fstrgstrid/>
  56. <fstrgstdt/>
  57. <lastupdtrid/>
  58. <lastupdtdt/>
  59. <hngnm2/>
  60. </patinfolist>
  61. </patinfo>
  62. <popupendflag/>
  63. <result>
  64. <patinfo/>
  65. </result>
  66. </main>
  67. <send/>
  68. <init>
  69. <P0015list>
  70. <P0015>
  71. <cdid/>
  72. <cdnm/>
  73. </P0015>
  74. </P0015list>
  75. <P0157list>
  76. <P0157>
  77. <cdid/>
  78. <cdnm/>
  79. </P0157>
  80. </P0157list>
  81. </init>
  82. <hidden>
  83. <uid>
  84. <childre>
  85. <wid/>
  86. </childre>
  87. </uid>
  88. </hidden>
  89. <source>
  90. <srchcond/>
  91. <pid/>
  92. <hngnm/>
  93. <rrgstno1/>
  94. <rrgstno2/>
  95. </source>
  96. <temp>
  97. <paminfo/>
  98. </temp>
  99. </root>
  100. </instance>
  101. <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/source" resultref="/root/main/result/patinfo"/>
  102. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  103. </model>
  104. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  105. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  106. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  107. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  108. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  109. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  110. <script type="javascript" ev:event="xforms-ready">
  111. <![CDATA[
  112. zbcfGetCodeList(new Array("P0157", "P0015"), new Array("/root/init/P0157list", "/root/init/P0015list"));
  113. //2007.7.23 - 이동식 추가
  114. //다른곳에서 화면 호출 조회
  115. //간호 요청사항 추가
  116. //2007.12.28 - 박지욱 추가
  117. //root/temp/paminfo 노드 만들었음
  118. var node = getGlobalVariable("paminfo");
  119. var pid = '';
  120. if(node != '' && node != null){
  121. setCSVToNode("/root/temp/paminfo", node);
  122. pid = model.getValue("/root/temp/paminfo/list/pid");
  123. }else if (checkOpener()){ //팝업화면으로 사용될 때
  124. pid = model.getValue("/root/source/pid");
  125. }
  126. // checkOpener()를 체크하지 않고 노드에 직접적으로 매핑되어 있는 값을 검사함으로써 검색을 한다.
  127. if(model.getValue("/root/main/patinfo/patinfolist/pid") != ''){
  128. ipt_pid.currentText = model.getValue("/root/main/patinfo/patinfolist/pid");
  129. fSearchPatInfo();
  130. }
  131. if(pid != ""){
  132. ipt_pid.currentText = pid;
  133. fSearchPatInfo();
  134. }
  135. model.refresh();
  136. ]]>
  137. </script>
  138. <script type="javascript">
  139. <![CDATA[
  140. function fSearchPatInfo(){
  141. model.setValue("/root/source/srchcond", "1");
  142. model.setValue("/root/source/pid", ipt_pid.currentText);
  143. //inputEnterKey("btn_search", "DOMActivate");
  144. //환자등록번호 체크
  145. if(ipt_pid.currentText.length >= 1 ){
  146. model.resetInstanceNode("/root/main/result");
  147. model.makeNode("/root/main/result/patinfo");
  148. if(submit("TRPMC02500")){
  149. //fSearch는 인적사항 화면을 임포트 해간 화면에서 구현해 주어야 하는 함수이다.
  150. if( getNodesetCount("/root/main/result/patinfo/patinfolist") > 0 ){
  151. model.copyNode("/root/main/patinfo", "/root/main/result/patinfo");
  152. model.setValue("/root/main/popupendflag", "ok");
  153. model.refresh();
  154. fSearch();
  155. }else{
  156. model.resetInstanceNode("/root/main/patinfo/patinfolist");
  157. messageBox("없는 환자 번호 입니다.", "E999", "");
  158. model.refresh();
  159. }
  160. }
  161. }else{
  162. messageBox("환자등록번호를 정확히", "C001");
  163. }
  164. }
  165. ]]>
  166. </script>
  167. </xhtml:head>
  168. <xhtml:body>
  169. <group id="group5" style="left:0px; top:0px; width:1195px; height:197px; ">
  170. <select1 id="combo37" ref="/root/main/patinfo/patinfolist/recmerrela" class="combo_default" disabled="true" visibility="hidden" appearance="minimal" style="left:521px; top:126px; width:132px; height:19px; ">
  171. <choices>
  172. <itemset nodeset="/root/init/P0015list/P0015">
  173. <label ref="cdnm"/>
  174. <value ref="cdid"/>
  175. </itemset>
  176. </choices>
  177. </select1>
  178. <select id="checkbox9" ref="/root/main/patinfo/patinfolist/recmyn" disabled="true" visibility="hidden" overflow="hidden" appearance="full" style="left:284px; top:126px; width:70px; height:20px; border-style:none; ">
  179. <choices>
  180. <item>
  181. <label>직원소개</label>
  182. <value>Y</value>
  183. </item>
  184. </choices>
  185. </select>
  186. <caption id="caption1" class="cell_1" visibility="hidden" style="left:443px; top:125px; width:75px; height:23px; ">관계</caption>
  187. <caption id="caption41" class="cell_1" visibility="hidden" style="left:180px; top:125px; width:100px; height:23px; ">추천여부/추천인</caption>
  188. <output id="output67" ref="/root/main/patinfo/patinfolist/recmerid" class="output_fix" visibility="hidden" appearance="output" style="left:357px; top:126px; width:83px; height:19px; "/>
  189. <caption id="caption48" class="cell_1" style="left:721px; top:157px; width:100px; height:23px; ">외래미수금</caption>
  190. <caption id="caption45" class="cell_1" style="left:0px; top:102px; width:100px; height:95px; ">참고사항</caption>
  191. <caption id="caption44" class="cell_1" style="left:984px; top:157px; width:75px; height:23px; ">퇴원미수금</caption>
  192. <line id="line22" class="line_3" style="x1:0px; y1:196px; x2:1194px; y2:196px; "/>
  193. <output id="ipt_mpphontel" ref="/root/main/patinfo/patinfolist/mpphontel" class="output_fix" appearance="output" style="left:618px; top:55px; width:100px; height:19px; "/>
  194. <output id="ipt_etctel1" ref="/root/main/patinfo/patinfolist/etctel1" class="output_fix" appearance="output" style="left:618px; top:79px; width:100px; height:19px; "/>
  195. <caption id="caption2" class="tit_2" style="left:5px; top:10px; width:95px; height:13px; ">인적사항</caption>
  196. <line id="line14" class="line_2" style="x1:0px; y1:100px; x2:1194px; y2:100px; "/>
  197. <line id="line15" class="line_2" style="x1:0px; y1:76px; x2:1194px; y2:76px; "/>
  198. <line id="line16" class="line_2" style="x1:0px; y1:52px; x2:1194px; y2:52px; "/>
  199. <output id="ipt_detladdr" ref="/root/main/patinfo/patinfolist/detladdr" class="output_fix" appearance="output" style="left:824px; top:55px; width:370px; height:19px; "/>
  200. <line id="line17" class="line_1" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  201. <select1 id="combo6" ref="/root/main/patinfo/patinfolist/religncd" class="combo_default" disabled="true" appearance="minimal" style="left:1062px; top:104px; width:132px; height:19px; ">
  202. <choices>
  203. <itemset nodeset="/root/init/P0157list/P0157">
  204. <label ref="cdnm"/>
  205. <value ref="cdid"/>
  206. </itemset>
  207. </choices>
  208. </select1>
  209. <output id="input28" ref="/root/main/patinfo/patinfolist/email" class="output_fix" appearance="output" style="left:824px; top:79px; width:370px; height:19px; "/>
  210. <textarea id="tar_remfact" ref="/root/main/patinfo/patinfolist/remfact" disabled="true" style="left:103px; top:103px; width:615px; height:91px; "/>
  211. <output id="ipt_engnm" ref="/root/main/patinfo/patinfolist/engnm" class="output_fix" appearance="output" style="left:377px; top:55px; width:135px; height:19px; "/>
  212. <output id="ipt_birthdd" ref="/root/main/patinfo/patinfolist/brthdd" class="output_fix" format="yyyy-mm-dd" inputtype="date" appearance="output" style="left:412px; top:79px; width:100px; height:19px; "/>
  213. <output id="opt_sex" ref="/root/main/patinfo/patinfolist/sex" class="output_fix" style="left:412px; top:31px; width:49px; height:19px; "/>
  214. <output id="opt_age" ref="/root/main/patinfo/patinfolist/age" class="output_fix" style="left:464px; top:31px; width:48px; height:19px; "/>
  215. <output id="ipt_hometel" ref="/root/main/patinfo/patinfolist/hometel" class="output_fix" appearance="output" style="left:618px; top:31px; width:100px; height:19px; "/>
  216. <input id="ipt_rrgstno1" ref="/root/main/patinfo/patinfolist/rrgstno1" class="input_s_essential" navindex="3" format="999999" style="left:103px; top:79px; width:100px; height:19px; ">
  217. <script type="javascript" ev:event="onkeypress">
  218. <![CDATA[
  219. model.setValue("/root/source/srchcond", "3");
  220. model.setValue("/root/source/rrgstno1", ipt_rrgstno1.currentText);
  221. model.setValue("/root/source/rrgstno2", ipt_rrgstno2.currentText);
  222. inputEnterKey("btn_search", "DOMActivate");
  223. ]]>
  224. </script>
  225. </input>
  226. <input id="ipt_rrgstno2" ref="/root/main/patinfo/patinfolist/rrgstno2" class="input_s_essential" navindex="4" autonext="false" format="9999999" style="left:206px; top:79px; width:100px; height:19px; ">
  227. <script type="javascript" ev:event="onkeypress">
  228. <![CDATA[
  229. model.setValue("/root/source/srchcond", "3");
  230. model.setValue("/root/source/rrgstno1", ipt_rrgstno1.currentText);
  231. model.setValue("/root/source/rrgstno2", ipt_rrgstno2.currentText);
  232. inputEnterKey("btn_search", "DOMActivate");
  233. ]]>
  234. </script>
  235. </input>
  236. <select id="checkbox10" ref="/root/main/patinfo/patinfolist/vipyn" disabled="true" overflow="visible" appearance="full" style="left:824px; top:105px; width:41px; height:20px; border-style:none; ">
  237. <choices>
  238. <item>
  239. <label>VIP</label>
  240. <value>Y</value>
  241. </item>
  242. </choices>
  243. </select>
  244. <output id="input24" ref="/root/main/patinfo/patinfolist/baptnm" class="output_fix" appearance="output" style="left:824px; top:131px; width:157px; height:19px; "/>
  245. <output id="input25" ref="/root/main/patinfo/patinfolist/chchnm" class="output_fix" appearance="output" style="left:1062px; top:131px; width:132px; height:19px; "/>
  246. <line id="line12" class="line_2" style="x1:721px; y1:127px; x2:1194px; y2:127px; "/>
  247. <line id="line13" class="line_2" style="x1:721px; y1:100px; x2:1194px; y2:100px; "/>
  248. <output id="input27" ref="/root/main/patinfo/patinfolist/addr" class="output_fix" appearance="output" style="left:908px; top:31px; width:286px; height:19px; "/>
  249. <output id="ipt_zipcd2" ref="/root/main/patinfo/patinfolist/zipcd2" class="output_fix" appearance="output" style="left:857px; top:31px; width:30px; height:19px; "/>
  250. <output id="ipt_zipcd1" ref="/root/main/patinfo/patinfolist/zipcd1" class="output_fix" appearance="output" style="left:824px; top:31px; width:30px; height:19px; "/>
  251. <output id="input30" ref="/root/main/patinfo/patinfolist/outuncoamt" class="output_fix" format="#,###" appearance="output" style="left:824px; top:158px; width:157px; height:19px; "/>
  252. <output id="input32" ref="/root/main/patinfo/patinfolist/dschuncoamt" class="output_fix" appearance="output" style="left:1062px; top:158px; width:132px; height:19px; "/>
  253. <line id="line19" class="line_2" style="x1:721px; y1:154px; x2:1194px; y2:154px; "/>
  254. <button id="btn_search" class="icon_search" navindex="5" style="left:290px; top:31px; width:16px; height:16px; ">
  255. <caption/>
  256. <script type="javascript" ev:event="DOMActivate">
  257. <![CDATA[
  258. modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/source", "/root/send");
  259. //fSearch는 인적사항 화면을 임포트 해간 화면에서 구현해 주어야 하는 함수이다.
  260. fSearch();
  261. model.resetInstanceNode("/root/source");
  262. ]]>
  263. </script>
  264. </button>
  265. <caption id="caption40" class="cell_1" style="left:721px; top:30px; width:100px; height:23px; ">우편번호/주소</caption>
  266. <caption id="caption42" class="cell_1" style="left:984px; top:130px; width:75px; height:23px; ">성당정보</caption>
  267. <caption id="caption43" class="cell_1" style="left:721px; top:103px; width:100px; height:23px; ">VIP여부/비고</caption>
  268. <caption id="caption21" class="cell_1" style="left:0px; top:30px; width:100px; height:23px; ">환자번호</caption>
  269. <caption id="caption22" class="cell_1" style="left:515px; top:30px; width:100px; height:23px; ">전화[자택]</caption>
  270. <caption id="caption56" class="cell_1" style="left:721px; top:130px; width:100px; height:23px; ">세례명</caption>
  271. <caption id="caption34" class="cell_1" style="left:515px; top:54px; width:100px; height:23px; ">전화[휴대]</caption>
  272. <caption id="caption23" class="cell_1" style="left:0px; top:54px; width:100px; height:23px; ">성명[한/표/영]</caption>
  273. <caption id="caption57" class="cell_1" style="left:309px; top:30px; width:100px; height:23px; ">성별/나이</caption>
  274. <caption id="caption35" class="cell_1" style="left:0px; top:78px; width:100px; height:23px; ">주민번호</caption>
  275. <caption id="caption36" class="cell_1" style="left:515px; top:78px; width:100px; height:23px; ">전화[기타]</caption>
  276. <caption id="caption47" class="cell_1" style="left:309px; top:78px; width:100px; height:23px; ">생년월일</caption>
  277. <caption id="caption37" class="cell_1" style="left:984px; top:103px; width:75px; height:23px; ">종교</caption>
  278. <caption id="caption38" class="cell_1" style="left:721px; top:78px; width:100px; height:23px; ">이메일주소</caption>
  279. <caption id="caption39" class="cell_1" style="left:721px; top:54px; width:100px; height:23px; ">상세(하위)주소</caption>
  280. <input id="ipt_pid" ref="/root/main/patinfo/patinfolist/pid" class="input_s_essential" navindex="1" autonext="false" imemode="alpha" style="left:103px; top:31px; width:184px; height:19px; ">
  281. <script type="javascript" ev:event="onkeypress">
  282. <![CDATA[
  283. if(event.keyCode == "13") {
  284. fSearchPatInfo();
  285. }
  286. ]]>
  287. </script>
  288. </input>
  289. <input id="ipt_hngnm" ref="/root/main/patinfo/patinfolist/hngnm" class="input_s_essential" navindex="2" autonext="false" imemode="hangul" style="left:103px; top:55px; width:135px; height:19px; ">
  290. <script type="javascript" ev:event="onkeypress">
  291. <![CDATA[
  292. model.setValue("/root/source/srchcond", "2");
  293. model.setValue("/root/source/hngnm", ipt_hngnm.currentText);
  294. inputEnterKey("btn_search", "DOMActivate");
  295. ]]>
  296. </script>
  297. </input>
  298. <output id="input1" ref="/root/main/patinfo/patinfolist/viprem" class="output_fix" appearance="output" style="left:865px; top:104px; width:116px; height:19px; "/>
  299. <output id="input2" ref="/root/main/patinfo/patinfolist/zipcdseq" class="output_fix" appearance="output" style="left:890px; top:31px; width:15px; height:19px; "/>
  300. <button id="button1" class="btn2_letter5" visibility="hidden" style="left:55px; top:80px; width:75px; height:19px; ">
  301. <caption>주민번호</caption>
  302. <script type="javascript" ev:event="DOMActivate">
  303. <![CDATA[
  304. fEasyPadNoInsert("rrgstno" , ipt_rrgstno1 , ipt_rrgstno2);
  305. model.refresh();
  306. ]]>
  307. </script>
  308. </button>
  309. <output id="output1" ref="/root/main/patinfo/patinfolist/hngnm2" class="output_fix" appearance="output" style="left:240px; top:55px; width:135px; height:19px; "/>
  310. <button id="btn_remfact" class="btn2_letter2" style="left:53px; top:173px; width:42px; height:19px; ">
  311. <caption>펼침</caption>
  312. <script type="javascript" ev:event="DOMActivate">
  313. <![CDATA[
  314. if (model.getValue("/root/main/patinfo/patinfolist/pid") == ""){
  315. return;
  316. }
  317. model.setValue("/root/main/patinfo/patinfolist/remfact", fCallSpecPopUp_remfact(model.getValue("/root/main/patinfo/patinfolist/pid"),model.getValue("/root/main/patinfo/patinfolist/remfact")));
  318. tar_remfact.refresh();
  319. ]]>
  320. </script>
  321. </button>
  322. </group>
  323. </xhtml:body>
  324. </xhtml:html>