SMMNF04600_진행상태별 조회.xrw 56 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398
  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. <item>
  10. <chargenurse>
  11. <nurselist>
  12. <userid/>
  13. <usernm/>
  14. </nurselist>
  15. </chargenurse>
  16. <church>
  17. <churchlist>
  18. </churchlist>
  19. </church>
  20. <reqcancelreason/>
  21. <dctype>
  22. <qualflaglist/>
  23. </dctype>
  24. <endreason/>
  25. <kind/>
  26. <chrrgstkind/>
  27. <reqpath/>
  28. </item>
  29. <main>
  30. <grd_visitlist>
  31. <visitlist>
  32. <fstvisitdd/>
  33. <pid/>
  34. <pathngnm/>
  35. <sex/>
  36. <rrgstno/>
  37. <position/>
  38. <churchnm/>
  39. <chrrgstkind/>
  40. <diaghngnm/>
  41. <reqdeptnm/>
  42. <reqdrnm/>
  43. <chrgnursnm/>
  44. <reqdd/>
  45. <reqpath/>
  46. <result/>
  47. <gradeflag/>
  48. <qualflag/>
  49. <churchcd/>
  50. <diagcd/>
  51. <reqdeptcd/>
  52. <reqdrid/>
  53. <chrgnursid/>
  54. <enddd/>
  55. <canceltime/>
  56. <careflag/>
  57. </visitlist>
  58. </grd_visitlist>
  59. <grd_proclist>
  60. <proclist>
  61. <fstvisitdd/>
  62. <pid/>
  63. <pathngnm/>
  64. <sex/>
  65. <rrgstno/>
  66. <position/>
  67. <churchnm/>
  68. <chrrgstkind/>
  69. <diaghngnm/>
  70. <reqdeptnm/>
  71. <reqdrnm/>
  72. <chrgnursnm/>
  73. <visitdd/>
  74. <visitcount/>
  75. <visitterm/>
  76. <reqdd/>
  77. <gradeflag/>
  78. <qualflag/>
  79. <addr/>
  80. <tel/>
  81. <reqpath/>
  82. <result/>
  83. <reqcnfmdd/>
  84. <churchcd/>
  85. <diagcd/>
  86. <reqdeptcd/>
  87. <reqdrid/>
  88. <chrgnursid/>
  89. <careflag/>
  90. </proclist>
  91. </grd_proclist>
  92. <grd_endlist>
  93. <endlist>
  94. <enddd/>
  95. <fstvisitdd/>
  96. <pid/>
  97. <pathngnm/>
  98. <sex/>
  99. <rrgstno/>
  100. <position/>
  101. <churchnm/>
  102. <chrrgstkind/>
  103. <diaghngnm/>
  104. <reqdeptnm/>
  105. <reqdrnm/>
  106. <visitcount/>
  107. <visitterm/>
  108. <endreason/>
  109. <endnursnm/>
  110. <gradeflag/>
  111. <reqdd/>
  112. <reqcnfmdd/>
  113. <churchcd/>
  114. <diagcd/>
  115. <reqdeptcd/>
  116. <reqdrid/>
  117. <chrgnursid/>
  118. <careflag/>
  119. </endlist>
  120. </grd_endlist>
  121. <grd_cancellist>
  122. <cancellist>
  123. <reqcanceldd/>
  124. <pid/>
  125. <pathngnm/>
  126. <sex/>
  127. <rrgstno/>
  128. <position/>
  129. <churchnm/>
  130. <chrrgstkind/>
  131. <diaghngnm/>
  132. <reqdeptnm/>
  133. <reqdrnm/>
  134. <cancelreason/>
  135. <reqdd/>
  136. <gradeflag/>
  137. <qualflag/>
  138. <reqpath/>
  139. <churchcd/>
  140. <diagcd/>
  141. <reqdeptcd/>
  142. <reqdrid/>
  143. <chrgnursid/>
  144. <careflag/>
  145. </cancellist>
  146. </grd_cancellist>
  147. <grd_cnfmlist>
  148. <cnfmlist>
  149. <reqcnfmdd/>
  150. <pid/>
  151. <pathngnm/>
  152. <sex/>
  153. <rrgstno/>
  154. <position/>
  155. <churchnm/>
  156. <chrrgstkind/>
  157. <diaghngnm/>
  158. <reqdeptnm/>
  159. <reqdrnm/>
  160. <reqdd/>
  161. <gradeflag/>
  162. <qualflag/>
  163. <visittimekind/>
  164. <reqpath/>
  165. <gradeflag/>
  166. <qualflag/>
  167. <fstvisitdd/>
  168. <result/>
  169. <churchcd/>
  170. <diagcd/>
  171. <reqdeptcd/>
  172. <reqdrid/>
  173. <chrgnursid/>
  174. <careflag/>
  175. </cnfmlist>
  176. </grd_cnfmlist>
  177. <grd_visitspeclist>
  178. <visitspeclist>
  179. <visitdd/>
  180. <pid/>
  181. <pathngnm/>
  182. <sex/>
  183. <rrgstno/>
  184. <position/>
  185. <churchnm/>
  186. <chrrgstkind/>
  187. <diaghngnm/>
  188. <reqdeptnm/>
  189. <reqdrnm/>
  190. <visitnursnm/>
  191. <reqdd/>
  192. <gradeflag/>
  193. <qualflag/>
  194. <visittimeking/>
  195. <reqcnfmdd/>
  196. <reqpath/>
  197. <fstvisitdd/>
  198. <result/>
  199. <churchcd/>
  200. <diagcd/>
  201. <reqdeptcd/>
  202. <reqdrid/>
  203. <chrgnursid/>
  204. <visitcount/>
  205. <careflag/>
  206. </visitspeclist>
  207. </grd_visitspeclist>
  208. </main>
  209. <send>
  210. <fromdd/>
  211. <todd/>
  212. <procstatus/>
  213. <kind>1</kind>
  214. <chrgnursid>%</chrgnursid>
  215. <churchcd>-</churchcd>
  216. <chrrgstkind/>
  217. <rgstkind1/>
  218. <rgstkind23/>
  219. <rgstkind23arr/>
  220. <careflag>H</careflag>
  221. <patcareflag>H</patcareflag>
  222. </send>
  223. <temp/>
  224. <init>
  225. <listset1>
  226. <list>
  227. <cdid>1</cdid>
  228. <cdnm>병원</cdnm>
  229. </list>
  230. <list>
  231. <cdid>2</cdid>
  232. <cdnm>본당</cdnm>
  233. </list>
  234. <list>
  235. <cdid>3</cdid>
  236. <cdnm>재택</cdnm>
  237. </list>
  238. </listset1>
  239. <listset>
  240. <list>
  241. <cdid>1</cdid>
  242. <cdnm>병원</cdnm>
  243. </list>
  244. </listset>
  245. </init>
  246. </root>
  247. </instance>
  248. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  249. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  250. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  251. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  252. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  253. <script type="javascript" src="../../../emr/homecareweb/js/SMMNF00100.js"/>
  254. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  255. <script type="javascript">
  256. <![CDATA[
  257. var searchListFlag;
  258. function fMakeChrRgstKind(){
  259. model.setValue("/root/send/rgstkind23arr","");
  260. model.setValue("/root/send/rgstkind1","");
  261. model.setValue("/root/send/rgstkind23","");
  262. var getChrRgstKind = model.getValue("/root/send/chrrgstkind");
  263. if ( isNull(getChrRgstKind)
  264. || ( isSearchString(getChrRgstKind, "1")
  265. && isSearchString(getChrRgstKind, "2")
  266. && isSearchString(getChrRgstKind, "3") ) ){//선택되어진게 없으면 전체조회
  267. model.setValue("/root/send/rgstkind23arr","'2','3'");
  268. model.setValue("/root/send/rgstkind1","Y");
  269. model.setValue("/root/send/rgstkind23","Y");
  270. } else{
  271. if ( getChrRgstKind == "1" ){
  272. model.setValue("/root/send/rgstkind1","Y");
  273. }
  274. if ( getChrRgstKind == "2" ){
  275. model.setValue("/root/send/rgstkind23","Y");
  276. model.setValue("/root/send/rgstkind23arr", "'2'" );
  277. }
  278. if ( getChrRgstKind == "3" ){
  279. model.setValue("/root/send/rgstkind23","Y");
  280. model.setValue("/root/send/rgstkind23arr", "'3'" );
  281. }
  282. if ( isSearchString(getChrRgstKind, "1")
  283. && isSearchString(getChrRgstKind, "2") ){
  284. model.setValue("/root/send/rgstkind1","Y");
  285. model.setValue("/root/send/rgstkind23","Y");
  286. model.setValue("/root/send/rgstkind23arr", "'2'" );
  287. }
  288. if ( isSearchString(getChrRgstKind, "1")
  289. && isSearchString(getChrRgstKind, "3") ){
  290. model.setValue("/root/send/rgstkind1","Y");
  291. model.setValue("/root/send/rgstkind23","Y");
  292. model.setValue("/root/send/rgstkind23arr", "'3'" );
  293. }
  294. if ( isSearchString(getChrRgstKind, "2")
  295. && isSearchString(getChrRgstKind, "3") ){
  296. //model.setValue("/root/send/rgstkind1","Y");
  297. model.setValue("/root/send/rgstkind23","Y");
  298. model.setValue("/root/send/rgstkind23arr", "'2','3'" );
  299. }
  300. }
  301. model.removenode("/root/send/chrrgstkindarr");
  302. var getChrRgstKind = model.getValue("/root/send/chrrgstkind");
  303. if(getChrRgstKind == '1'){
  304. sAttConcat = '1'; //등록
  305. }else if(getChrRgstKind == '2'){
  306. sAttConcat = '2'; //무료
  307. }else if(getChrRgstKind == '3'){
  308. sAttConcat = '3'; //기타
  309. }else if(getChrRgstKind == '1,2'){
  310. sAttConcat = '4'; //등록 + 무료
  311. }else if(getChrRgstKind == '1,3'){
  312. sAttConcat = '5'; //등록 + 기타
  313. }else if(getChrRgstKind == '2,3'){
  314. sAttConcat = '6'; //기타 + 무료
  315. }else{
  316. sAttConcat = '7'; //등록 + 기타 + 무료
  317. }
  318. model.makeValue("/root/send/chrrgstkindarr", sAttConcat);
  319. }
  320. ]]>
  321. </script>
  322. <script type="javascript" ev:event="xforms-ready">
  323. <![CDATA[
  324. fInitHomeCareRdo("rdo_kind");
  325. // Default 첫방문 선택
  326. rdo_procstatus.value = 1;
  327. // Default 전체 선택
  328. rdo_kind.value = 1;
  329. // 공통코드 가져오기( M0387-의뢰취소사유, M0348- 본당구분(등록,무료, 기타), M0347-구분(병원, 본당, 재택) A0001-의뢰경로(외래, 입원, 응급)
  330. zbcfGetCodeList(new Array("M0387", "M0348", "M0347", "A0001"), new Array("/root/item/reqcancelreason", "/root/item/chrrgstkind", "/root/item/kind", "/root/item/reqpath"));
  331. // 환자 본인부담률을 가져온다.
  332. submit("TRMNF00110");
  333. grd_visitlist.visible = true;
  334. grd_proclist.visible = false;
  335. grd_endlist.visible = false;
  336. grd_cnfmlist.visible = false;
  337. grd_cancellist.visible = false;
  338. grd_visitspeclist.visible = false;
  339. var currDate;
  340. currDate = getCurrentDate();
  341. // model.setValue("/root/send/fromdd", getDateCalc(currDate, 13));
  342. model.setValue("/root/send/fromdd", currDate.substr(0, 6) + '01'); // 현재 월의 1일로 기본값 설정
  343. model.setValue("/root/send/todd", currDate);
  344. model.setValue("/root/send/procstatus", rdo_procstatus.value);
  345. model.setValue("/root/send/kind", rdo_kind.value);
  346. model.refresh();
  347. // 조회조건의 가정간호 담당간호사 리스트를 조회, 콤보박스에 세팅한다.
  348. submit("TRMNF00106");
  349. // Default 담당간호사 선택
  350. combo6.value = "%" ; // 전체
  351. // var updtdata;
  352. // grd_visitlist.visible = false;
  353. // grd_proclist.visible = false;
  354. // grd_endlist.visible = false;
  355. // grd_cnfmlist.visible = false;
  356. // grd_cancellist.visible = false;
  357. // grd_visitspeclist.visible = false;
  358. // model.removeNodeset("/root/main/grd_visitlist");
  359. // model.removeNodeset("/root/main/grd_proclist");
  360. // model.removeNodeset("/root/main/grd_endlist");
  361. // model.removeNodeset("/root/main/grd_cnfmlist");
  362. // model.removeNodeset("/root/main/grd_cancellist");
  363. // model.removeNodeset("/root/main/grd_visitspeclist");
  364. // model.refresh();
  365. // 조회
  366. btn_search.dispatch("DOMActivate");
  367. // grd_visitlist.rebuild();
  368. // grd_proclist.rebuild();
  369. // grd_endlist.rebuild();
  370. // grd_cnfmlist.rebuild();
  371. // grd_cancellist.rebuild();
  372. // grd_visitspeclist.rebuild();
  373. //
  374. // if(rdo_procstatus.value == 1)
  375. // {
  376. // updtdata = getGridUpdateData(grd_visitlist);
  377. //
  378. // grd_visitlist.attribute("left") = 0;
  379. // grd_visitlist.attribute("top") = 117;
  380. // grd_visitlist.attribute("width") = 1194;
  381. // grd_visitlist.attribute("height") = 568;
  382. // }
  383. // else if(rdo_procstatus.value == 2)
  384. // {
  385. // updtdata = getGridUpdateData(grd_proclist);
  386. //
  387. // grd_proclist.attribute("left") = 0;
  388. // grd_proclist.attribute("top") = 117;
  389. // grd_proclist.attribute("width") = 1194;
  390. // grd_proclist.attribute("height") = 568;
  391. // }
  392. // else if(rdo_procstatus.value == 3)
  393. // {
  394. // updtdata = getGridUpdateData(grd_endlist);
  395. //
  396. // grd_endlist.attribute("left") = 0;
  397. // grd_endlist.attribute("top") = 117;
  398. // grd_endlist.attribute("width") = 1194;
  399. // grd_endlist.attribute("height") = 568;
  400. // }
  401. // else if(rdo_procstatus.value == 4)
  402. // {
  403. // updtdata = getGridUpdateData(grd_cnfmlist);
  404. //
  405. // grd_cnfmlist.attribute("left") = 0;
  406. // grd_cnfmlist.attribute("top") = 117;
  407. // grd_cnfmlist.attribute("width") = 1194;
  408. // grd_cnfmlist.attribute("height") = 568;
  409. // }
  410. // else if(rdo_procstatus.value == 5)
  411. // {
  412. // updtdata = getGridUpdateData(grd_cancellist);
  413. //
  414. // caption1.value = "취소일자 :" ;
  415. // //cap_listtitle.value = "취소 리스트";
  416. //
  417. // grd_cancellist.attribute("left") = 0;
  418. // grd_cancellist.attribute("top") = 117;
  419. // grd_cancellist.attribute("width") = 1194;
  420. // grd_cancellist.attribute("height") = 568;
  421. // }
  422. // else if(rdo_procstatus.value == 6)
  423. // {
  424. // updtdata = getGridUpdateData(grd_visitspeclist);
  425. //
  426. // caption1.value = "취소일자 :" ;
  427. // //cap_listtitle.value = "취소 리스트";
  428. //
  429. // grd_visitspeclist.attribute("left") = 0;
  430. // grd_visitspeclist.attribute("top") = 117;
  431. // grd_visitspeclist.attribute("width") = 1194;
  432. // grd_visitspeclist.attribute("height") = 568;
  433. // }
  434. //
  435. // if ( updtdata != "" ) {
  436. // var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
  437. // if (ret != 6) { // not OK
  438. // return;
  439. // }
  440. // }
  441. //
  442. // if(rdo_procstatus.value == 1)
  443. // {
  444. // // 1.첫방문 리스트 조회
  445. // submit("TRMNF04600");
  446. // grd_visitlist.visible = true;
  447. // }
  448. // else if(rdo_procstatus.value == 2)
  449. // {
  450. // // 3.진행 리스트 조회
  451. // submit("TRMNF04601");
  452. // grd_proclist.visible = true;
  453. // }
  454. // else if(rdo_procstatus.value == 3)
  455. // {
  456. // // 4.종결 리스트 조회
  457. // submit("TRMNF04602");
  458. // grd_endlist.visible = true;
  459. // }
  460. // else if(rdo_procstatus.value == 4)
  461. // {
  462. // // 5.의뢰확정 리스트 조회
  463. // submit("TRMNF04603");
  464. // grd_cnfmlist.visible = true;
  465. // }
  466. // else if(rdo_procstatus.value == 5)
  467. // {
  468. // // 5.취소 리스트 조회
  469. // submit("TRMNF04604");
  470. // grd_cancellist.visible = true;
  471. // }
  472. // else if(rdo_procstatus.value ==6)
  473. // {
  474. // // 5.방문내역 리스트 조회
  475. // submit("TRMNF04605");
  476. // grd_visitspeclist.visible = true;
  477. // }
  478. //
  479. //*******************************************************************
  480. // 기준정보 로드
  481. //*******************************************************************
  482. // 1.본당을 조회, 콤보박스에 세팅한다.
  483. // submit("TRMNF00130");
  484. // Default 본당 선택
  485. // combo5.value = "-" ; // 전체
  486. ]]>
  487. </script>
  488. <submission id="TRMNF00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/item/chargenurse"/>
  489. <submission id="TRMNF04600" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/grd_visitlist"/>
  490. <submission id="TRMNF04601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/grd_proclist"/>
  491. <submission id="TRMNF04602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/grd_endlist"/>
  492. <submission id="TRMNF04603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/grd_cnfmlist"/>
  493. <submission id="TRMNF04604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/grd_cancellist"/>
  494. <submission id="TRMNF00130" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/item/church"/>
  495. <submission id="TRMNF04605" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/grd_visitspeclist"/>
  496. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  497. <submission id="TRMNF00110" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/item/dctype"/>
  498. <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/code/codelist"/>
  499. </model>
  500. </xhtml:head>
  501. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  502. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  503. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:160px; height:14px; ">진행상태별 조회</caption>
  504. </group>
  505. <group id="grp_btn" scroll="auto" style="left:0px; top:740px; width:1195px; height:44px; "/>
  506. <group id="group5" class="datagrid2" scroll="auto" style="left:0px; top:13px; width:1195px; height:737px; ">
  507. <!--(20101206) 경북대
  508. <datagrid id="grd_visitlist" nodeset="/root/main/grd_visitlist/visitlist" visibility="hidden" autoresize="true" caption="첫방문일^등록번호^환자명^S/A^주민등록번호^소속^본당명^분류^진단명^진료과^주치의^담당간호사^의뢰일^의뢰경로^중증도^등급^본인부담률" colsep="^" colwidth="76, 70, 75, 50, 100, 54, 100, 38, 192, 88, 70, 70, 75, 55, 45, 41, 156, 100, 100, 100, 100, 100, 100, 100" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:115px; width:1193px; height:568px; vertical-align:bottom; ">
  509. -->
  510. <datagrid id="grd_visitlist" nodeset="/root/main/grd_visitlist/visitlist" visibility="hidden" autoresize="true" caption="첫방문일^등록번호^환자명^S/A^주민등록번호^소속^본당명^분류^진단명^진료과^진료의^담당간호사^의뢰일^의뢰경로^중증도^등급^본인부담률" colsep="^" colwidth="76, 70, 75, 50, 100, 54, 100, 38, 192, 88, 70, 70, 75, 55, 45, 41, 156, 100, 100, 100, 100, 100, 100, 100" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:115px; width:1193px; height:568px; vertical-align:bottom; ">
  511. <!--(20101206) 경북대 -->
  512. <col ref="fstvisitdd" format="yyyy-mm-dd" style="left:20px; top:23px; width:91px; height:23px; text-align:center; "/>
  513. <col ref="pid" style="text-align:center; "/>
  514. <col ref="pathngnm" style="text-align:center; "/>
  515. <col ref="sex" style="text-align:center; "/>
  516. <col ref="rrgstno" style="text-align:center; "/>
  517. <col disabled="true" ref="position" type="combo" style="text-align:center; ">
  518. <choices>
  519. <itemset nodeset="/root/item/kind/M0347">
  520. <label ref="cdnm"/>
  521. <value ref="cdid"/>
  522. </itemset>
  523. </choices>
  524. </col>
  525. <col ref="churchnm" style="text-align:center; "/>
  526. <col disabled="true" ref="chrrgstkind" type="combo" style="text-align:center; ">
  527. <choices>
  528. <itemset nodeset="/root/item/chrrgstkind/M0348">
  529. <label ref="cdnm"/>
  530. <value ref="cdid"/>
  531. </itemset>
  532. </choices>
  533. </col>
  534. <col ref="diaghngnm" style="text-align:left; "/>
  535. <col ref="reqdeptnm" style="text-align:center; "/>
  536. <col ref="reqdrnm" style="text-align:center; "/>
  537. <col ref="chrgnursnm" style="text-align:center; "/>
  538. <col ref="reqdd" format="yyyy-mm-dd" style="text-align:center; "/>
  539. <col disabled="true" ref="reqpath" type="combo" style="text-align:center; ">
  540. <choices>
  541. <itemset nodeset="/root/item/reqpath/A0001">
  542. <label ref="cdnm"/>
  543. <value ref="cdid"/>
  544. </itemset>
  545. </choices>
  546. </col>
  547. <col ref="result" style="text-align:center; "/>
  548. <col ref="gradeflag" style="text-align:center; "/>
  549. <col disabled="true" ref="qualflag" type="combo" style="text-align:left; ">
  550. <choices>
  551. <itemset nodeset="/root/item/dctype/qualflaglist">
  552. <label ref="nm"/>
  553. <value ref="cd"/>
  554. </itemset>
  555. </choices>
  556. </col>
  557. <col ref="churchcd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  558. <col ref="diagcd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  559. <col ref="reqdeptcd" visibility="hidden" style="left:170px; top:23px; width:30px; height:23px; text-align:center; "/>
  560. <col ref="reqdrid" visibility="hidden" style="text-align:center; "/>
  561. <col ref="chrgnursid" visibility="hidden" style="text-align:center; "/>
  562. <col ref="enddd" visibility="hidden" style="text-align:center; "/>
  563. <col ref="canceltime" visibility="hidden" style="text-align:center; "/>
  564. </datagrid>
  565. <!--(20101206)경북대
  566. <datagrid id="grd_proclist" nodeset="/root/main/grd_proclist/proclist" visibility="hidden" autoresize="true" caption="첫방문일^등록번호^환자명^S/A^주민등록번호^소속^본당명^분류^진단명^진료과^주치의^최근방문간호사^최근방문일^방문횟수^방문기간^최초의뢰일^등급^본인부담률^주소^전화번호^의뢰경로^중증도^최초의뢰확정일" colsep="^" colwidth="80, 70, 64, 40, 100, 46, 82, 46, 100, 92, 59, 92, 83, 54, 55, 76, 31, 143, 292, 100, 54, 48, 91, 100, 100, 100, 100" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:115; width:1194; height:568px; vertical-align:bottom; ">
  567. -->
  568. <datagrid id="grd_proclist" nodeset="/root/main/grd_proclist/proclist" visibility="hidden" autoresize="true" caption="첫방문일^등록번호^환자명^S/A^주민등록번호^소속^본당명^분류^진단명^진료과^진료의^최근방문간호사^최근방문일^방문횟수^방문기간^최초의뢰일^등급^본인부담률^주소^전화번호^의뢰경로^중증도^최초의뢰확정일" colsep="^" colwidth="80, 70, 64, 40, 100, 46, 82, 46, 100, 92, 59, 92, 83, 54, 55, 76, 31, 143, 292, 100, 54, 48, 91, 100, 100, 100, 100" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:115; width:1194; height:568px; vertical-align:bottom; ">
  569. <!--(20101206)경북대 -->
  570. <col ref="fstvisitdd" format="yyyy-mm-dd" style="left:20px; top:23px; width:100px; height:23px; text-align:center; "/>
  571. <col ref="pid" style="text-align:center; "/>
  572. <col ref="pathngnm" style="text-align:center; "/>
  573. <col ref="sex" style="text-align:center; "/>
  574. <col ref="rrgstno" style="text-align:center; "/>
  575. <col disabled="true" ref="position" type="combo" style="text-align:center; ">
  576. <choices>
  577. <itemset nodeset="/root/item/kind/M0347">
  578. <label ref="cdnm"/>
  579. <value ref="cdid"/>
  580. </itemset>
  581. </choices>
  582. </col>
  583. <col ref="churchnm" style="text-align:center; "/>
  584. <col disabled="true" ref="chrrgstkind" type="combo" style="text-align:center; ">
  585. <choices>
  586. <itemset nodeset="/root/item/chrrgstkind/M0348">
  587. <label ref="cdnm"/>
  588. <value ref="cdid"/>
  589. </itemset>
  590. </choices>
  591. </col>
  592. <col ref="diaghngnm" style="text-align:left; "/>
  593. <col ref="reqdeptnm" style="text-align:center; "/>
  594. <col ref="reqdrnm" style="text-align:center; "/>
  595. <col ref="chrgnursnm" style="text-align:center; "/>
  596. <col ref="visitdd" format="yyyy-mm-dd" style="left:985px; top:23px; width:100px; height:23px; text-align:center; "/>
  597. <col ref="visitcount" style="text-align:center; "/>
  598. <col ref="visitterm" style="text-align:center; "/>
  599. <col ref="reqdd" format="yyyy-mm-dd" style="text-align:center; "/>
  600. <col ref="gradeflag" style="text-align:center; "/>
  601. <col disabled="true" ref="qualflag" type="combo" style="text-align:left; ">
  602. <choices>
  603. <itemset nodeset="/root/item/dctype/qualflaglist">
  604. <label ref="nm"/>
  605. <value ref="cd"/>
  606. </itemset>
  607. </choices>
  608. </col>
  609. <col ref="addr" style="text-align:left; "/>
  610. <col ref="tel" style="text-align:center; "/>
  611. <col disabled="true" ref="reqpath" type="combo" style="text-align:center; ">
  612. <choices>
  613. <itemset nodeset="/root/item/reqpath/A0001">
  614. <label ref="cdnm"/>
  615. <value ref="cdid"/>
  616. </itemset>
  617. </choices>
  618. </col>
  619. <col ref="result" format="yyyy-mm-dd" style="text-align:center; "/>
  620. <col ref="reqcnfmdd" format="yyyy-mm-dd" style="text-align:center; "/>
  621. <col ref="churchcd" visibility="hidden" style="left:170px; top:23px; width:30px; height:23px; text-align:center; "/>
  622. <col ref="diagcd" visibility="hidden" style="text-align:center; "/>
  623. <col ref="reqdeptcd" visibility="hidden" style="text-align:center; "/>
  624. <col ref="reqdrid" visibility="hidden" style="text-align:center; "/>
  625. </datagrid>
  626. <!--(20101206) 경북대
  627. <datagrid id="grd_endlist" nodeset="/root/main/grd_endlist/endlist" visibility="hidden" autoresize="true" caption="종결일^첫방문일^등록번호^환자명^S/A^주민등록번호^소속^본당명^분류^진단명^진료과^주치의^총방문횟수^방문기간^종결사유^종결간호사^등급^최초의뢰일^최초의뢰확정일" colsep="^" colwidth="73, 72, 65, 62, 42, 100, 40, 85, 36, 100, 90, 57, 66, 56, 89, 66, 42, 79, 93, 100, 100, 100, 100" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:115px; width:1194px; height:568px; vertical-align:bottom; ">
  628. -->
  629. <datagrid id="grd_endlist" nodeset="/root/main/grd_endlist/endlist" visibility="hidden" autoresize="true" caption="종결일^첫방문일^등록번호^환자명^S/A^주민등록번호^소속^본당명^분류^진단명^진료과^진료의^총방문횟수^방문기간^종결사유^종결간호사^등급^최초의뢰일^최초의뢰확정일" colsep="^" colwidth="73, 72, 65, 62, 42, 100, 40, 85, 36, 100, 90, 57, 66, 56, 89, 66, 42, 79, 93, 100, 100, 100, 100" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:115px; width:1194px; height:568px; vertical-align:bottom; ">
  630. <!--(20101206) 경북대 -->
  631. <col ref="enddd" format="yyyy-mm-dd" style="left:20px; top:23px; width:100px; height:23px; text-align:center; "/>
  632. <col ref="fstvisitdd" format="yyyy-mm-dd" style="left:120px; top:23px; width:100px; height:23px; text-align:center; "/>
  633. <col ref="pid" style="text-align:center; "/>
  634. <col ref="pathngnm" style="text-align:center; "/>
  635. <col ref="sex" style="text-align:center; "/>
  636. <col ref="rrgstno" style="text-align:center; "/>
  637. <col disabled="true" ref="position" type="combo" style="text-align:center; ">
  638. <choices>
  639. <itemset nodeset="/root/item/kind/M0347">
  640. <label ref="cdnm"/>
  641. <value ref="cdid"/>
  642. </itemset>
  643. </choices>
  644. </col>
  645. <col ref="churchnm" style="text-align:center; "/>
  646. <col disabled="true" ref="chrrgstkind" type="combo" style="text-align:center; ">
  647. <choices>
  648. <itemset nodeset="/root/item/chrrgstkind/M0348">
  649. <label ref="cdnm"/>
  650. <value ref="cdid"/>
  651. </itemset>
  652. </choices>
  653. </col>
  654. <col ref="diaghngnm" style="text-align:left; "/>
  655. <col ref="reqdeptnm" style="text-align:center; "/>
  656. <col ref="reqdrnm" style="text-align:center; "/>
  657. <col ref="visitcount" style="text-align:center; "/>
  658. <col ref="visitterm" style="text-align:center; "/>
  659. <col disabled="true" ref="endreason" type="combo" style="text-align:left; ">
  660. <choices>
  661. <itemset nodeset="/root/item/endreason/M0349">
  662. <label ref="cdnm"/>
  663. <value ref="cdid"/>
  664. </itemset>
  665. </choices>
  666. </col>
  667. <col ref="endnursnm" style="text-align:center; "/>
  668. <col ref="gradeflag" style="text-align:center; "/>
  669. <col ref="reqdd" format="yyyy-mm-dd" style="text-align:center; "/>
  670. <col ref="reqcnfmdd" format="yyyy-mm-dd" style="text-align:center; "/>
  671. <col ref="churchcd" visibility="hidden" style="left:170px; top:23px; width:30px; height:23px; text-align:center; "/>
  672. <col ref="diagcd" visibility="hidden" style="text-align:center; "/>
  673. <col ref="reqdeptcd" visibility="hidden" style="text-align:center; "/>
  674. <col ref="reqdrid" visibility="hidden" style="text-align:center; "/>
  675. </datagrid>
  676. <!--(20101206) 경북대
  677. <datagrid id="grd_cnfmlist" nodeset="/root/main/grd_cnfmlist/cnfmlist" visibility="hidden" autoresize="true" caption="의뢰확정일^등록번호^환자명^S/A^주민등록번호^소속^본당명^분류^진단명^진료과^주치의^의뢰일^의뢰경로^등급^본인부담률^첫방문일^중증도" colsep="^" colwidth="83, 70, 69, 40, 100, 68, 100, 63, 181, 100, 78, 100, 59, 71, 100, 0, 60, 100, 100, 100, 100" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:115px; width:1194px; height:568px; vertical-align:bottom; ">
  678. -->
  679. <datagrid id="grd_cnfmlist" nodeset="/root/main/grd_cnfmlist/cnfmlist" visibility="hidden" autoresize="true" caption="의뢰확정일^등록번호^환자명^S/A^주민등록번호^소속^본당명^분류^진단명^진료과^진료의^의뢰일^의뢰경로^등급^본인부담률^첫방문일^중증도" colsep="^" colwidth="83, 70, 69, 40, 100, 68, 100, 63, 181, 100, 78, 100, 59, 71, 100, 0, 60, 100, 100, 100, 100" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:115px; width:1194px; height:568px; vertical-align:bottom; ">
  680. <!--(20101206) 경북대 -->
  681. <col ref="reqcnfmdd" format="yyyy-mm-dd" style="text-align:center; "/>
  682. <col ref="pid" style="text-align:center; "/>
  683. <col ref="pathngnm" style="text-align:center; "/>
  684. <col ref="sex" style="text-align:center; "/>
  685. <col ref="rrgstno" style="text-align:center; "/>
  686. <col disabled="true" ref="position" type="combo" style="text-align:center; ">
  687. <choices>
  688. <itemset nodeset="/root/item/kind/M0347">
  689. <label ref="cdnm"/>
  690. <value ref="cdid"/>
  691. </itemset>
  692. </choices>
  693. </col>
  694. <col ref="churchnm" style="text-align:center; "/>
  695. <col disabled="true" ref="chrrgstkind" type="combo" style="text-align:center; ">
  696. <choices>
  697. <itemset nodeset="/root/item/chrrgstkind/M0348">
  698. <label ref="cdnm"/>
  699. <value ref="cdid"/>
  700. </itemset>
  701. </choices>
  702. </col>
  703. <col ref="diaghngnm" style="text-align:left; "/>
  704. <col ref="reqdeptnm" style="text-align:center; "/>
  705. <col ref="reqdrnm" style="text-align:center; "/>
  706. <col ref="reqdd" format="yyyy-mm-dd" style="text-align:center; "/>
  707. <col disabled="true" ref="reqpath" type="combo" style="text-align:center; ">
  708. <choices>
  709. <itemset nodeset="/root/item/reqpath/A0001">
  710. <label ref="cdnm"/>
  711. <value ref="cdid"/>
  712. </itemset>
  713. </choices>
  714. </col>
  715. <col ref="gradeflag" style="text-align:center; "/>
  716. <col disabled="true" ref="qualflag" type="combo" style="text-align:center; ">
  717. <choices>
  718. <itemset nodeset="/root/item/dctype/qualflaglist">
  719. <label ref="nm"/>
  720. <value ref="cd"/>
  721. </itemset>
  722. </choices>
  723. </col>
  724. <col ref="fstvisitdd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  725. <col ref="result" style="text-align:center; "/>
  726. <col ref="churchcd" visibility="hidden" style="left:170px; top:23px; width:30px; height:23px; text-align:center; "/>
  727. <col ref="diagcd" visibility="hidden" style="text-align:center; "/>
  728. <col ref="reqdeptcd" visibility="hidden" style="text-align:center; "/>
  729. <col ref="reqdrid" visibility="hidden" style="text-align:center; "/>
  730. </datagrid>
  731. <!--(20101206) 경북대
  732. <datagrid id="grd_cancellist" nodeset="/root/main/grd_cancellist/cancellist" visibility="hidden" autoresize="true" caption="의뢰취소일^등록번호^환자명^S/A^주민등록번호^소속^본당명^분류^진단명^진료과^주치의^취소사유^의뢰일^등급^본인부담률^의뢰경로" colsep="^" colwidth="90, 70, 60, 43, 100, 50, 83, 41, 234, 100, 70, 151, 80, 41, 132, 58, 100, 100, 100, 100" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:115px; width:1194px; height:568px; vertical-align:bottom; ">
  733. -->
  734. <datagrid id="grd_cancellist" nodeset="/root/main/grd_cancellist/cancellist" visibility="hidden" autoresize="true" caption="의뢰취소일^등록번호^환자명^S/A^주민등록번호^소속^본당명^분류^진단명^진료과^진료의^취소사유^의뢰일^등급^본인부담률^의뢰경로" colsep="^" colwidth="90, 70, 60, 43, 100, 50, 83, 41, 234, 100, 70, 151, 80, 41, 132, 58, 100, 100, 100, 100" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:115px; width:1194px; height:568px; vertical-align:bottom; ">
  735. <!--(20101206) 경북대 -->
  736. <col ref="reqcanceldd" format="yyyy-mm-dd" style="text-align:center; "/>
  737. <col ref="pid" style="text-align:center; "/>
  738. <col ref="pathngnm" style="text-align:center; "/>
  739. <col ref="sex" style="text-align:center; "/>
  740. <col ref="rrgstno" style="text-align:center; "/>
  741. <col disabled="true" ref="position" type="combo" style="text-align:center; ">
  742. <choices>
  743. <itemset nodeset="/root/item/kind/M0347">
  744. <label ref="cdnm"/>
  745. <value ref="cdid"/>
  746. </itemset>
  747. </choices>
  748. </col>
  749. <col disabled="true" ref="churchnm" style="text-align:center; "/>
  750. <col disabled="true" ref="chrrgstkind" type="combo" style="text-align:center; ">
  751. <choices>
  752. <itemset nodeset="/root/item/chrrgstkind/M0348">
  753. <label ref="cdnm"/>
  754. <value ref="cdid"/>
  755. </itemset>
  756. </choices>
  757. </col>
  758. <col ref="diaghngnm" style="text-align:left; "/>
  759. <col ref="reqdeptnm" style="text-align:center; "/>
  760. <col ref="reqdrnm" style="text-align:center; "/>
  761. <col disabled="true" ref="cancelreason" type="combo" style="text-align:left; ">
  762. <choices>
  763. <itemset nodeset="/root/item/reqcancelreason/M0387">
  764. <label ref="cdnm"/>
  765. <value ref="cdid"/>
  766. </itemset>
  767. </choices>
  768. </col>
  769. <col ref="reqdd" format="yyyy-mm-dd" style="text-align:center; "/>
  770. <col ref="gradeflag" style="text-align:center; "/>
  771. <col disabled="true" ref="qualflag" type="combo" style="text-align:center; ">
  772. <choices>
  773. <itemset nodeset="/root/item/dctype/qualflaglist">
  774. <label ref="nm"/>
  775. <value ref="cd"/>
  776. </itemset>
  777. </choices>
  778. </col>
  779. <col disabled="true" ref="reqpath" type="combo" style="text-align:center; ">
  780. <choices>
  781. <itemset nodeset="/root/item/reqpath/A0001">
  782. <label ref="cdnm"/>
  783. <value ref="cdid"/>
  784. </itemset>
  785. </choices>
  786. </col>
  787. <col ref="churchcd" visibility="hidden" style="left:170px; top:23px; width:30px; height:23px; text-align:center; "/>
  788. <col ref="diagcd" visibility="hidden" style="text-align:center; "/>
  789. <col ref="reqdeptcd" visibility="hidden" style="text-align:center; "/>
  790. <col ref="reqdrid" visibility="hidden" style="text-align:center; "/>
  791. </datagrid>
  792. <!--(20101206) 경북대
  793. <datagrid id="grd_visitspeclist" nodeset="/root/main/grd_visitspeclist/visitspeclist" visibility="hidden" autoresize="true" caption="방문일^등록번호^환자명^S/A^주민등록번호^소속^본당명^분류^진단명^진료과^주치의^방문간호사^의뢰일^등급^본인부담률^방문시간구분^의뢰확정일^의뢰경로^첫방문일^중증도" colsep="^" colwidth="73, 70, 61, 42, 100, 44, 86, 40, 140, 80, 59, 72, 85, 41, 143, 248, 90, 58, 80, 54, 100, 100, 100, 100" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:115px; width:1194px; height:568px; vertical-align:bottom; ">
  794. -->
  795. <datagrid id="grd_visitspeclist" nodeset="/root/main/grd_visitspeclist/visitspeclist" visibility="hidden" autoresize="true" caption="방문일^등록번호^환자명^S/A^주민등록번호^소속^본당명^분류^진단명^진료과^진료의^방문간호사^의뢰일^등급^본인부담률^방문시간구분^의뢰확정일^의뢰경로^첫방문일^중증도" colsep="^" colwidth="73, 70, 61, 42, 100, 44, 86, 40, 140, 80, 59, 72, 85, 41, 143, 248, 90, 58, 80, 54, 100, 100, 100, 100" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:115px; width:1194px; height:568px; vertical-align:bottom; ">
  796. <!--(20101206) 경북대 -->
  797. <col ref="visitdd" format="yyyy-mm-dd" style="text-align:center; "/>
  798. <col ref="pid" style="text-align:center; "/>
  799. <col ref="pathngnm" style="text-align:center; "/>
  800. <col ref="sex" style="text-align:center; "/>
  801. <col ref="rrgstno" style="text-align:center; "/>
  802. <col disabled="true" ref="position" type="combo" style="text-align:center; ">
  803. <choices>
  804. <itemset nodeset="/root/item/kind/M0347">
  805. <label ref="cdnm"/>
  806. <value ref="cdid"/>
  807. </itemset>
  808. </choices>
  809. </col>
  810. <col disabled="true" ref="churchnm" visibility="hidden" style="text-align:center; "/>
  811. <col disabled="true" ref="chrrgstkind" type="combo" style="text-align:center; ">
  812. <choices>
  813. <itemset nodeset="/root/item/chrrgstkind/M0348">
  814. <label ref="cdnm"/>
  815. <value ref="cdid"/>
  816. </itemset>
  817. </choices>
  818. </col>
  819. <col ref="diaghngnm" style="text-align:left; "/>
  820. <col ref="reqdeptnm" style="text-align:center; "/>
  821. <col ref="reqdrnm" style="text-align:center; "/>
  822. <col ref="chrgnursnm" style="text-align:center; "/>
  823. <col ref="reqdd" format="yyyy-mm-dd" style="text-align:center; "/>
  824. <col ref="gradeflag" style="text-align:center; "/>
  825. <col disabled="true" ref="qualflag" type="combo" style="text-align:left; ">
  826. <choices>
  827. <itemset nodeset="/root/item/dctype/qualflaglist">
  828. <label ref="nm"/>
  829. <value ref="cd"/>
  830. </itemset>
  831. </choices>
  832. </col>
  833. <col ref="visittimeking" style="text-align:left; "/>
  834. <col ref="reqcnfmdd" format="yyyy-mm-dd" style="text-align:center; "/>
  835. <col disabled="true" ref="reqpath" type="combo" style="text-align:center; ">
  836. <choices>
  837. <itemset nodeset="/root/item/reqpath/A0001">
  838. <label ref="cdnm"/>
  839. <value ref="cdid"/>
  840. </itemset>
  841. </choices>
  842. </col>
  843. <col ref="fstvisitdd" format="yyyy-mm-dd" style="text-align:center; "/>
  844. <col ref="result" style="text-align:center; "/>
  845. <col ref="churchcd" visibility="hidden" style="left:170px; top:23px; width:30px; height:23px; text-align:center; "/>
  846. <col ref="diagcd" visibility="hidden" style="text-align:center; "/>
  847. <col ref="reqdeptcd" visibility="hidden" style="text-align:center; "/>
  848. <col ref="reqdrid" visibility="hidden" style="text-align:center; "/>
  849. </datagrid>
  850. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:80px; vertical-align:top; ">
  851. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:5px; width:1195px; height:70px; "/>
  852. <line id="line13" class="line_4" style="x1:1107px; y1:12px; x2:1107px; y2:68px; "/>
  853. <button id="btn_search" class="btn1_letter2" style="left:1126px; top:28px; width:56px; height:22px; ">
  854. <caption>조회</caption>
  855. <script type="javascript" ev:event="DOMActivate">
  856. <![CDATA[
  857. model.setValue("/root/send/fromdd", ipt_fromdd.value);
  858. model.setValue("/root/send/todd", ipt_todd.value);
  859. model.setValue("/root/send/procstatus", rdo_procstatus.value);
  860. model.setValue("/root/send/kind", rdo_kind.value);
  861. fMakeChrRgstKind();
  862. model.refresh();
  863. var fromdd = model.getValue("/root/send/fromdd");
  864. var todd = model.getValue("/root/send/todd");
  865. // 2010.02.16 HHM 추가
  866. if(getDateInterval(fromdd, todd)>31){
  867. messageBox("조회기간은 한달이상을 넘을 수", "I004");
  868. model.setFocus("ipt_todd");
  869. return;
  870. }
  871. grd_visitlist.visible = false;
  872. grd_proclist.visible = false;
  873. grd_endlist.visible = false;
  874. grd_cnfmlist.visible = false;
  875. grd_cancellist.visible = false;
  876. grd_visitspeclist.visible = false;
  877. model.removeNodeset("/root/grd_visitlist");
  878. model.removeNodeset("/root/grd_proclist");
  879. model.removeNodeset("/root/grd_endlist");
  880. model.removeNodeset("/root/grd_cancellist");
  881. model.removeNodeset("/root/grd_cnfmlist");
  882. model.removeNodeset("/root/grd_visitspeclist");
  883. model.refresh();
  884. grd_visitlist.rebuild();
  885. grd_proclist.rebuild();
  886. grd_endlist.rebuild();
  887. grd_cnfmlist.rebuild();
  888. grd_cancellist.rebuild();
  889. grd_visitspeclist.rebuild();
  890. // 첫방문
  891. if((rdo_procstatus.value == 1) || (rdo_procstatus.value == 0))
  892. {
  893. updtdata = getGridUpdateData(grd_visitlist);
  894. grd_visitlist.attribute("left") = 0;
  895. grd_visitlist.attribute("top") = 117;
  896. grd_visitlist.attribute("width") = 1194;
  897. grd_visitlist.attribute("height") = 568;
  898. }
  899. // 진행
  900. else if(rdo_procstatus.value == 2)
  901. {
  902. updtdata = getGridUpdateData(grd_proclist);
  903. grd_proclist.attribute("left") = 0;
  904. grd_proclist.attribute("top") = 117;
  905. grd_proclist.attribute("width") = 1194;
  906. grd_proclist.attribute("height") = 568;
  907. }
  908. // 종결
  909. else if(rdo_procstatus.value == 3)
  910. {
  911. updtdata = getGridUpdateData(grd_endlist);
  912. grd_endlist.attribute("left") = 0;
  913. grd_endlist.attribute("top") = 117;
  914. grd_endlist.attribute("width") = 1194;
  915. grd_endlist.attribute("height") = 568;
  916. }
  917. // 의뢰확정
  918. else if(rdo_procstatus.value == 4)
  919. {
  920. updtdata = getGridUpdateData(grd_cnfmlist);
  921. grd_cnfmlist.attribute("left") = 0;
  922. grd_cnfmlist.attribute("top") = 117;
  923. grd_cnfmlist.attribute("width") = 1194;
  924. grd_cnfmlist.attribute("height") = 568;
  925. }
  926. // 의뢰취소
  927. else if(rdo_procstatus.value == 5)
  928. {
  929. updtdata = getGridUpdateData(grd_cancellist);
  930. grd_cancellist.attribute("left") = 0;
  931. grd_cancellist.attribute("top") = 117;
  932. grd_cancellist.attribute("width") = 1194;
  933. grd_cancellist.attribute("height") = 568;
  934. }
  935. // 방문내역
  936. else if(rdo_procstatus.value == 6)
  937. {
  938. updtdata = getGridUpdateData(grd_visitspeclist);
  939. grd_visitspeclist.attribute("left") = 0;
  940. grd_visitspeclist.attribute("top") = 117;
  941. grd_visitspeclist.attribute("width") = 1194;
  942. grd_visitspeclist.attribute("height") = 568;
  943. }
  944. if((rdo_procstatus.value == 1) || (rdo_procstatus.value == 0))
  945. {
  946. // 1.첫방문 리스트 조회
  947. submit("TRMNF04600");
  948. grd_visitlist.visible = true;
  949. if(rdo_careflag.value == 'H'){
  950. grd_visitlist.colHidden(5) = true; // 주민번호
  951. grd_visitlist.colHidden(14) = false; // 의뢰경로
  952. // grd_visitlist.colHidden(15) = false; //중증도
  953. grd_visitlist.colHidden(16) = true; // 등급
  954. grd_visitlist.colHidden(17) = true; // 본인부담률
  955. }else if(rdo_careflag.value == 'V'){
  956. grd_visitlist.colHidden(5) = false; // 주민번호
  957. grd_visitlist.colHidden(14) = true; // 의뢰경로
  958. // grd_visitlist.colHidden(15) = true; //중증도
  959. grd_visitlist.colHidden(16) = false; // 등급
  960. grd_visitlist.colHidden(17) = false; // 본인부담률
  961. }
  962. }
  963. else if(rdo_procstatus.value == 2)
  964. {
  965. // 3.진행 리스트 조회
  966. submit("TRMNF04601");
  967. grd_proclist.visible = true;
  968. if(rdo_careflag.value == 'H'){
  969. grd_proclist.colHidden(5) = true; // 주민번호
  970. grd_proclist.colHidden(17) = true; // 등급
  971. grd_proclist.colHidden(18) = true; // 본인부담률
  972. grd_proclist.colHidden(19) = true; // 주소
  973. grd_proclist.colHidden(20) = true; // 전화번호
  974. grd_proclist.colHidden(21) = false; // 의뢰경로
  975. }else if(rdo_careflag.value == 'V'){
  976. grd_proclist.colHidden(5) = false; // 주민번호
  977. grd_proclist.colHidden(17) = false; // 등급
  978. grd_proclist.colHidden(18) = false; // 본인부담률
  979. grd_proclist.colHidden(19) = false; // 주소
  980. grd_proclist.colHidden(20) = false; // 전화번호
  981. grd_proclist.colHidden(21) = true; // 의뢰경로
  982. }
  983. }
  984. else if(rdo_procstatus.value == 3)
  985. {
  986. // 4.종결 리스트 조회
  987. submit("TRMNF04602");
  988. grd_endlist.visible = true;
  989. if(rdo_careflag.value == 'H'){
  990. grd_endlist.colHidden(6) = true; // 주민번호
  991. grd_endlist.colHidden(17) = true; // 등급
  992. }else if(rdo_careflag.value == 'V'){
  993. grd_endlist.colHidden(6) = false; // 주민번호
  994. grd_endlist.colHidden(17) = false; // 등급
  995. }
  996. }
  997. else if(rdo_procstatus.value == 4)
  998. {
  999. // 5.의뢰확정 리스트 조회
  1000. submit("TRMNF04603");
  1001. grd_cnfmlist.visible = true;
  1002. if(rdo_careflag.value == 'H'){
  1003. grd_cnfmlist.colHidden(5) = true; // 주민번호
  1004. grd_cnfmlist.colHidden(14) = true; // 등급
  1005. grd_cnfmlist.colHidden(15) = true; // 본인부담률
  1006. }else if(rdo_careflag.value == 'V'){
  1007. grd_cnfmlist.colHidden(5) = false; // 주민번호
  1008. grd_cnfmlist.colHidden(14) = false; // 등급
  1009. grd_cnfmlist.colHidden(15) = false; // 본인부담률
  1010. }
  1011. }
  1012. else if(rdo_procstatus.value == 5)
  1013. {
  1014. // 5.의뢰취소 리스트 조회
  1015. submit("TRMNF04604");
  1016. grd_cancellist.visible = true;
  1017. if(rdo_careflag.value == 'H'){
  1018. grd_cancellist.colHidden(5) = true; // 주민번호
  1019. grd_cancellist.colHidden(14) = true; // 등급
  1020. grd_cancellist.colHidden(15) = true; // 본인부담률
  1021. grd_cancellist.colHidden(16) = false; // 의뢰경로
  1022. }else if(rdo_careflag.value == 'V'){
  1023. grd_cancellist.colHidden(5) = false; // 주민번호
  1024. grd_cancellist.colHidden(14) = false; // 등급
  1025. grd_cancellist.colHidden(15) = false; // 본인부담률
  1026. grd_cancellist.colHidden(16) = true; // 의뢰경로
  1027. }
  1028. }
  1029. else if(rdo_procstatus.value == 6)
  1030. {
  1031. // 5.방문내역 리스트 조회
  1032. submit("TRMNF04605");
  1033. grd_visitspeclist.visible = true;
  1034. if(rdo_careflag.value == 'H'){
  1035. grd_visitspeclist.colHidden(5) = true; // 주민번호
  1036. grd_visitspeclist.colHidden(14) = true; // 등급
  1037. grd_visitspeclist.colHidden(15) = true; // 본인부담률
  1038. grd_visitspeclist.colHidden(16) = true; // 방문시간 구분
  1039. grd_visitspeclist.colHidden(18) = false; // 의뢰경로
  1040. // grd_visitspeclist.colHidden(19) = true; // 첫방문일
  1041. // grd_visitspeclist.colHidden(20) = true; // 중증도
  1042. }else if(rdo_careflag.value == 'V'){
  1043. grd_visitspeclist.colHidden(5) = false; // 주민번호
  1044. grd_visitspeclist.colHidden(14) = false; // 등급
  1045. grd_visitspeclist.colHidden(15) = false; // 본인부담률
  1046. grd_visitspeclist.colHidden(16) = false; // 방문시간 구분
  1047. grd_visitspeclist.colHidden(18) = true; // 의뢰경로
  1048. // grd_visitspeclist.colHidden(19) = false; // 첫방문일
  1049. // grd_visitspeclist.colHidden(20) = false; // 중증도
  1050. }
  1051. }
  1052. ]]>
  1053. </script>
  1054. </button>
  1055. <select1 id="rdo_kind" ref="/root/send/kind" class="radio_search" appearance="full" cols="4" rows="1" overflow="visible" style="left:350px; top:16px; width:60px; height:20px; border-style:none; ">
  1056. <choices>
  1057. <itemset>
  1058. <label ref="cdnm"/>
  1059. <value ref="cdid"/>
  1060. </itemset>
  1061. </choices>
  1062. <script type="javascript" ev:event="xforms-value-changed">
  1063. <![CDATA[
  1064. checkbox1.deselect(0);
  1065. checkbox1.deselect(1);
  1066. checkbox1.deselect(2);
  1067. if (rdo_kind.value == 0) // 전체
  1068. {
  1069. grp_kindchurch.visible = false;
  1070. grp_kindhosp.visible = true;
  1071. grd_visitlist.colhidden(grd_visitlist.colRef("churchnm")) = false;
  1072. grd_visitlist.colhidden(grd_visitlist.colRef("chrrgstkind")) = false;
  1073. }
  1074. else if (rdo_kind.value == 1) // 병원
  1075. {
  1076. grp_kindchurch.visible = false;
  1077. grp_kindhosp.visible = true;
  1078. grd_visitlist.colhidden(grd_visitlist.colRef("churchnm")) = true;
  1079. grd_visitlist.colhidden(grd_visitlist.colRef("chrrgstkind")) = true;
  1080. }
  1081. else if (rdo_kind.value == 2) // 본당
  1082. {
  1083. grp_kindhosp.visible = false;
  1084. grp_kindchurch.visible = true;
  1085. grd_visitlist.colhidden(grd_visitlist.colRef("churchnm")) = false;
  1086. grd_visitlist.colhidden(grd_visitlist.colRef("chrrgstkind")) = false;
  1087. // 본당 리스트 조회
  1088. submit("TRMNF00130");
  1089. }
  1090. else // 재택
  1091. {
  1092. messageBox("재택은 현재 강남에서 진행하지","E007"); //않았습니다.
  1093. rdo_kind.value = '1';
  1094. return;
  1095. // grp_kindchurch.visible = false;
  1096. // grp_kindhosp.visible = true;
  1097. //
  1098. // grd_visitlist.colhidden(grd_visitlist.colRef("churchnm")) = false;
  1099. // grd_visitlist.colhidden(grd_visitlist.colRef("chrrgstkind")) = false;
  1100. }
  1101. // 조회조건의 가정간호 담당간호사 리스트를 조회, 콤보박스에 세팅한다.
  1102. submit("TRMNF00106");
  1103. btn_search.dispatch("DOMActivate");
  1104. ]]>
  1105. </script>
  1106. <script type="javascript" ev:event="DOMFocusOut">
  1107. <![CDATA[
  1108. if (rdo_kind.value == 1) // 병원
  1109. {
  1110. grp_kindchurch.visible = false;
  1111. grp_kindhosp.visible = true;
  1112. }
  1113. else if (rdo_kind.value == 2) // 본당
  1114. {
  1115. grp_kindhosp.visible = false;
  1116. grp_kindchurch.visible = true;
  1117. }
  1118. else // 재택
  1119. {
  1120. grp_kindchurch.visible = false;
  1121. grp_kindhosp.visible = true;
  1122. }
  1123. model.setValue("/root/send/kind", rdo_kind.value);
  1124. model.refresh();
  1125. ]]>
  1126. </script>
  1127. </select1>
  1128. <group id="grp_kindchurch" visibility="hidden" style="left:480px; top:15px; width:560px; height:20px; background-color:transparent; ">
  1129. <select1 id="combo5" ref="/root/send/churchcd" class="combo_search" appearance="minimal" style="left:75px; top:0px; width:105px; height:19px; ">
  1130. <choices>
  1131. <itemset nodeset="/root/item/church/churchlist">
  1132. <label ref="churchnm"/>
  1133. <value ref="churchcd"/>
  1134. </itemset>
  1135. </choices>
  1136. <script type="javascript" ev:event="xforms-value-changed">
  1137. <![CDATA[
  1138. // SEND DATA 변경
  1139. model.setValue("/root/send/churchcd", combo5.value);
  1140. // 조회조건의 가정간호 담당간호사 리스트를 조회, 콤보박스에 세팅한다.
  1141. submit("TRMNF00106");
  1142. ]]>
  1143. </script>
  1144. </select1>
  1145. <select1 id="combo7" ref="/root/send/chrgnursid" class="combo_search" appearance="minimal" style="left:450px; top:0px; width:90px; height:19px; ">
  1146. <choices>
  1147. <itemset nodeset="/root/item/chargenurse/nurselist">
  1148. <label ref="usernm"/>
  1149. <value ref="userid"/>
  1150. </itemset>
  1151. </choices>
  1152. <script type="javascript" ev:event="xforms-value-changed">
  1153. <![CDATA[
  1154. // SEND DATA 변경
  1155. // model.setValue("/root/send/chrgnursid", combo7.value);
  1156. model.refresh();
  1157. //btn_search.dispatch("DOMActivate") ;
  1158. ]]>
  1159. </script>
  1160. </select1>
  1161. <caption id="caption28" class="search_name" style="left:0px; top:0px; width:80px; height:17px; ">본당명 :</caption>
  1162. <caption id="caption29" class="search_name" style="left:345px; top:1px; width:99px; height:17px; ">방문간호사 :</caption>
  1163. <select id="checkbox1" ref="/root/send/chrrgstkind" class="checkbox_search" overflow="visible" appearance="full" cols="3" rows="1" sep="," style="left:205px; top:0px; width:140px; height:17px; text-align:center; border-style:none; ">
  1164. <choices>
  1165. <item>
  1166. <label>등록</label>
  1167. <value>1</value>
  1168. </item>
  1169. <item>
  1170. <label>무료</label>
  1171. <value>2</value>
  1172. </item>
  1173. <item>
  1174. <label>기타</label>
  1175. <value>3</value>
  1176. </item>
  1177. </choices>
  1178. </select>
  1179. </group>
  1180. <caption id="caption1" class="search_name" style="left:15px; top:17px; width:98px; height:17px; ">조회구간 :</caption>
  1181. <group id="grp_kindhosp" visibility="visible" style="left:480px; top:15px; width:225px; height:23px; background-color:transparent; ">
  1182. <select1 id="combo6" ref="/root/send/chrgnursid" class="combo_search" appearance="minimal" style="left:100px; top:0px; width:100px; height:19px; ">
  1183. <choices>
  1184. <itemset nodeset="/root/item/chargenurse/nurselist">
  1185. <label ref="usernm"/>
  1186. <value ref="userid"/>
  1187. </itemset>
  1188. </choices>
  1189. <script type="javascript" ev:event="xforms-value-changed">
  1190. <![CDATA[
  1191. //btn_search.dispatch("DOMActivate") ;
  1192. // SEND DATA 변경
  1193. // model.setValue("/root/send/chrgnursid", combo6.value);
  1194. // model.refresh();
  1195. ]]>
  1196. </script>
  1197. </select1>
  1198. <caption id="caption27" class="search_name" style="left:0px; top:1px; width:99px; height:17px; ">방문간호사 :</caption>
  1199. </group>
  1200. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" style="left:107px; top:16px; width:100px; height:19px; "/>
  1201. <input id="ipt_todd" ref="/root/send/todd" class="input_search" inputtype="date" style="left:235px; top:16px; width:100px; height:19px; "/>
  1202. <caption id="caption3" class="search_name" style="left:15px; top:47px; width:115px; height:17px; ">진행상태 :</caption>
  1203. <select1 id="rdo_procstatus" ref="/root/send/procstatus" class="radio_search" appearance="full" cols="6" rows="1" overflow="visible" style="left:110px; top:48px; width:355px; height:20px; border-style:none; ">
  1204. <choices>
  1205. <!--item>
  1206. <label>전체</label>
  1207. <value>0</value>
  1208. </item-->
  1209. <item>
  1210. <label>첫방문</label>
  1211. <value>1</value>
  1212. </item>
  1213. <item>
  1214. <label>진행</label>
  1215. <value>2</value>
  1216. </item>
  1217. <item>
  1218. <label>종결</label>
  1219. <value>3</value>
  1220. </item>
  1221. <item>
  1222. <label>의뢰확정</label>
  1223. <value>4</value>
  1224. </item>
  1225. <item>
  1226. <label>의뢰취소</label>
  1227. <value>5</value>
  1228. </item>
  1229. <item>
  1230. <label>방문내역</label>
  1231. <value>6</value>
  1232. </item>
  1233. </choices>
  1234. <script type="javascript" ev:event="xforms-value-changed">
  1235. <![CDATA[
  1236. model.setValue("/root/send/procstatus", rdo_procstatus.value);
  1237. model.refresh();
  1238. if(model.getValue("/root/send/procstatus") == "3"){
  1239. zbcfGetCodeList(new Array("M0349"), new Array("/root/item/endreason"));
  1240. }
  1241. btn_search.dispatch("DOMActivate");
  1242. ]]>
  1243. </script>
  1244. </select1>
  1245. <caption id="caption10" style="left:215px; top:19px; width:12px; height:13px; ">~</caption>
  1246. <caption id="caption60" class="search_name" style="left:480px; top:50px; width:111px; height:17px; ">간호구분 :</caption>
  1247. <select1 id="rdo_careflag" ref="/root/send/careflag" class="radio_search" appearance="full" cellspacing="0" cols="3" rows="1" overflow="visible" style="left:585px; top:50px; width:140px; height:20px; border-style:none; ">
  1248. <choices>
  1249. <item>
  1250. <label>가정간호</label>
  1251. <value>H</value>
  1252. </item>
  1253. <item>
  1254. <label>방문간호</label>
  1255. <value>V</value>
  1256. </item>
  1257. </choices>
  1258. <script type="javascript" ev:event="xforms-value-changed">
  1259. <![CDATA[
  1260. model.setValue("/root/send/careflag", rdo_careflag.value);
  1261. // 조회
  1262. btn_search.dispatch("DOMActivate");
  1263. // model.refresh();
  1264. ]]>
  1265. </script>
  1266. </select1>
  1267. </group>
  1268. <caption id="cap_listtitle" class="tit_2" style="left:5px; top:97px; width:124px; height:13px; ">환자 리스트</caption>
  1269. <line id="line2" class="line_1" style="x1:0px; y1:112px; x2:1194px; y2:112px; "/>
  1270. <button id="btn_excel" class="btn2_letter3" style="left:1140px; top:92px; width:53px; height:19px; ">
  1271. <caption>Excel</caption>
  1272. <script type="javascript" ev:event="DOMActivate">
  1273. <![CDATA[
  1274. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  1275. if (fileName != "")
  1276. {
  1277. if(rdo_procstatus.value == 1)
  1278. {
  1279. // 1.첫방문 리스트 엑셀 저장
  1280. grd_visitlist.saveExcel(fileName, "SheetName", true, true, "", "", "");
  1281. }
  1282. else if(rdo_procstatus.value == 2)
  1283. {
  1284. // 3.진행 리스트 엑셀 저장
  1285. grd_proclist.saveExcel(fileName, "SheetName", true, true, "", "", "");
  1286. }
  1287. else if(rdo_procstatus.value == 3)
  1288. {
  1289. // 4.종결 리스트 엑셀 저장
  1290. grd_endlist.saveExcel(fileName, "SheetName", true, true, "", "", "");
  1291. }
  1292. else if(rdo_procstatus.value == 4)
  1293. {
  1294. // 5.의뢰확정 리스트 엑셀 저장
  1295. grd_cnfmlist.saveExcel(fileName, "SheetName", true, true, "", "", "");
  1296. }
  1297. else if(rdo_procstatus.value == 5)
  1298. {
  1299. // 5.의뢰취소 리스트 엑셀 저장
  1300. grd_cancellist.saveExcel(fileName, "SheetName", true, true, "", "", "");
  1301. }
  1302. else if(rdo_procstatus.value == 6)
  1303. {
  1304. // 5.방문내역 리스트 엑셀 저장
  1305. grd_visitspeclist.saveExcel(fileName, "SheetName", true, true, "", "", "");
  1306. }
  1307. }
  1308. ]]>
  1309. </script>
  1310. </button>
  1311. <button id="btn_print" class="btn2_letter2" style="left:1095px; top:92px; width:42px; height:19px; ">
  1312. <caption>출력</caption>
  1313. </button>
  1314. <caption id="caption8" visibility="hidden" style="left:400px; top:705px; width:100px; height:25px; ">평균 방문수</caption>
  1315. <caption id="caption9" visibility="hidden" style="left:645px; top:705px; width:102px; height:25px; ">평균 방문기간</caption>
  1316. <input id="input1" visibility="hidden" style="left:480px; top:707px; width:105px; height:19px; "/>
  1317. <input id="input2" visibility="hidden" style="left:730px; top:707px; width:105px; height:19px; "/>
  1318. </group>
  1319. </xhtml:body>
  1320. </xhtml:html>