SMMNH02900_호스피스 환자관리.xrw 61 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389
  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. <hospice>
  11. <hospicelist>
  12. <nsgbn/>
  13. <cltgbn/>
  14. <pid/>
  15. <hngnm/>
  16. <sexage/>
  17. <termengnm/>
  18. <intvdd/>
  19. <waitdd/>
  20. <distributedd/>
  21. <reqtypeflag/>
  22. <reqtypehtfa/>
  23. <reqresnflag/>
  24. <mngtprescd/>
  25. <enddd/>
  26. <exptresn/>
  27. <waitenddd/>
  28. <waitendresn/>
  29. <dschdd/>
  30. <dschtype/>
  31. <dschresn/>
  32. <dschlnk/>
  33. <indd/>
  34. <cretno/>
  35. <instcd/>
  36. <cretdd/>
  37. <crettm/>
  38. <waitstat/>
  39. <status/>
  40. <rrgstno/>
  41. <dethyn/>
  42. <dethdt/>
  43. <reqdeptcd/>
  44. <reqdd/>
  45. <atdoctid/>
  46. <atdoctnm/>
  47. <reqtypeflags/>
  48. <wardcd/>
  49. <diagi/>
  50. <diagii/>
  51. <inrmflag/>
  52. </hospicelist>
  53. <reqcncllist>
  54. <pid/>
  55. <hngnm/>
  56. <cncldd/>
  57. </reqcncllist>
  58. </hospice>
  59. <cond>
  60. <fbrthdd/>
  61. <lbrthdd/>
  62. </cond>
  63. <hospiceinfo>
  64. <hospicedetl>
  65. <pid/>
  66. <hngnm/>
  67. <sexage/>
  68. <religncd/>
  69. <patcntctel/>
  70. <procercntctel/>
  71. <rrgstno/>
  72. <baptnm/>
  73. <zipcd1/>
  74. <zipcd2/>
  75. <zipcdseq/>
  76. <detladdr/>
  77. <zipcode/>
  78. <supaddr/>
  79. <termengnm/>
  80. <diagcd1/>
  81. <diagcd2/>
  82. <reqdd/>
  83. <reqindd/>
  84. <reqtypeflag/>
  85. <reqhospnm/>
  86. <reqhospnm_bak/>
  87. <reqtypespec/>
  88. <reqtypespec_bak/>
  89. <icdrroomcd/>
  90. <icdrindd/>
  91. <reqresnflag/>
  92. <reqresnetc/>
  93. <mngtprescd/>
  94. <roomgrdecd/>
  95. <calcscoryn_tmp/>
  96. <calcscoryn>N</calcscoryn>
  97. <remark/>
  98. <intvdd/>
  99. <inrmdd/>
  100. <inrmtm/>
  101. <waitdd/>
  102. <waitdd2/>
  103. <roomcd/>
  104. <enddd/>
  105. <exptresn/>
  106. <exptresnetc/>
  107. <waitenddd/>
  108. <waitendresn/>
  109. <waitendresnetc/>
  110. <dschdd/>
  111. <dschtype/>
  112. <dschresn/>
  113. <dschresnetc/>
  114. <dschlnk/>
  115. <dschlnketc/>
  116. <cncrawaryn/>
  117. <procncrawaryn/>
  118. <endawaryn/>
  119. <proendawaryn/>
  120. <indd/>
  121. <cretno/>
  122. <cretdd/>
  123. <crettm/>
  124. <instcd/>
  125. <waitstat/>
  126. <agonaldd/>
  127. <agonalplcecd/>
  128. <reqdeptcd/>
  129. <atdoctid/>
  130. <atdoctnm/>
  131. <status/>
  132. <wardcd/>
  133. <atdoctid/>
  134. </hospicedetl>
  135. </hospiceinfo>
  136. <newpatientinfo>
  137. <newpatinfo>
  138. <pid/>
  139. <indd/>
  140. <cretno/>
  141. <orddrid/>
  142. <orddrnm/>
  143. <orddeptcd/>
  144. <dschdd/>
  145. <enddd/>
  146. <waitenddd/>
  147. <hngnm/>
  148. <sexage/>
  149. <orddeptnm/>
  150. <reqdd/>
  151. <waitdd/>
  152. <inrmdd/>
  153. <status/>
  154. <indschacptstat/>
  155. </newpatinfo>
  156. </newpatientinfo>
  157. </main>
  158. <send>
  159. </send>
  160. <temp>
  161. <hospice_popmenu>
  162. <menu>
  163. <name>호스피스 기록지</name>
  164. <func>fhospice_popmenu</func>
  165. </menu>
  166. <menu>
  167. <name>Hospice follow up sheet</name>
  168. <func>fhospice_follow</func>
  169. </menu>
  170. <menu>
  171. <name>환자가족 등록</name>
  172. <func>fhospice_famy</func>
  173. </menu>
  174. <menu>
  175. <name>사별가족 조회</name>
  176. <func>fhospice_agonal</func>
  177. </menu>
  178. <menu>
  179. <name>의뢰서 조회</name>
  180. <func>fhospice_rec</func>
  181. </menu>
  182. <menu>
  183. <name>사별가족기록</name>
  184. <func>fhospice_agonalrec</func>
  185. </menu>
  186. <menu>
  187. <name>가족 상담</name>
  188. <func>fhospice_famyconsult</func>
  189. </menu>
  190. </hospice_popmenu>
  191. <hospice_popmenu2>
  192. <menu2>
  193. <name>환자가족 등록</name>
  194. <func>fhospice_famy</func>
  195. </menu2>
  196. <menu2>
  197. <name>사별가족 조회</name>
  198. <func>fhospice_agonal</func>
  199. </menu2>
  200. <menu2>
  201. <name>의뢰서 조회</name>
  202. <func>fhospice_rec</func>
  203. </menu2>
  204. <menu2>
  205. <name>사별가족기록</name>
  206. <func>fhospice_agonalrec</func>
  207. </menu2>
  208. <menu2>
  209. <name>가족 상담</name>
  210. <func>fhospice_famyconsult</func>
  211. </menu2>
  212. </hospice_popmenu2>
  213. <hospice_popmenu3>
  214. <menu3>
  215. <name>호스피스 기록지</name>
  216. <func>fhospice_popmenu</func>
  217. </menu3>
  218. <menu3>
  219. <name>환자가족 등록</name>
  220. <func>fhospice_famy</func>
  221. </menu3>
  222. <menu3>
  223. <name>사별가족 조회</name>
  224. <func>fhospice_agonal</func>
  225. </menu3>
  226. <menu3>
  227. <name>의뢰서 조회</name>
  228. <func>fhospice_rec</func>
  229. </menu3>
  230. <menu3>
  231. <name>사별가족기록</name>
  232. <func>fhospice_agonalrec</func>
  233. </menu3>
  234. <menu3>
  235. <name>가족 상담</name>
  236. <func>fhospice_famyconsult</func>
  237. </menu3>
  238. </hospice_popmenu3>
  239. <hospicegubun>1 2</hospicegubun>
  240. <hospicestsgb/>
  241. <pamcgubun>W</pamcgubun>
  242. <htfa>
  243. <htfacnt>
  244. <waitstat/>
  245. <pid/>
  246. <cretdd/>
  247. <crettm/>
  248. <reqdd/>
  249. <waitdd/>
  250. <cretno/>
  251. <indd/>
  252. <inwaitcnt/>
  253. </htfacnt>
  254. <cnt/>
  255. </htfa>
  256. <refnm/>
  257. <refflag>1</refflag>
  258. <resncd/>
  259. </temp>
  260. <init>
  261. <P0157list>
  262. <cdid/>
  263. <cdnm/>
  264. </P0157list>
  265. <M0477detl>
  266. <cdid/>
  267. <cdnm/>
  268. </M0477detl>
  269. <M0203detl>
  270. <cdid/>
  271. <cdnm/>
  272. </M0203detl>
  273. <M0202detl>
  274. <cdid/>
  275. <cdnm/>
  276. </M0202detl>
  277. <M0468detl>
  278. <cdid/>
  279. <cdnm/>
  280. </M0468detl>
  281. <P0025list>
  282. <cdid/>
  283. <cdnm/>
  284. </P0025list>
  285. <M0294detl>
  286. <cdid/>
  287. <cdnm/>
  288. </M0294detl>
  289. <M0297detl>
  290. <cdid/>
  291. <cdnm/>
  292. </M0297detl>
  293. <M0298detl>
  294. <cdid/>
  295. <cdnm/>
  296. </M0298detl>
  297. <M0299detl>
  298. <cdid/>
  299. <cdnm/>
  300. </M0299detl>
  301. <M0300detl>
  302. <cdid/>
  303. <cdnm/>
  304. </M0300detl>
  305. <M0301detl>
  306. <cdid/>
  307. <cdnm/>
  308. </M0301detl>
  309. <M0302detl>
  310. <cdid/>
  311. <cdnm/>
  312. </M0302detl>
  313. <M0303detl>
  314. <cdid/>
  315. <cdnm/>
  316. </M0303detl>
  317. <M0304detl>
  318. <cdid/>
  319. <cdnm/>
  320. </M0304detl>
  321. <M0305detl>
  322. <cdid/>
  323. <cdnm/>
  324. </M0305detl>
  325. <M0306detl>
  326. <cdid/>
  327. <cdnm/>
  328. </M0306detl>
  329. <M0307detl>
  330. <cdid/>
  331. <cdnm/>
  332. </M0307detl>
  333. <M0308detl>
  334. <cdid/>
  335. <cdnm/>
  336. </M0308detl>
  337. <M0469detl>
  338. <cdid/>
  339. <cdnm/>
  340. </M0469detl>
  341. <M0470detl>
  342. <cdid/>
  343. <cdnm/>
  344. </M0470detl>
  345. <M0471detl>
  346. <cdid/>
  347. <cdnm/>
  348. </M0471detl>
  349. <M0472detl>
  350. <cdid/>
  351. <cdnm/>
  352. </M0472detl>
  353. <M0476detl>
  354. <cdid/>
  355. <cdnm/>
  356. </M0476detl>
  357. <cdid/>
  358. <cdnm/>
  359. <diagsuplist>
  360. <cdnm/>
  361. <cdid/>
  362. </diagsuplist>
  363. <diaglowlist>
  364. <cdnm/>
  365. <cdid/>
  366. </diaglowlist>
  367. </init>
  368. <hidden>
  369. <cnt/>
  370. <orddeptlist>
  371. <dept>
  372. <depthngnm/>
  373. <deptcd/>
  374. <ordclsdeptflag/>
  375. </dept>
  376. </orddeptlist>
  377. <drlist>
  378. <drid/>
  379. <drnm/>
  380. </drlist>
  381. </hidden>
  382. </root>
  383. </instance>
  384. <submission id="TRMNH02901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/hospicelist"/>
  385. <submission id="TRMNH02902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/hospiceinfo"/>
  386. <submission id="TXMNH02903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
  387. <submission id="TRMNH02904" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/htfa"/>
  388. <submission id="TXMNH02905" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
  389. <submission id="TXMNH02906" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
  390. <submission id="TRZSD00206" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  391. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  392. <!--20090825 dhkim 신환등록가능여부조회-->
  393. <submission id="TRMNH02907" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/newpatientinfo/newpatinfo"/>
  394. <!--20090825 dhkim 신환등록-->
  395. <submission id="TXMNH02907" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
  396. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  397. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  398. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  399. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  400. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  401. <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
  402. <script type="javascript" src="../../../emr/agonalcareweb/js/SMMNH02900.js"/>
  403. <script type="javascript" src="../../../emr/agonalcareweb/js/SMMNH00001.js"/>
  404. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  405. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  406. <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
  407. <script type="javascript" ev:event="xforms-ready">
  408. <![CDATA[
  409. grd_hospicelist.explorerbar = "sort";
  410. fPamcChange();//구분에 따른 그리드 컬럼 정의
  411. //상단 컨트롤 세팅
  412. lb_resncd.visible = false; //제외사유
  413. cmb_resncd.visible =false;
  414. cmb_waitstat.visible = false;
  415. ipt_lbrthdd.value = getCurrentDate();
  416. ipt_fbrthdd.value = getAddDay(15);
  417. //하단 컨트롤 세팅
  418. ipt_baptnm.disabled = true;
  419. cmb_mngtprescd.disabled = true;
  420. ipt_waitenddd.disabled = true;
  421. cmb_waitendresn.disabled = true;
  422. ipt_waitendresnetc.disabled = true;
  423. ipt_enddd.disabled = true;
  424. cmb_exptresn.disabled = true;
  425. ipt_exptresnetc.disabled = true;
  426. ipt_dschdd.disabled = true;
  427. cmb_dschresn.disabled = true;
  428. ipt_dschresnetc.disabled = true;
  429. cmb_dschtype.disabled = true;
  430. cmb_dschlnk.disabled = true;
  431. ipt_dschlnketc.disabled = true;
  432. ipt_inrmdd.disabled = true;//입실일
  433. zbcfGetCodeList(new Array("P0157","M0477","M0203","M0202",
  434. "M0468","P0025","M0294","M0297",
  435. "M0298","M0299","M0300","M0301",
  436. "M0302","M0303","M0304","M0305",
  437. "M0306","M0307","M0308","M0469",
  438. "M0470","M0471","M0472","M0476"),
  439. new Array("/root/init/P0157list","/root/init/M0477detl","/root/init/M0203detl","/root/init/M0202detl"
  440. ,"/root/init/M0468detl","/root/init/P0025list","/root/init/M0294detl","/root/init/M0297detl"
  441. ,"/root/init/M0298detl","/root/init/M0299detl","/root/init/M0300detl","/root/init/M0301detl"
  442. ,"/root/init/M0302detl","/root/init/M0303detl","/root/init/M0304detl","/root/init/M0305detl"
  443. ,"/root/init/M0306detl","/root/init/M0307detl","/root/init/M0308detl","/root/init/M0469detl"
  444. ,"/root/init/M0470detl","/root/init/M0471detl","/root/init/M0472detl","/root/init/M0476detl"));
  445. var dt = getCurrentDate();
  446. var instcd = getUserInfo("dutplceinstcd");
  447. var standard_yn = "rcptuseyn";
  448. var ord_deptflag = 'X';
  449. var rslt_ref = "/root/hidden/orddeptlist";
  450. var sort_field = "depthngnm";
  451. var sort_method = "asc";
  452. if ( getUserInfo("dutplceinstcd") == "012" ) {
  453. cap_calcscoryn.visible = true;
  454. cmb_calcscoryn.visible = true;
  455. cmb_calcscoryn.disabled = true;
  456. } else {
  457. cap_calcscoryn.visible = false;
  458. cmb_calcscoryn.visible = false;
  459. }
  460. /////zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref, sort_field, sort_method); //부서코드 콤보조회
  461. /////zsdfGetOutOrdDeptList( instcd, rslt_ref, sort_field, sort_method, dt );
  462. // 간호외래진료부서콤보 (특정하위부서를 포함- 분만실, 육아상담실, 인공신장실)
  463. zsdfGetCareOutOrderDepartmentList(instcd, rslt_ref, dt);
  464. model.removeNodeset("/root/main/hospice/hospicelist");
  465. fSearch();
  466. ]]>
  467. </script>
  468. <submission id="TRMNH02905" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/diagsuplist"/>
  469. <submission id="TRMNH02906" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/diaglowlist"/>
  470. <submission id="TRMNH02903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/drlist"/>
  471. <submission id="TXMNH02901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata"/>
  472. </model>
  473. <script type="javascript">
  474. <![CDATA[
  475. var fromdd;
  476. var todd;
  477. ]]>
  478. </script>
  479. </xhtml:head>
  480. <xhtml:body guideline="1,-2;1,1220;2,-2;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  481. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:754px; background-color:transparent; ">
  482. <!--(20101206) 경북대
  483. <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, 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" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" tooltip="true" navindex="6" style="left:0px; top:73px; width:1194px; height:425px; ">
  484. -->
  485. <datagrid id="grd_hospicelist" nodeset="/root/main/hospice/hospicelist" class="datagrid2" scroll="auto" autoresize="true" caption="의뢰&#xA;경로^의뢰&#xA;종류^등록번호^환자명^S/A^진단명^의뢰일^의뢰&#xA;형태^의뢰과/의뢰병원^의사명^면담일^의뢰사유^관리현황^대기전환일^분산전환일^현병실^입실일^서비스&#xA;종료일^서비스&#xA;종료사유^대기&#xA;종료일^대기&#xA;종료사유^퇴실일^퇴실&#xA;형태^퇴실사유^퇴실후연계^입원일자^생성번호^기관코드^생성일자^생성시간^환자구분^입실경로^컨설트&#xA;입원예약키^주민번호^사망&#xA;여부^사망일시^의뢰과^주치의ID^의뢰형태^병동코드^상위진단코드^하위진단코드^입실여부" colsep="^" colwidth="40, 40, 70, 70, 50, 155, 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" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" tooltip="true" navindex="6" style="left:0px; top:75px; width:1194px; height:425px; ">
  486. <!--(20101206) 경북대 -->
  487. <col ref="nsgbn" style="left:20px; top:32px; width:45px; height:23px; text-align:center; "/>
  488. <col ref="cltgbn" style="text-align:center; "/>
  489. <col ref="pid" style="text-align:center; "/>
  490. <col ref="hngnm" style="text-align:center; "/>
  491. <col ref="sexage" style="text-align:center; "/>
  492. <col ref="termengnm"/>
  493. <col ref="reqdd" format="yyyy-mm-dd" style="text-align:center; "/>
  494. <col ref="reqtypeflag" style="text-align:center; "/>
  495. <col ref="reqtypehtfa"/>
  496. <col ref="atdoctnm" style="text-align:center; "/>
  497. <col ref="intvdd" format="yyyy-mm-dd" style="text-align:center; "/>
  498. <col ref="reqresnflag"/>
  499. <col ref="mngtprescd"/>
  500. <col ref="waitdd" format="yyyy-mm-dd" style="text-align:center; "/>
  501. <col ref="waitdd" format="yyyy-mm-dd" style="text-align:center; "/>
  502. <col ref="roomcd" style="text-align:center; "/>
  503. <col ref="inrmdd" format="yyyy-mm-dd" style="text-align:center; "/>
  504. <col ref="enddd" format="yyyy-mm-dd" style="text-align:center; "/>
  505. <col ref="exptresn"/>
  506. <col ref="waitenddd" format="yyyy-mm-dd" style="text-align:center; "/>
  507. <col ref="waitendresn"/>
  508. <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  509. <col ref="dschtype"/>
  510. <col ref="dschresn"/>
  511. <col ref="dschlnk"/>
  512. <col ref="indd"/>
  513. <col ref="cretno"/>
  514. <col ref="instcd"/>
  515. <col ref="cretdd"/>
  516. <col ref="crettm"/>
  517. <col ref="waitstat"/>
  518. <col ref="status"/>
  519. <col ref="reqformrecseq"/>
  520. <col ref="rrgstno"/>
  521. <col ref="dethyn" style="text-align:center; "/>
  522. <col ref="dethdt"/>
  523. <col ref="reqdeptcd"/>
  524. <col ref="atdoctid"/>
  525. <col ref="reqtypeflags"/>
  526. <col ref="wardcd"/>
  527. <col ref="diagi"/>
  528. <col ref="diagii"/>
  529. <col ref="inrmflag"/>
  530. <script type="javascript" ev:event="ondblclick">
  531. <![CDATA[
  532. if(isDataCell()){
  533. fClicedGrid();
  534. /*var RowCnt = grd_hospicelist.row;
  535. if(RowCnt == 0 ){
  536. return;/root/main/hospice/hospicelist
  537. }
  538. if(model.getValue("/root/main/hospice/hospicelist["+ grd_hospicelist.row + "]/status") =="I"){
  539. messageBox("재원환자가 아니면 상단정보를 올릴 수","I004");
  540. return;
  541. }
  542. var param = "I" + "▦"
  543. + model.getValue("/root/main/hospice/hospicelist["+ grd_hospicelist.row + "]/pid") + "▦"
  544. + model.getValue("/root/main/hospice/hospicelist["+ grd_hospicelist.row + "]/indd") + "▦"
  545. + model.getValue("/root/main/hospice/hospicelist["+ grd_hospicelist.row + "]/cretno") + "▦"
  546. + model.getValue("/root/main/hospice/hospicelist["+ grd_hospicelist.row + "]/instcd") + "▦"
  547. + getCurrentDate() ;
  548. setParameter("condparam", param);
  549. modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
  550. */
  551. }
  552. //20091013 dhkim 더블클릭시 종료버튼들 disabled
  553. //fInitEndBtn("DC");
  554. fInitEndBtn();
  555. ]]>
  556. </script>
  557. <script type="javascript" ev:event="onmousedown">
  558. <![CDATA[
  559. if(event.button == 3){
  560. if( model.getValue("/root/temp/pamcgubun") == "R" ) {//의뢰
  561. if(grd_hospicelist.isCell(event.target) && grd_hospicelist.mouseRow >= grd_hospicelist.fixedrows){
  562. window.setPopupMenu(true, "/root/temp/hospice_popmenu2/menu2", "name", "func", false);
  563. }else{
  564. window.setPopupMenu(false);
  565. }
  566. }else if( (model.getValue("/root/temp/pamcgubun") == "W")||(model.getValue("/root/temp/pamcgubun") == "D") ) {//대기, 분산
  567. if(grd_hospicelist.isCell(event.target) && grd_hospicelist.mouseRow >= grd_hospicelist.fixedrows){
  568. window.setPopupMenu(true, "/root/temp/hospice_popmenu3/menu3", "name", "func", false);
  569. }else{
  570. window.setPopupMenu(false);
  571. }
  572. }else {
  573. if(grd_hospicelist.isCell(event.target) && grd_hospicelist.mouseRow >= grd_hospicelist.fixedrows){
  574. window.setPopupMenu(true, "/root/temp/hospice_popmenu/menu", "name", "func", false);
  575. }else{
  576. window.setPopupMenu(false);
  577. }
  578. }
  579. }
  580. ]]>
  581. </script>
  582. <script type="javascript" ev:event="DOMFocusOut">
  583. <![CDATA[
  584. window.setPopupMenu(false);
  585. ]]>
  586. </script>
  587. <script type="javascript" ev:event="onaftersort">
  588. <![CDATA[
  589. grd_hospicelist.gridToInstance();
  590. ]]>
  591. </script>
  592. </datagrid>
  593. <line id="line8" class="line_1" style="x1:0px; y1:68px; x2:1194px; y2:68px; "/>
  594. <group id="grp_sea" style="left:0px; top:9px; width:1194px; height:56px; vertical-align:top; ">
  595. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:55px; background-color:#fffbf2; border-color:#ffd799; "/>
  596. <caption id="caption5" class="search_name" visibility="hidden" style="left:630px; top:10px; width:86px; height:17px; ">조회기간 :</caption>
  597. <button id="btn_search" class="btn1_letter2" navindex="5" style="left:1125px; top:7px; width:56px; height:22px; ">
  598. <caption>조회</caption>
  599. <script type="javascript" ev:event="DOMActivate">
  600. <![CDATA[
  601. var refCond = model.getValue("/root/temp/refnm");
  602. if( refCond != "" ) {
  603. if( refCond.isNumber() ) {//숫자이면 등록번호, 아니면 환자명 체크
  604. model.setValue("/root/temp/refflag", "1");
  605. }else {
  606. model.setValue("/root/temp/refflag", "2");
  607. }
  608. }
  609. fSearch();
  610. ]]>
  611. </script>
  612. </button>
  613. <line id="line13" class="line_4" style="x1:1105px; y1:7px; x2:1105px; y2:29px; "/>
  614. <input id="ipt_fbrthdd" ref="/root/main/cond/fbrthdd" class="input_default" navindex="1" visibility="hidden" inputtype="date" style="left:717px; top:10px; width:85px; height:19px; "/>
  615. <caption id="caption2" class="search_no_b" visibility="hidden" style="left:805px; top:10px; width:12px; height:17px; ">~</caption>
  616. <input id="ipt_lbrthdd" ref="/root/main/cond/lbrthdd" class="input_default" navindex="2" visibility="hidden" inputtype="date" style="left:820px; top:10px; width:85px; height:19px; "/>
  617. <select1 id="rdo_pamcgubun" ref="/root/temp/pamcgubun" class="radio_search" navindex="4" appearance="full" cols="7" overflow="visible" style="left:254px; top:10px; width:371px; height:20px; background-color:transparent; border-style:none; ">
  618. <choices>
  619. <item>
  620. <label>의뢰</label>
  621. <value>R</value>
  622. </item>
  623. <item>
  624. <label>대기</label>
  625. <value>W</value>
  626. </item>
  627. <item>
  628. <label>자문</label>
  629. <value>D</value>
  630. </item>
  631. <item>
  632. <label>입실</label>
  633. <value>I</value>
  634. </item>
  635. <item>
  636. <label>퇴실</label>
  637. <value>L</value>
  638. </item>
  639. <item>
  640. <label>대기종료</label>
  641. <value>O</value>
  642. </item>
  643. <item>
  644. <label>자문종료</label>
  645. <value>P</value>
  646. </item>
  647. </choices>
  648. <script type="javascript" ev:event="xforms-select">
  649. <![CDATA[
  650. fPamcChange();
  651. fSearch();
  652. //20091009 dhkim 종료버튼 상태값 초기화
  653. fInitEndBtn();
  654. ]]>
  655. </script>
  656. </select1>
  657. <caption id="caption24" class="search_name" style="left:3px; top:10px; width:120px; height:17px; ">
  658. <![CDATA[의뢰경로 :]]>
  659. </caption>
  660. <caption id="caption25" class="search_name" style="left:188px; top:10px; width:67px; height:17px; ">구분 :</caption>
  661. <select1 id="cmb_resncd" ref="/root/temp/resncd" class="combo_search" appearance="minimal" style="left:1005px; top:10px; width:90px; height:19px; ">
  662. <choices>
  663. <itemset>
  664. <label ref="cdnm"/>
  665. <value ref="cdid"/>
  666. </itemset>
  667. </choices>
  668. </select1>
  669. <caption id="lb_resncd" class="search_name" style="left:915px; top:10px; width:90px; height:17px; ">제외사유 :</caption>
  670. <select id="chk_hospicegubun" ref="/root/temp/hospicegubun" class="checkbox_search" navindex="3" overflow="visible" appearance="full" cols="2" style="left:90px; top:10px; width:87px; height:20px; border-style:none; ">
  671. <choices>
  672. <item>
  673. <label>외래</label>
  674. <value>1</value>
  675. </item>
  676. <item>
  677. <label>입원</label>
  678. <value>2</value>
  679. </item>
  680. </choices>
  681. </select>
  682. <input id="ipt_refnm" ref="/root/temp/refnm" overflow="visible" style="left:410px; top:33px; width:120px; height:19px; ">
  683. <script type="javascript" ev:event="onkeyup">
  684. <![CDATA[
  685. inputEnterKey("btn_search", "DOMActivate");
  686. ]]>
  687. </script>
  688. </input>
  689. <caption id="caption26" class="search_name" style="left:188px; top:33px; width:120px; height:17px; ">조회구분 :</caption>
  690. <select1 id="rdo_refflag" ref="/root/temp/refflag" appearance="full" cols="2" overflow="visible" style="left:275px; top:33px; width:130px; height:20px; border-style:none; ">
  691. <choices>
  692. <item>
  693. <label>등록번호</label>
  694. <value>1</value>
  695. </item>
  696. <item>
  697. <label>환자명</label>
  698. <value>2</value>
  699. </item>
  700. </choices>
  701. </select1>
  702. <caption id="caption41" class="search_name" style="left:3px; top:30px; width:90px; height:17px; ">의뢰종류 :</caption>
  703. <select id="checkbox1" ref="/root/temp/hospicestsgb" class="checkbox_search" navindex="3" overflow="visible" appearance="full" cols="2" style="left:90px; top:33px; width:87px; height:15px; border-style:none; ">
  704. <choices>
  705. <item>
  706. <label>병동</label>
  707. <value>1</value>
  708. </item>
  709. <item>
  710. <label>자문</label>
  711. <value>2</value>
  712. </item>
  713. </choices>
  714. </select>
  715. </group>
  716. <button id="button2" class="btn5_letter2" navindex="22" style="left:782px; top:502px; width:42px; height:19px; ">
  717. <caption>저장</caption>
  718. <script type="javascript" ev:event="DOMActivate">
  719. <![CDATA[
  720. fSave("S");
  721. ]]>
  722. </script>
  723. </button>
  724. <select1 id="cmb_waitstat" ref="/root/main/hospiceinfo/hospicedetl/waitstat" class="combo_default" appearance="minimal" style="left:345px; top:502px; width:60px; height:19px; ">
  725. <choices>
  726. <item>
  727. <label>면담</label>
  728. <value>R</value>
  729. </item>
  730. <item>
  731. <label>대기</label>
  732. <value>W</value>
  733. </item>
  734. <item>
  735. <label>입실</label>
  736. <value>I</value>
  737. </item>
  738. <item>
  739. <label>퇴실</label>
  740. <value>L</value>
  741. </item>
  742. <item>
  743. <label>제외</label>
  744. <value>O</value>
  745. </item>
  746. </choices>
  747. </select1>
  748. <button id="btn_waitchg" class="btn5_letter6" navindex="23" style="left:830px; top:502px; width:86px; height:19px; ">
  749. <caption>대기자로전환</caption>
  750. <script type="javascript" ev:event="DOMActivate">
  751. <![CDATA[
  752. fSave("W");
  753. ]]>
  754. </script>
  755. </button>
  756. <caption id="caption22" class="cell_1" style="left:450px; top:500px; width:94px; height:23px; text-align:center; vertical-align:middle; ">입실대기자수</caption>
  757. <output id="opt_cnt" ref="/root/hidden/cnt" class="output_fix" style="left:547px; top:502px; width:58px; height:19px; "/>
  758. <button id="btn_ipt" class="btn5_letter4" style="left:608px; top:502px; width:64px; height:19px; ">
  759. <caption>입실등록</caption>
  760. <script type="javascript" ev:event="DOMActivate">
  761. <![CDATA[
  762. //입실대기자 상태(waitstat:R)에서만 버튼을 활성화 시킨다.
  763. //입실대기자수는 따로 조회를 해 와서 입실등록 버튼을 누르면 해당 대기환자들 정보를 가지고 있다가
  764. //입실상태 waitstat : I, 입실일을 등록일자로 바꿔준다.
  765. fWaitPsnInRoom();
  766. //입실등록후 재조회
  767. fSearch();
  768. ]]>
  769. </script>
  770. </button>
  771. <button id="btn_districhg" class="btn5_letter4" navindex="23" style="left:922px; top:502px; width:64px; height:19px; ">
  772. <caption>자문등록</caption>
  773. <script type="javascript" ev:event="DOMActivate">
  774. <![CDATA[
  775. fSave("D");
  776. ]]>
  777. </script>
  778. </button>
  779. <button id="btn_recvr" class="btn5_letter2" disabled="true" navindex="22" style="left:735px; top:502px; width:42px; height:19px; ">
  780. <caption>복원</caption>
  781. <script type="javascript" ev:event="DOMActivate">
  782. <![CDATA[
  783. fStatRecvr();
  784. ]]>
  785. </script>
  786. </button>
  787. <button id="btn_newpat" class="btn5_letter4" style="left:5px; top:502px; width:64px; height:19px; ">
  788. <caption>신환등록</caption>
  789. <script type="javascript" ev:event="DOMActivate">
  790. <![CDATA[
  791. fShowNewPatient(true);
  792. ]]>
  793. </script>
  794. </button>
  795. <group id="grp_newpatientinput" visibility="hidden" showeffect="blend 300" style="left:75px; top:330px; width:300px; height:180px; background-color:#f8f8f8; border-color:#99ccff; border-style:solid; ">
  796. <caption id="caption30" class="tit_2" style="left:1px; top:5px; width:131px; height:14px; ">신규환자 등록</caption>
  797. <line id="line42" class="line_1" style="x1:0px; y1:22px; x2:298px; y2:22px; "/>
  798. <caption id="caption32" class="cell_1" style="left:-1px; top:27px; width:84px; height:23px; font-family:돋움; text-align:left; vertical-align:middle; ">등록번호</caption>
  799. <line id="line43" class="line_2" style="x1:-1px; y1:49px; x2:297px; y2:49px; "/>
  800. <caption id="caption34" class="cell_1" style="left:-1px; top:51px; width:84px; height:23px; font-family:돋움; text-align:left; vertical-align:middle; ">환자성명</caption>
  801. <input id="ipt_newpid" ref="/root/main/newpatientinfo/newpatinfo/pid" class="input_default" maxlength="10" format="9999999999" style="left:86px; top:29px; width:95px; height:19px; ">
  802. <script type="javascript" ev:event="onkeyup">
  803. <![CDATA[
  804. // 환자번호 입력시 기본정보조회
  805. var keycode = event.keyCode;
  806. if(keycode == 13){
  807. var pid = ipt_newpid.currentText;
  808. fPopPat(pid);
  809. }
  810. ]]>
  811. </script>
  812. </input>
  813. <input id="ipt_hngnm" ref="/root/main/newpatientinfo/newpatinfo/hngnm" class="output_fix" disabled="true" style="left:86px; top:53px; width:95px; height:19px; "/>
  814. <caption id="caption52" class="cell_1" style="left:189px; top:50px; width:44px; height:23px; font-family:돋움; text-align:left; vertical-align:middle; ">S/A</caption>
  815. <caption id="caption53" class="cell_1" style="left:-1px; top:75px; width:84px; height:23px; font-family:돋움; text-align:left; vertical-align:middle; ">진료과</caption>
  816. <line id="line44" class="line_2" style="x1:-1px; y1:73px; x2:297px; y2:73px; "/>
  817. <line id="line45" class="line_2" style="x1:-1px; y1:97px; x2:297px; y2:97px; "/>
  818. <caption id="caption54" class="cell_1" style="left:-1px; top:99px; width:84px; height:23px; font-family:돋움; text-align:left; vertical-align:middle; ">진료의</caption>
  819. <line id="line46" class="line_2" style="x1:-1px; y1:121px; x2:297px; y2:121px; "/>
  820. <input id="ipt_hometel" ref="/root/main/newpatientinfo/newpatinfo/orddrnm" class="output_fix" disabled="true" maxlength="13" style="left:86px; top:101px; width:211px; height:19px; "/>
  821. <line id="line47" class="line_3" style="x1:-1px; y1:121px; x2:297px; y2:121px; "/>
  822. <button id="btn_savenewpat" class="btn5_letter2" style="left:106px; top:126px; width:42px; height:19px; ">
  823. <caption>저장</caption>
  824. <script type="javascript" ev:event="DOMActivate">
  825. <![CDATA[
  826. fRgstNewPat();//신환등록
  827. ]]>
  828. </script>
  829. </button>
  830. <button id="btn_closenewpat" class="btn2_letter2" style="left:151px; top:126px; width:42px; height:19px; ">
  831. <caption>닫기</caption>
  832. <script type="javascript" ev:event="DOMActivate">
  833. <![CDATA[
  834. fShowNewPatient(false);
  835. ]]>
  836. </script>
  837. </button>
  838. <button id="btn_newpatsrch" class="icon_search" style="left:184px; top:31px; width:16px; height:16px; ">
  839. <caption/>
  840. <script type="javascript" ev:event="DOMActivate">
  841. <![CDATA[
  842. fPopPat();//환자조회팝업
  843. ]]>
  844. </script>
  845. </button>
  846. <shape id="roundrect2" appearance="roundrect" style="left:3px; top:151px; width:286px; height:25px; "/>
  847. <caption id="caption40" style="left:13px; top:157px; width:266px; height:16px; font-weight:bold; ">* 신규등록시 의뢰환자로 등록됩니다.</caption>
  848. <input id="input1" ref="/root/main/newpatientinfo/newpatinfo/sexage" class="output_fix" disabled="true" style="left:237px; top:53px; width:60px; height:19px; "/>
  849. <input id="input2" ref="/root/main/newpatientinfo/newpatinfo/orddeptnm" class="output_fix" disabled="true" maxlength="13" style="left:86px; top:76px; width:211px; height:19px; "/>
  850. </group>
  851. <button id="btn_waitend" class="btn5_letter4" disabled="true" navindex="23" style="left:991px; top:502px; width:64px; height:19px; ">
  852. <caption>자문종료</caption>
  853. <script type="javascript" ev:event="DOMActivate">
  854. <![CDATA[
  855. fEndSave('W');//20091009 dhkim
  856. ]]>
  857. </script>
  858. </button>
  859. <button id="btn_svcend" class="btn5_letter4" disabled="true" navindex="23" style="left:1060px; top:502px; width:64px; height:19px; ">
  860. <caption>대기종료</caption>
  861. <script type="javascript" ev:event="DOMActivate">
  862. <![CDATA[
  863. fEndSave('S');//20091009 dhkim
  864. ]]>
  865. </script>
  866. </button>
  867. <button id="btn_dschend" class="btn5_letter4" disabled="true" navindex="23" visibility="visible" style="left:1130px; top:502px; width:64px; height:19px; ">
  868. <caption>퇴실등록</caption>
  869. <script type="javascript" ev:event="DOMActivate">
  870. <![CDATA[
  871. fEndSave('D');//20091009 dhkim
  872. ]]>
  873. </script>
  874. </button>
  875. </group>
  876. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">호스피스 환자관리</caption>
  877. <group id="grp_buttom" scroll="auto" style="left:0px; top:537px; width:1194px; height:228px; ">
  878. <output id="opt_reqtypespec" ref="/root/main/hospiceinfo/hospicedetl/reqtypespec" class="output_fix" style="left:585px; top:56px; width:177px; height:19px; "/>
  879. <select1 id="cmb_reqhospnm" ref="/root/main/hospiceinfo/hospicedetl/reqhospnm" class="combo_default" navindex="13" appearance="minimal" style="left:585px; top:56px; width:177px; height:19px; ">
  880. <choices>
  881. <itemset nodeset="/root/init/M0203detl/M0203">
  882. <label ref="cdnm"/>
  883. <value ref="cdid"/>
  884. </itemset>
  885. </choices>
  886. </select1>
  887. <select1 id="cmb_reqdeptnm" ref="/root/main/hospiceinfo/hospicedetl/reqtypespec" class="combo_default" navindex="12" appearance="minimal" style="left:585px; top:56px; width:88px; height:19px; ">
  888. <choices>
  889. <itemset nodeset="/root/hidden/orddeptlist/dept">
  890. <label ref="depthngnm"/>
  891. <value ref="deptcd"/>
  892. </itemset>
  893. </choices>
  894. <script type="javascript" ev:event="xforms-value-changed">
  895. <![CDATA[
  896. if (cmb_reqtypeflag.value=='01' || cmb_reqtypeflag.value=='04' || cmb_reqtypeflag.value=='05' || cmb_reqtypeflag.value=='06'){//본원
  897. cmb_reqhospnm.visible = false;//타 병원 리스트
  898. cmb_reqdeptnm.visible = true;//본원 진료과 리스트
  899. model.removenode("/root/send");
  900. model.makeValue("/root/send/orddeptcd", model.getValue("/root/main/hospiceinfo/hospicedetl/reqtypespec"));
  901. submit("TRMNH02903");
  902. cmb_drlist.visible = true;//의사리스트
  903. opt_reqtypespec.visible = false;
  904. }else if (cmb_reqtypeflag.value=='02'){
  905. cmb_reqhospnm.visible = true;
  906. cmb_reqdeptnm.visible = false;//본원 진료과 리스트
  907. cmb_drlist.visible = false;//의사리스트
  908. opt_reqtypespec.visible = false;
  909. }else if (cmb_reqtypeflag.value=='03'){//재입실
  910. cmb_reqhospnm.visible = false;//타 병원 리스트
  911. cmb_reqdeptnm.visible = true;//본원 진료과 리스트
  912. model.removenode("/root/send");
  913. model.makeValue("/root/send/orddeptcd", model.getValue("/root/main/hospiceinfo/hospicedetl/reqtypespec"));
  914. submit("TRMNH02903");
  915. cmb_drlist.visible = true;//의사리스트
  916. opt_reqtypespec.visible = false;
  917. }
  918. ]]>
  919. </script>
  920. </select1>
  921. <output id="ipt_icdrroomcd" ref="/root/main/hospiceinfo/hospicedetl/icdrroomcd" class="output_fix" style="left:585px; top:80px; width:88px; height:19px; "/>
  922. <output id="opt_reqdd" ref="/root/main/hospiceinfo/hospicedetl/reqdd" class="output_fix" format="yyyy-mm-dd" style="left:585px; top:8px; width:88px; height:19px; "/>
  923. <output id="ipt_roomcd" ref="/root/main/hospiceinfo/hospicedetl/roomcd" class="output_fix" style="left:1085px; top:32px; width:106px; height:19px; "/>
  924. <select1 id="cmb_religncd" ref="/root/main/hospiceinfo/hospicedetl/religncd" class="combo_default" navindex="7" appearance="minimal" style="left:92px; top:80px; width:128px; height:19px; ">
  925. <choices>
  926. <itemset nodeset="/root/init/P0157list/P0157">
  927. <label ref="cdnm"/>
  928. <value ref="cdid"/>
  929. </itemset>
  930. </choices>
  931. <script type="javascript" ev:event="xforms-value-changed">
  932. <![CDATA[
  933. if (cmb_religncd.value=='1' ){
  934. ipt_baptnm.disabled = false;
  935. }else{
  936. ipt_baptnm.value = "";
  937. ipt_baptnm.disabled = true;
  938. }
  939. ]]>
  940. </script>
  941. </select1>
  942. <select1 id="cmb_exptresn" ref="/root/main/hospiceinfo/hospicedetl/exptresn" class="combo_default" appearance="minimal" style="left:862px; top:80px; width:120px; height:19px; ">
  943. <choices>
  944. <itemset nodeset="/root/init/M0469detl/M0469">
  945. <label ref="cdnm"/>
  946. <value ref="cdid"/>
  947. </itemset>
  948. </choices>
  949. <script type="javascript" ev:event="xforms-value-changed">
  950. <![CDATA[
  951. if(ipt_enddd.value == ""){
  952. ipt_enddd.value = getCurrentDate();
  953. //20091013 dhkim 서비스종료버튼활성화
  954. fChangeDisabledEndBtn("S");
  955. }
  956. if(cmb_exptresn.value == "99"){
  957. ipt_exptresnetc.disabled = false;
  958. }else{
  959. ipt_exptresnetc.value = "";
  960. ipt_exptresnetc.disabled = true;
  961. }
  962. ]]>
  963. </script>
  964. </select1>
  965. <select1 id="cmb_reqresnflag" ref="/root/main/hospiceinfo/hospicedetl/reqresnflag" class="combo_default" navindex="16" appearance="minimal" style="left:585px; top:104px; width:177px; height:19px; ">
  966. <choices>
  967. <itemset nodeset="/root/init/M0202detl/M0202">
  968. <label ref="cdnm"/>
  969. <value ref="cdid"/>
  970. </itemset>
  971. </choices>
  972. <script type="javascript" ev:event="xforms-value-changed">
  973. <![CDATA[
  974. //의뢰사유 기타선택시 기타사유명입력칸활성화
  975. if (cmb_reqresnflag.value == "99"){
  976. ipt_reqresnetc.disabled = false;
  977. }else{
  978. ipt_reqresnetc.value = "";
  979. ipt_reqresnetc.disabled = true;
  980. }
  981. var wardcd = model.getValue("/root/main/hospice/hospicelist"+"["+grd_hospicelist.row+"]/wardcd");
  982. if(wardcd == "3050136000" ){
  983. if (cmb_reqresnflag.value == "01"){
  984. messageBox('분산환자가 아니므로 증상완화를 선택', 'E001');
  985. cmb_reqresnflag.value = "";
  986. }
  987. }
  988. ]]>
  989. </script>
  990. </select1>
  991. <output id="opt_rrgstno" ref="/root/main/hospiceinfo/hospicedetl/rrgstno" class="output_fix" style="left:318px; top:56px; width:135px; height:19px; "/>
  992. <caption id="caption20" class="cell_1" style="left:985px; top:55px; width:97px; height:23px; text-align:center; vertical-align:middle; ">자문종료일</caption>
  993. <select1 id="cmb_patawaryn" ref="/root/main/hospiceinfo/hospicedetl/endawaryn" class="combo_default" navindex="14" appearance="minimal" style="left:897px; top:201px; width:41px; height:19px; ">
  994. <choices>
  995. <item>
  996. <label>Y</label>
  997. <value>Y</value>
  998. </item>
  999. <item>
  1000. <label>N</label>
  1001. <value>N</value>
  1002. </item>
  1003. </choices>
  1004. </select1>
  1005. <output id="opt_hngnm" ref="/root/main/hospiceinfo/hospicedetl/hngnm" class="output_fix" style="left:92px; top:32px; width:128px; height:19px; "/>
  1006. <caption id="caption21" class="cell_1" style="left:985px; top:7px; width:97px; height:23px; text-align:center; vertical-align:middle; ">대기/분산전환일</caption>
  1007. <select1 id="cmb_procerawaryn" ref="/root/main/hospiceinfo/hospicedetl/proendawaryn" class="combo_default" navindex="18" appearance="minimal" style="left:941px; top:201px; width:41px; height:19px; ">
  1008. <choices>
  1009. <item>
  1010. <label>Y</label>
  1011. <value>Y</value>
  1012. </item>
  1013. <item>
  1014. <label>N</label>
  1015. <value>N</value>
  1016. </item>
  1017. </choices>
  1018. </select1>
  1019. <caption id="caption3" class="cell_1" style="left:0px; top:31px; width:89px; height:23px; text-align:center; vertical-align:middle; ">환자명</caption>
  1020. <input id="ipt_detladdr" ref="/root/main/hospiceinfo/hospicedetl/detladdr" class="input_default" navindex="8" maxlength="100" style="left:92px; top:128px; width:361px; height:19px; "/>
  1021. <select1 id="cmb_reqtypeflag" ref="/root/main/hospiceinfo/hospicedetl/reqtypeflag" class="combo_default" navindex="12" appearance="minimal" style="left:585px; top:32px; width:177px; height:19px; ">
  1022. <choices>
  1023. <itemset nodeset="/root/init/M0477detl/M0477">
  1024. <label ref="cdnm"/>
  1025. <value ref="cdid"/>
  1026. </itemset>
  1027. </choices>
  1028. <script type="javascript" ev:event="xforms-value-changed">
  1029. <![CDATA[
  1030. if (cmb_reqtypeflag.value=='01' || cmb_reqtypeflag.value=='04' || cmb_reqtypeflag.value=='05' || cmb_reqtypeflag.value=='06'){//본원
  1031. cmb_reqhospnm.visible = false;//타 병원 리스트
  1032. cmb_reqdeptnm.visible = true;//본원 진료과 리스트
  1033. model.removenode("/root/send");
  1034. model.makeValue("/root/send/orddeptcd", model.getValue("/root/main/hospiceinfo/hospicedetl/reqhospnm"));
  1035. submit("TRMNH02903");
  1036. cmb_drlist.visible = true;//의사리스트
  1037. opt_reqtypespec.visible = false;
  1038. }else if (cmb_reqtypeflag.value=='02'){
  1039. cmb_reqhospnm.visible = true;
  1040. cmb_reqdeptnm.visible = false;//본원 진료과 리스트
  1041. cmb_drlist.visible = false;//의사리스트
  1042. opt_reqtypespec.visible = false;
  1043. }else if (cmb_reqtypeflag.value=='03'){
  1044. cmb_reqhospnm.visible = false;//타 병원 리스트
  1045. cmb_reqdeptnm.visible = true;//본원 진료과 리스트
  1046. model.removenode("/root/send");
  1047. model.makeValue("/root/send/orddeptcd", model.getValue("/root/main/hospiceinfo/hospicedetl/reqhospnm"));
  1048. submit("TRMNH02903");
  1049. cmb_drlist.visible = true;//의사리스트
  1050. opt_reqtypespec.visible = false;
  1051. }
  1052. ]]>
  1053. </script>
  1054. </select1>
  1055. <input id="ipt_baptnm" ref="/root/main/hospiceinfo/hospicedetl/baptnm" class="input_default" navindex="11" maxlength="30" style="left:318px; top:80px; width:135px; height:19px; "/>
  1056. <output id="opt_pid" ref="/root/main/hospiceinfo/hospicedetl/pid" class="output_fix" style="left:92px; top:8px; width:128px; height:19px; "/>
  1057. <caption id="caption4" class="cell_1" style="left:0px; top:55px; width:89px; height:23px; text-align:center; vertical-align:middle; ">S/A</caption>
  1058. <caption id="caption35" class="cell_1" style="left:223px; top:55px; width:92px; height:23px; text-align:center; vertical-align:middle; ">주민번호</caption>
  1059. <caption id="caption7" class="cell_1" style="left:0px; top:79px; width:89px; height:23px; text-align:center; vertical-align:middle; ">종교</caption>
  1060. <caption id="caption13" class="cell_1" style="left:765px; top:7px; width:94px; height:23px; text-align:center; vertical-align:middle; ">면담일</caption>
  1061. <caption id="caption36" class="cell_1" style="left:223px; top:79px; width:92px; height:23px; text-align:center; vertical-align:middle; ">세례명</caption>
  1062. <input id="ipt_patcntctel" ref="/root/main/hospiceinfo/hospicedetl/patcntctel" class="input_default" navindex="9" maxlength="13" style="left:318px; top:8px; width:135px; height:19px; "/>
  1063. <caption id="caption14" class="cell_1" style="left:0px; top:7px; width:89px; height:23px; text-align:center; vertical-align:middle; ">등록번호</caption>
  1064. <line id="line1" class="line_1" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  1065. <input id="ipt_waitdd" ref="/root/main/hospiceinfo/hospicedetl/waitdd" class="input_default" navindex="19" inputtype="date" maxlength="10" format="yyyy-mm-dd" style="left:1085px; top:8px; width:106px; height:19px; "/>
  1066. <caption id="caption37" class="cell_1" style="left:765px; top:199px; width:130px; height:23px; text-align:center; vertical-align:middle; ">말기인식 환자/보호자</caption>
  1067. <line id="line2" class="line_2" style="x1:0px; y1:53px; x2:1194px; y2:53px; "/>
  1068. <caption id="caption27" class="cell_1" style="left:456px; top:77px; width:126px; height:23px; text-align:center; vertical-align:middle; ">입실전병실/입원일</caption>
  1069. <caption id="caption16" class="cell_1" style="left:765px; top:55px; width:94px; height:23px; text-align:center; vertical-align:middle; ">대기종료일</caption>
  1070. <caption id="caption8" class="cell_1" style="left:223px; top:7px; width:92px; height:23px; text-align:center; vertical-align:middle; ">연락처(환자)</caption>
  1071. <line id="line3" class="line_2" style="x1:0px; y1:29px; x2:1194px; y2:29px; "/>
  1072. <input id="ipt_intvdd" ref="/root/main/hospiceinfo/hospicedetl/intvdd" class="input_default" navindex="15" inputtype="date" maxlength="10" format="yyyy-mm-dd" style="left:862px; top:8px; width:120px; height:19px; "/>
  1073. <input id="ipt_procercntctel" ref="/root/main/hospiceinfo/hospicedetl/procercntctel" class="input_default" navindex="10" maxlength="13" style="left:318px; top:32px; width:135px; height:19px; "/>
  1074. <caption id="caption9" class="cell_1" style="left:223px; top:31px; width:92px; height:23px; text-align:center; vertical-align:middle; ">연락처(보호자)</caption>
  1075. <caption id="caption18" class="cell_1" style="left:985px; top:31px; width:97px; height:23px; text-align:center; vertical-align:middle; ">현병실</caption>
  1076. <line id="line5" class="line_2" style="x1:0px; y1:101px; x2:1194px; y2:101px; "/>
  1077. <output id="opt_sexage" ref="/root/main/hospiceinfo/hospicedetl/sexage" class="output_fix" style="left:92px; top:56px; width:128px; height:19px; "/>
  1078. <caption id="caption19" class="cell_1" style="left:456px; top:7px; width:126px; height:23px; text-align:center; vertical-align:middle; ">의뢰접수일/희망일</caption>
  1079. <line id="line6" class="line_3" style="x1:0px; y1:224px; x2:1194px; y2:224px; "/>
  1080. <line id="line7" class="line_2" style="x1:0px; y1:125px; x2:1194px; y2:125px; "/>
  1081. <select1 id="cmb_diagcd1" ref="/root/main/hospiceinfo/hospicedetl/diagcd1" class="combo_default" navindex="7" appearance="minimal" style="left:92px; top:176px; width:179px; height:19px; ">
  1082. <choices>
  1083. <itemset nodeset="/root/init/diagsuplist">
  1084. <label ref="cdnm"/>
  1085. <value ref="cdid"/>
  1086. </itemset>
  1087. </choices>
  1088. <script type="javascript" ev:event="xforms-value-changed">
  1089. <![CDATA[
  1090. /*if(cmb_diagcd1.value == '01')
  1091. cmb_diagcd2.choices.itemset.attribute("nodeset") = "/root/init/M0297detl/M0297";
  1092. else if(cmb_diagcd1.value == '02')
  1093. cmb_diagcd2.choices.itemset.attribute("nodeset") = "/root/init/M0298detl/M0298";
  1094. else if(cmb_diagcd1.value == '03')
  1095. cmb_diagcd2.choices.itemset.attribute("nodeset") = "/root/init/M0299detl/M0299";
  1096. else if(cmb_diagcd1.value == '04')
  1097. cmb_diagcd2.choices.itemset.attribute("nodeset") = "/root/init/M0300detl/M0300";
  1098. else if(cmb_diagcd1.value == '05')
  1099. cmb_diagcd2.choices.itemset.attribute("nodeset") = "/root/init/M0301detl/M0301";
  1100. else if(cmb_diagcd1.value == '06')
  1101. cmb_diagcd2.choices.itemset.attribute("nodeset") = "/root/init/M0302detl/M0302";
  1102. else if(cmb_diagcd1.value == '07')
  1103. cmb_diagcd2.choices.itemset.attribute("nodeset") = "/root/init/M0303detl/M0303";
  1104. else if(cmb_diagcd1.value == '08')
  1105. cmb_diagcd2.choices.itemset.attribute("nodeset") = "/root/init/M0304detl/M0304";
  1106. else if(cmb_diagcd1.value == '09')
  1107. cmb_diagcd2.choices.itemset.attribute("nodeset") = "/root/init/M0305detl/M0305";
  1108. else if(cmb_diagcd1.value == '10')
  1109. cmb_diagcd2.choices.itemset.attribute("nodeset") = "/root/init/M0306detl/M0306";
  1110. else if(cmb_diagcd1.value == '11')
  1111. cmb_diagcd2.choices.itemset.attribute("nodeset") = "/root/init/M0307detl/M0307";
  1112. else if(cmb_diagcd1.value == '12')
  1113. cmb_diagcd2.choices.itemset.attribute("nodeset") = "/root/init/M0308detl/M0308";
  1114. //cmb_diagcd2.value = ""; */
  1115. var diagcd1 = model.getValue("/root/main/hospiceinfo/hospicedetl/diagcd1");
  1116. model.removenode("/root/send");
  1117. model.makeValue("/root/send/diagcd1", diagcd1);
  1118. model.makeValue("/root/send/refflag", "2");//하위 진단 조회
  1119. submit("TRMNH02906", false);
  1120. cmb_diagcd2.refresh();
  1121. ]]>
  1122. </script>
  1123. </select1>
  1124. <select1 id="cmb_diagcd2" ref="/root/main/hospiceinfo/hospicedetl/diagcd2" class="combo_default" navindex="7" appearance="minimal" style="left:273px; top:176px; width:180px; height:19px; ">
  1125. <choices>
  1126. <itemset nodeset="/root/init/diaglowlist">
  1127. <label ref="cdnm"/>
  1128. <value ref="cdid"/>
  1129. </itemset>
  1130. </choices>
  1131. </select1>
  1132. <output id="opt_termengnm" ref="/root/main/hospiceinfo/hospicedetl/termengnm" class="output_fix" style="left:92px; top:153px; width:361px; height:19px; "/>
  1133. <line id="line9" class="line_2" style="x1:0px; y1:174px; x2:1194px; y2:174px; "/>
  1134. <output id="opt_icdrindd" ref="/root/main/hospiceinfo/hospicedetl/icdrindd" class="output_fix" format="yyyy-mm-dd" style="left:674px; top:80px; width:88px; height:19px; "/>
  1135. <output id="opt_reqindd" ref="/root/main/hospiceinfo/hospicedetl/reqindd" class="output_fix" format="yyyy-mm-dd" style="left:674px; top:8px; width:88px; height:19px; "/>
  1136. <caption id="caption38" class="cell_1" style="left:985px; top:127px; width:97px; height:23px; text-align:center; vertical-align:middle; ">퇴실형태</caption>
  1137. <input id="ipt_exptresnetc" ref="/root/main/hospiceinfo/hospicedetl/exptresnetc" class="input_default" navindex="11" maxlength="30" style="left:862px; top:104px; width:120px; height:19px; "/>
  1138. <caption id="caption43" class="cell_1" style="left:765px; top:127px; width:94px; height:23px; text-align:center; vertical-align:middle; ">퇴실일</caption>
  1139. <line id="line10" class="line_2" style="x1:0px; y1:149px; x2:1194px; y2:149px; "/>
  1140. <caption id="caption33" class="cell_1" style="left:0px; top:150px; width:89px; height:48px; text-align:center; vertical-align:middle; ">진단명</caption>
  1141. <select1 id="cmb_mngtprescd" ref="/root/main/hospiceinfo/hospicedetl/mngtprescd" class="combo_default" navindex="16" appearance="minimal" style="left:585px; top:153px; width:177px; height:19px; ">
  1142. <choices>
  1143. <itemset nodeset="/root/init/M0468detl/M0468">
  1144. <label ref="cdnm"/>
  1145. <value ref="cdid"/>
  1146. </itemset>
  1147. </choices>
  1148. </select1>
  1149. <caption id="caption44" class="cell_1" style="left:456px; top:150px; width:126px; height:23px; text-align:center; vertical-align:middle; ">관리현황</caption>
  1150. <caption id="caption45" class="cell_1" style="left:765px; top:31px; width:94px; height:23px; text-align:center; vertical-align:middle; ">입실일</caption>
  1151. <input id="ipt_inrmdd" ref="/root/main/hospiceinfo/hospicedetl/inrmdd" class="input_default" navindex="15" inputtype="date" maxlength="10" format="yyyy-mm-dd" style="left:862px; top:32px; width:120px; height:19px; ">
  1152. <script type="javascript" ev:event="xforms-value-changed">
  1153. <![CDATA[
  1154. //실제 입원 환자중 호스피스 병동이 아니면서 입실일을 입력하려고 하면 경고메세지 뿌려줄껏
  1155. var status = model.getValue('/root/main/hospiceinfo/hospicedetl/status');
  1156. var wardcd = model.getValue('/root/main/hospiceinfo/hospicedetl/wardcd');
  1157. if(wardcd != '3050136000' && (status == 'O' || status == 'S')){
  1158. messageBox('호스피스병동에 입원한 환자가 아니므로 입실일을 입력', 'E001');
  1159. ipt_inrmdd.value = "";
  1160. return;
  1161. }
  1162. ]]>
  1163. </script>
  1164. </input>
  1165. <input id="ipt_enddd" ref="/root/main/hospiceinfo/hospicedetl/enddd" class="input_default" navindex="15" inputtype="date" maxlength="10" format="yyyy-mm-dd" style="left:862px; top:56px; width:120px; height:19px; ">
  1166. <script type="javascript" ev:event="xforms-value-changed">
  1167. <![CDATA[
  1168. fChangeDisabledEndBtn("S");
  1169. ]]>
  1170. </script>
  1171. </input>
  1172. <caption id="caption17" class="cell_1" style="left:765px; top:79px; width:94px; height:46px; text-align:center; vertical-align:middle; ">대기종료사유</caption>
  1173. <caption id="caption23" class="cell_1" style="left:985px; top:79px; width:97px; height:46px; text-align:center; vertical-align:middle; ">자문종료사유</caption>
  1174. <input id="ipt_waitenddd" ref="/root/main/hospiceinfo/hospicedetl/waitenddd" class="input_default" navindex="19" inputtype="date" maxlength="10" format="yyyy-mm-dd" style="left:1085px; top:56px; width:106px; height:19px; ">
  1175. <script type="javascript" ev:event="xforms-value-changed">
  1176. <![CDATA[
  1177. //20091013 dhkim 대기종료버튼활성화
  1178. fChangeDisabledEndBtn("W");
  1179. ]]>
  1180. </script>
  1181. </input>
  1182. <input id="ipt_waitendresnetc" ref="/root/main/hospiceinfo/hospicedetl/waitendresnetc" class="input_default" navindex="11" maxlength="30" style="left:1085px; top:104px; width:106px; height:19px; "/>
  1183. <input id="ipt_dschdd" ref="/root/main/hospiceinfo/hospicedetl/dschdd" class="input_default" navindex="15" inputtype="date" maxlength="10" format="yyyy-mm-dd" style="left:862px; top:128px; width:120px; height:19px; ">
  1184. <script type="javascript" ev:event="xforms-value-changed">
  1185. <![CDATA[
  1186. //20091013 dhkim 퇴실등록버튼활성화
  1187. fChangeDisabledEndBtn("D");
  1188. ]]>
  1189. </script>
  1190. </input>
  1191. <caption id="caption31" class="cell_1" style="left:765px; top:151px; width:94px; height:46px; text-align:center; vertical-align:middle; ">퇴실사유</caption>
  1192. <caption id="caption1" class="cell_1" style="left:985px; top:151px; width:97px; height:46px; text-align:center; vertical-align:middle; ">퇴실 후 연계</caption>
  1193. <caption id="caption10" class="cell_1" style="left:456px; top:31px; width:126px; height:45px; text-align:center; vertical-align:middle; ">의뢰형태</caption>
  1194. <select1 id="cmb_roomgrdecd" ref="/root/main/hospiceinfo/hospicedetl/roomgrdecd" class="combo_default" navindex="7" appearance="minimal" style="left:585px; top:177px; width:177px; height:19px; ">
  1195. <choices>
  1196. <itemset nodeset="/root/init/P0025list/P0025">
  1197. <label ref="cdnm"/>
  1198. <value ref="cdid"/>
  1199. </itemset>
  1200. </choices>
  1201. </select1>
  1202. <caption id="caption11" class="cell_1" style="left:456px; top:174px; width:126px; height:23px; text-align:center; vertical-align:middle; ">병실등급</caption>
  1203. <select1 id="cmb_dschresn" ref="/root/main/hospiceinfo/hospicedetl/dschresn" class="combo_default" appearance="minimal" style="left:862px; top:153px; width:120px; height:19px; ">
  1204. <choices>
  1205. <itemset nodeset="/root/init/M0471detl/M0471">
  1206. <label ref="cdnm"/>
  1207. <value ref="cdid"/>
  1208. </itemset>
  1209. </choices>
  1210. <script type="javascript" ev:event="xforms-value-changed">
  1211. <![CDATA[
  1212. if(ipt_dschdd.value == ""){
  1213. ipt_dschdd.value = getCurrentDate();
  1214. //20091013 dhkim 퇴실등록버튼활성화
  1215. fChangeDisabledEndBtn("D");
  1216. }
  1217. if(cmb_dschresn.value == "99"){
  1218. ipt_dschresnetc.disabled = false;
  1219. }else{
  1220. ipt_dschresnetc.value = "";
  1221. ipt_dschresnetc.disabled = true;
  1222. }
  1223. ]]>
  1224. </script>
  1225. </select1>
  1226. <input id="ipt_dschresnetc" ref="/root/main/hospiceinfo/hospicedetl/dschresnetc" class="input_default" navindex="11" maxlength="30" style="left:862px; top:177px; width:120px; height:19px; "/>
  1227. <input id="ipt_dschlnketc" ref="/root/main/hospiceinfo/hospicedetl/dschlnketc" class="input_default" navindex="11" maxlength="30" style="left:1085px; top:177px; width:106px; height:19px; "/>
  1228. <select1 id="cmb_waitendresn" ref="/root/main/hospiceinfo/hospicedetl/waitendresn" class="combo_default" disabled="true" appearance="minimal" style="left:1085px; top:80px; width:106px; height:19px; ">
  1229. <choices>
  1230. <itemset nodeset="/root/init/M0470detl/M0470">
  1231. <label ref="cdnm"/>
  1232. <value ref="cdid"/>
  1233. </itemset>
  1234. </choices>
  1235. <script type="javascript" ev:event="xforms-value-changed">
  1236. <![CDATA[
  1237. if(ipt_waitenddd.value == ""){
  1238. ipt_waitenddd.value = getCurrentDate();
  1239. //20091013 dhkim 대기종료버튼활성화
  1240. fChangeDisabledEndBtn("W");
  1241. }
  1242. if(cmb_waitendresn.value == "99"){
  1243. ipt_waitendresnetc.disabled = false;
  1244. }else{
  1245. ipt_waitendresnetc.value = "";
  1246. ipt_waitendresnetc.disabled = true;
  1247. }
  1248. ]]>
  1249. </script>
  1250. </select1>
  1251. <select1 id="cmb_dschlnk" ref="/root/main/hospiceinfo/hospicedetl/dschlnk" class="combo_default" appearance="minimal" style="left:1085px; top:153px; width:106px; height:19px; ">
  1252. <choices>
  1253. <itemset nodeset="/root/init/M0472detl/M0472">
  1254. <label ref="cdnm"/>
  1255. <value ref="cdid"/>
  1256. </itemset>
  1257. </choices>
  1258. <script type="javascript" ev:event="xforms-value-changed">
  1259. <![CDATA[
  1260. if(cmb_dschlnk.value == "99"){
  1261. ipt_dschlnketc.disabled = false;
  1262. }else{
  1263. ipt_dschlnketc.value = "";
  1264. ipt_dschlnketc.disabled = true;
  1265. }
  1266. ]]>
  1267. </script>
  1268. </select1>
  1269. <input id="ipt_remark" ref="/root/main/hospiceinfo/hospicedetl/remark" class="input_default" navindex="8" maxlength="100" style="left:92px; top:202px; width:361px; height:19px; "/>
  1270. <caption id="caption12" class="cell_1" style="left:0px; top:200px; width:89px; height:23px; text-align:center; vertical-align:middle; ">비고</caption>
  1271. <select1 id="combo8" ref="/root/main/hospiceinfo/hospicedetl/cncrawaryn" class="combo_default" navindex="14" appearance="minimal" style="left:1114px; top:201px; width:38px; height:19px; ">
  1272. <choices>
  1273. <item>
  1274. <label>Y</label>
  1275. <value>Y</value>
  1276. </item>
  1277. <item>
  1278. <label>N</label>
  1279. <value>N</value>
  1280. </item>
  1281. </choices>
  1282. </select1>
  1283. <select1 id="combo9" ref="/root/main/hospiceinfo/hospicedetl/procncrawaryn" class="combo_default" navindex="18" appearance="minimal" style="left:1153px; top:201px; width:38px; height:19px; ">
  1284. <choices>
  1285. <item>
  1286. <label>Y</label>
  1287. <value>Y</value>
  1288. </item>
  1289. <item>
  1290. <label>N</label>
  1291. <value>N</value>
  1292. </item>
  1293. </choices>
  1294. </select1>
  1295. <caption id="caption29" class="cell_1" style="left:985px; top:199px; width:127px; height:23px; text-align:center; vertical-align:middle; ">암인식 환자/보호자</caption>
  1296. <line id="line11" class="line_2" style="x1:0px; y1:198px; x2:1194px; y2:198px; "/>
  1297. <caption id="caption15" class="cell_1" style="left:456px; top:101px; width:126px; height:47px; text-align:center; vertical-align:middle; ">의뢰사유</caption>
  1298. <input id="ipt_reqresnetc" ref="/root/main/hospiceinfo/hospicedetl/reqresnetc" class="input_default" navindex="11" maxlength="30" style="left:585px; top:128px; width:177px; height:19px; "/>
  1299. <caption id="caption28" class="cell_1" style="left:0px; top:103px; width:89px; height:45px; text-align:center; vertical-align:middle; ">주소</caption>
  1300. <output id="opt_address" ref="/root/main/hospiceinfo/hospicedetl/supaddr" class="output_fix" navindex="11" style="left:222px; top:105px; width:231px; height:19px; "/>
  1301. <button id="button16" class="icon_search" navindex="6" style="left:203px; top:106px; width:16px; height:16px; ">
  1302. <caption/>
  1303. <script type="javascript" ev:event="DOMActivate">
  1304. <![CDATA[
  1305. var rcv_zipcdhead_path = '/root/main/hospiceinfo/hospicedetl/zipcd1';
  1306. var rcv_zipcdfoot_path = '/root/main/hospiceinfo/hospicedetl/zipcd2';
  1307. var rcv_seqno_path = '/root/main/hospiceinfo/hospicedetl/zipcdseq';
  1308. var rcv_address_path = "/root/main/hospiceinfo/hospicedetl/supaddr";
  1309. var term = model.getValue("recv_zipcdhead_path");
  1310. zbcfOpenZipCodeList("combination", "", rcv_zipcdhead_path, rcv_zipcdfoot_path, rcv_seqno_path, rcv_address_path);
  1311. if(model.getValue(rcv_zipcdhead_path) !='')
  1312. opt_zipcode.value = model.getValue(rcv_zipcdhead_path)+"-"+ model.getValue(rcv_zipcdfoot_path);
  1313. ]]>
  1314. </script>
  1315. </button>
  1316. <output id="opt_zipcode" ref="/root/main/hospiceinfo/hospicedetl/zipcode" class="output_fix" style="left:92px; top:105px; width:108px; height:19px; "/>
  1317. <select1 id="cmb_dschtype" ref="/root/main/hospiceinfo/hospicedetl/dschtype" class="combo_default" navindex="12" appearance="minimal" style="left:1085px; top:129px; width:106px; height:19px; ">
  1318. <choices>
  1319. <itemset nodeset="/root/init/M0476detl/M0476">
  1320. <label ref="cdnm"/>
  1321. <value ref="cdid"/>
  1322. </itemset>
  1323. </choices>
  1324. </select1>
  1325. <line id="line4" class="line_2" style="x1:0px; y1:77px; x2:1194px; y2:77px; "/>
  1326. <select1 id="cmb_drlist" ref="/root/main/hospiceinfo/hospicedetl/atdoctid" class="combo_default" navindex="12" appearance="minimal" style="left:675px; top:56px; width:88px; height:19px; ">
  1327. <choices>
  1328. <itemset nodeset="/root/hidden/drlist">
  1329. <label ref="drnm"/>
  1330. <value ref="drid"/>
  1331. </itemset>
  1332. </choices>
  1333. </select1>
  1334. <caption id="cap_calcscoryn" class="cell_1" style="left:456px; top:199px; width:126px; height:23px; text-align:center; vertical-align:middle; ">수가대상</caption>
  1335. <select1 id="cmb_calcscoryn" ref="/root/main/hospiceinfo/hospicedetl/calcscoryn" class="combo_default" navindex="7" appearance="minimal" style="left:585px; top:202px; width:177px; height:19px; ">
  1336. <choices>
  1337. <item>
  1338. <label>Y</label>
  1339. <value>Y</value>
  1340. </item>
  1341. <item>
  1342. <label>N</label>
  1343. <value>N</value>
  1344. </item>
  1345. </choices>
  1346. </select1>
  1347. </group>
  1348. <datagrid id="grd_htfawaitInfo" nodeset="/root/temp/htfa/htfacnt" visibility="hidden" caption="waitstat^pid^CRETDD^^^" colsep="^" colwidth="84, 88, 100, 100, 100, 100, 87, 70, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:250px; top:350px; width:940px; height:150px; ">
  1349. <col ref="waitstat"/>
  1350. <col ref="pid"/>
  1351. <col ref="cretdd"/>
  1352. <col ref="crettm"/>
  1353. <col ref="reqdd"/>
  1354. <col ref="waitdd"/>
  1355. <col ref="cretno"/>
  1356. <col ref="indd"/>
  1357. <col ref="inwaitcnt"/>
  1358. </datagrid>
  1359. <caption id="caption39" visibility="hidden" style="left:955px; top:235px; width:184px; height:20px; ">
  1360. <![CDATA[<- 대기자로 저장하는 그리드]]>
  1361. </caption>
  1362. </xhtml:body>
  1363. </xhtml:html>