SMLPJ00900_육안검사의사일괄변경.xrw 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>육안검사의사 일괄변경</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <acptptno>
  11. <acptptnolist>
  12. <choi/>
  13. <instcd/>
  14. <ptno/>
  15. <dispptno/>
  16. <acptdd/>
  17. <acpttm/>
  18. <acptnm/>
  19. <pid/>
  20. <patnm/>
  21. <bfgrosdrid/>
  22. <bfgrosdrnm/>
  23. <afgrosdrid/>
  24. <bfgrosplgyid/>
  25. <bfgrosplgynm/>
  26. <afgrosplgyid/>
  27. <grostestdd/>
  28. <grostesttm/>
  29. <updtflagcd/>
  30. <updtresncd/>
  31. <bfreaddrid/>
  32. <afreaddrid/>
  33. <bfreaddrnm/>
  34. <afreaddrnm/>
  35. <readdd/>
  36. </acptptnolist>
  37. </acptptno>
  38. </main>
  39. <send/>
  40. <init>
  41. <acptfromdd/>
  42. <acpttodd/>
  43. <grosdrid/>
  44. <grosplgyid/>
  45. <ptnocode/>
  46. <fromyear/>
  47. <fromptno/>
  48. <toyear/>
  49. <toptno/>
  50. <pid/>
  51. <sysdt>
  52. <sysdtinfo>
  53. <sysdd/>
  54. <systm/>
  55. </sysdtinfo>
  56. </sysdt>
  57. <userinfo>
  58. <userinfolist>
  59. <userid/>
  60. <usernm/>
  61. <jobkindcd/>
  62. </userinfolist>
  63. </userinfo>
  64. <resncd>
  65. <resncdlist>
  66. <instcd/>
  67. <baseflagcd/>
  68. <resncd/>
  69. <resncnts/>
  70. </resncdlist>
  71. </resncd>
  72. <hospenv>
  73. <hospenvinfo>
  74. <instcd/>
  75. <lendrtnterm/>
  76. <recvqualmthdcd/>
  77. <plgydeptcd/>
  78. <plgyteamcd/>
  79. <doctjobgradcd/>
  80. <teamjobgradcd/>
  81. </hospenvinfo>
  82. </hospenv>
  83. <afgrosdrid/>
  84. <afgrosplgyid/>
  85. <updtresncd/>
  86. <ptnocd>
  87. <ptnocdlist>
  88. <instcd/>
  89. <ptnocd/>
  90. <ptnonm/>
  91. </ptnocdlist>
  92. </ptnocd>
  93. <afreaddrid/>
  94. <popupmenu>
  95. <item/>
  96. </popupmenu>
  97. </init>
  98. <hidden/>
  99. </root>
  100. </instance>
  101. <submission id="TRLPJ00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/acptptno/acptptnolist"/>
  102. <submission id="TRLPZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/hospenv/hospenvinfo"/>
  103. <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
  104. <submission id="TRLPZ00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/resncd/resncdlist"/>
  105. <submission id="TRLPZ00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/userinfo/userinfolist"/>
  106. <submission id="TRLPZ00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/ptnocd/ptnocdlist"/>
  107. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  108. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  109. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  110. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  111. <script type="javascript" ev:event="xforms-ready">
  112. <![CDATA[
  113. fExeInitialize();
  114. ]]>
  115. </script>
  116. <submission id="TXLPJ00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/message"/>
  117. </model>
  118. <script type="javascript">
  119. <![CDATA[
  120. /* @group : 육안검사의사 일괄변경
  121. * @ver : 2007.07.30 (CMCDEV-0001)
  122. * @by : 유동철(ACK)
  123. * @-----------------------------------
  124. * @type : function
  125. * @access : public
  126. * @desc : 화면초기화 함수
  127. */
  128. function fExeInitialize(){
  129. var iMaxCnt = 0;
  130. var sCurDate = "";
  131. //--------------------------------
  132. model.removeNodeset("/root/send");
  133. //-----------------
  134. // 시스템일시 조회
  135. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  136. submit("TRLPZ00102", false);
  137. submit("TRLPZ00109", false);
  138. //--------------------
  139. // 작업구분 목록 조회
  140. model.makeValue("/root/send/baseflagcd", "'40'");
  141. submit("TRLPZ00103", false);
  142. //---------------------------------------------------------------
  143. // 병원환경정보를 취득하여 병리과와 병리팀 코드를 편집한다.
  144. //model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  145. submit("TRLPZ00101", false);
  146. lpzfUserDeptCd("/root/init/hospenv/hospenvinfo", "/root/init/userinfo");
  147. model.makeValue("/root/send/userdeptcd", model.getValue("/root/init/userinfo/userdeptcd"));
  148. model.makeValue("/root/send/doctjobgradcd", model.getValue("/root/init/hospenv/hospenvinfo/doctjobgradcd"));
  149. model.makeValue("/root/send/teamjobgradcd", model.getValue("/root/init/hospenv/hospenvinfo/teamjobgradcd"));
  150. submit("TRLPZ00105");
  151. //------------------------------------------------------------
  152. sCurDate = model.getValue("/root/init/sysdt/sysdtinfo/sysdd");
  153. //------------
  154. // 초기값 설정
  155. model.makeValue("/root/init/acptfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
  156. model.makeValue("/root/init/acpttodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
  157. model.makeValue("/root/init/grosdrid", "-");
  158. model.makeValue("/root/init/grosplgyid", "-");
  159. model.makeValue("/root/init/afgrosdrid", "-");
  160. model.makeValue("/root/init/afgrosplgyid", "-");
  161. model.makeValue("/root/init/afreaddrid", "-");
  162. model.makeValue("/root/init/updtresncd", "-");
  163. model.makeValue("/root/init/ptnocode", "");
  164. model.makeValue("/root/init/fromyear", sCurDate.substr(2,2));
  165. model.makeValue("/root/init/toyear", sCurDate.substr(2,2));
  166. model.makeValue("/root/init/fromptno", "");
  167. model.makeValue("/root/init/toptno", "");
  168. model.makeValue("/root/init/pid", "");
  169. model.removeNodeset("/root/main/acptptno/acptptnolist");
  170. //-------------
  171. // 전체 노드 추가
  172. model.makeNode("/root/temp/userinfo/userinfolist[1]");
  173. model.makeValue("/root/temp/userinfo/userinfolist[1]/dutplceinstcd", getUserInfo("dutplceinstcd"));
  174. model.makeValue("/root/temp/userinfo/userinfolist[1]/userid", "-");
  175. model.makeValue("/root/temp/userinfo/userinfolist[1]/usernm", "전체");
  176. model.makeValue("/root/temp/userinfo/userinfolist[1]/jobkindcd", "1");
  177. model.makeNode("/root/temp/userinfo/userinfolist[2]");
  178. model.makeValue("/root/temp/userinfo/userinfolist[2]/dutplceinstcd", getUserInfo("dutplceinstcd"));
  179. model.makeValue("/root/temp/userinfo/userinfolist[2]/userid", "-");
  180. model.makeValue("/root/temp/userinfo/userinfolist[2]/usernm", "전체");
  181. model.makeValue("/root/temp/userinfo/userinfolist[2]/jobkindcd", "9");
  182. copyNodesetType("/root/init/userinfo/userinfolist", "/root/temp/userinfo/userinfolist", "before");
  183. grd_ptnolist.fixedcellcheckbox(0,1)=true;
  184. //--------------
  185. model.refresh();
  186. }
  187. /* @group : 육안검사의사 일괄변경
  188. * @ver : 2007.07.31 (CMCDEV-0001)
  189. * @by : 유동철(ACK)
  190. * @-----------------------------------
  191. * @type : function
  192. * @access : public
  193. * @desc : 육안검사 의사 및 병리사 목록 조회 함수
  194. */
  195. function fGetGrosUpdtList() {
  196. var sTemp = "";
  197. var sFromDD = model.getValue("/root/init/acptfromdd");
  198. var sToDD = model.getValue("/root/init/acpttodd");
  199. //------------------------------------------------
  200. if (model.getValue("/root/init/ptnocode") != "") {
  201. //------------------------------------------------
  202. if (model.getValue("/root/init/fromyear") == "") {
  203. model.makeValue("/root/init/fromyear", sFromDD.substr(2,2));
  204. } else {
  205. sTemp = model.getValue("/root/init/fromyear");
  206. model.makeValue("/root/init/fromyear", sTemp.getLeftPad(2, "0"));
  207. }
  208. //----------------------------------------------
  209. if (model.getValue("/root/init/toyear") == "") {
  210. model.makeValue("/root/init/toyear", sToDD.substr(2,2));
  211. } else {
  212. sTemp = model.getValue("/root/init/toyear");
  213. model.makeValue("/root/init/toyear", sTemp.getLeftPad(2, "0"));
  214. }
  215. //------------------------------------------------
  216. if (model.getValue("/root/init/fromptno") == "") {
  217. model.makeValue("/root/init/fromptno", "000000");
  218. } else {
  219. sTemp = model.getValue("/root/init/fromptno");
  220. model.makeValue("/root/init/fromptno", sTemp.getLeftPad(6, "0"));
  221. }
  222. //----------------------------------------------
  223. if (model.getValue("/root/init/toptno") == "") {
  224. model.makeValue("/root/init/toptno", "999999");
  225. } else {
  226. sTemp = model.getValue("/root/init/toptno");
  227. model.makeValue("/root/init/toptno", sTemp.getLeftPad(6, "0"));
  228. }
  229. }
  230. //--------------------------------------------
  231. sTemp = model.getValue("/root/init/ptnocode");
  232. model.removeNodeset("/root/send");
  233. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  234. model.makeValue("/root/send/grosdrid", model.getValue("/root/init/grosdrid"));
  235. model.makeValue("/root/send/grosplgyid", model.getValue("/root/init/grosplgyid"));
  236. model.makeValue("/root/send/acptfromdd", model.getValue("/root/init/acptfromdd"));
  237. model.makeValue("/root/send/acpttodd", model.getValue("/root/init/acpttodd"));
  238. model.makeValue("/root/send/ptnocode", sTemp.replace("-", ""));
  239. model.makeValue("/root/send/fromyear", model.getValue("/root/init/fromyear"));
  240. model.makeValue("/root/send/fromptno", model.getValue("/root/init/fromptno"));
  241. model.makeValue("/root/send/toyear", model.getValue("/root/init/toyear"));
  242. model.makeValue("/root/send/toptno", model.getValue("/root/init/toptno"));
  243. model.makeValue("/root/send/pid", model.getValue("/root/init/pid"));
  244. if(submit("TRLPJ00901")) {
  245. //최종진단 처리 되었을 경우 판독의사 수정 불가 처리.
  246. for (var iNo=1; iNo <= getNodesetCount("/root/main/acptptno/acptptnolist"); iNo++) {
  247. if(model.getValue("/root/main/acptptno/acptptnolist["+ iNo +"]/readdd") == ""
  248. || model.getValue("/root/main/acptptno/acptptnolist["+ iNo +"]/readdd") == "-") {
  249. grd_ptnolist.isReadOnly(iNo, grd_ptnolist.colRef("afreaddrid")) = false;
  250. } else {
  251. grd_ptnolist.isReadOnly(iNo, grd_ptnolist.colRef("afreaddrid")) = true;
  252. }
  253. }
  254. grd_ptnolist.refresh();
  255. }
  256. }
  257. /* @group : 육안검사의사 일괄변경
  258. * @ver : 2007.08.01 (CMCDEV-0001)
  259. * @by : 유동철(ACK)
  260. * @-----------------------------------
  261. * @type : function
  262. * @access : public
  263. * @desc : 육안검사 의사 및 병리사 변경 처리 함수
  264. */
  265. function fExeGrosInfoUpdt(pFlagCd) {
  266. var sSrcNode = "/root/main/acptptno/acptptnolist";
  267. var iRowNumber = grd_ptnolist.findRow("true", 1, 1, true, true);
  268. //--------------------
  269. if(iRowNumber <= 0) {
  270. messageBox("변경 할 검사를 ", "C002");
  271. return false;
  272. }
  273. //--------------------------------
  274. model.removeNodeset("/root/send");
  275. //-------------------------
  276. grd_ptnolist.clearStatus();
  277. //--------------------------------------------------------
  278. for (var iNo=1; iNo <= getNodesetCount(sSrcNode); iNo++) {
  279. if (model.getValue(sSrcNode+"["+iNo+"]/choi") == "true") {
  280. //----------------------
  281. if ( pFlagCd == "G" ) { //육안변경
  282. //--------------------------------------------------------------------------------------------------------------------
  283. if (model.getValue(sSrcNode+"["+iNo+"]/updtresncd") == "" || model.getValue(sSrcNode+"["+iNo+"]/updtresncd") == "A") {
  284. messageBox("변경사유를 ", "C002");
  285. return false;
  286. }
  287. model.setValue(sSrcNode+"["+iNo+"]/updtflagcd", "40");
  288. } else {
  289. model.setValue(sSrcNode+"["+iNo+"]/updtflagcd", "ZZ");
  290. }
  291. //------------------------------------
  292. grd_ptnolist.addStatus(iNo, "update");
  293. }
  294. }
  295. //-------------------------------------------------------------------
  296. model.makeValue("/root/send/groslist", grd_ptnolist.getUpdateData());
  297. //-----------
  298. setAlertOn();
  299. if (submit("TXLPJ00901")) fGetGrosUpdtList();
  300. }
  301. /* @group : 육안검사의사 일괄변경
  302. * @ver : 2007.08.01 (CMCDEV-0001)
  303. * @by : 유동철(ACK)
  304. * @-----------------------------------
  305. * @type : function
  306. * @access : public
  307. * @desc : 변경사유 선택 시 처리 함수
  308. */
  309. function fExeResnChange() {
  310. for (var iNo=1; iNo <= getNodesetCount("/root/main/acptptno/acptptnolist"); iNo++) {
  311. if (model.getValue("/root/main/acptptno/acptptnolist["+iNo+"]/choi") == "true") {
  312. model.setValue("/root/main/acptptno/acptptnolist["+iNo+"]/updtresncd", model.getValue("/root/init/updtresncd"));
  313. }
  314. }
  315. }
  316. /* @group : 육안검사의사 일괄변경
  317. * @ver : 2007.08.01 (CMCDEV-0001)
  318. * @by : 유동철(ACK)
  319. * @-----------------------------------
  320. * @type : function
  321. * @access : public
  322. * @desc : 육안검사의사 선택 시 처리 함수
  323. */
  324. function fExeGrosDrChange() {
  325. for (var iNo=1; iNo <= getNodesetCount("/root/main/acptptno/acptptnolist"); iNo++) {
  326. if (model.getValue("/root/main/acptptno/acptptnolist["+iNo+"]/choi") == "true") {
  327. model.setValue("/root/main/acptptno/acptptnolist["+iNo+"]/afgrosdrid", model.getValue("/root/init/afgrosdrid"));
  328. }
  329. }
  330. }
  331. /* @group : 육안검사의사 일괄변경
  332. * @ver : 2007.08.01 (CMCDEV-0001)
  333. * @by : 유동철(ACK)
  334. * @-----------------------------------
  335. * @type : function
  336. * @access : public
  337. * @desc : 육안검사병리사 선택 시 처리 함수
  338. */
  339. function fExeGrosPlgyChange() {
  340. for (var iNo=1; iNo <= getNodesetCount("/root/main/acptptno/acptptnolist"); iNo++) {
  341. if (model.getValue("/root/main/acptptno/acptptnolist["+iNo+"]/choi") == "true") {
  342. model.setValue("/root/main/acptptno/acptptnolist["+iNo+"]/afgrosplgyid", model.getValue("/root/init/afgrosplgyid"));
  343. }
  344. }
  345. }
  346. /* @group : 육안검사의사 일괄변경
  347. * @ver : 2007.08.01 (CMCDEV-0001)
  348. * @by : 유동철(ACK)
  349. * @-----------------------------------
  350. * @type : function
  351. * @access : public
  352. * @desc : 판독의사 선택 시 처리 함수
  353. */
  354. function fExeReadDrChange() {
  355. for (var iNo=1; iNo <= getNodesetCount("/root/main/acptptno/acptptnolist"); iNo++) {
  356. if (model.getValue("/root/main/acptptno/acptptnolist["+iNo+"]/choi") == "true") {
  357. if(model.getValue("/root/main/acptptno/acptptnolist["+ iNo +"]/readdd") == ""
  358. || model.getValue("/root/main/acptptno/acptptnolist["+ iNo +"]/readdd") == "-") {
  359. model.setValue("/root/main/acptptno/acptptnolist["+iNo+"]/afreaddrid", model.getValue("/root/init/afreaddrid"));
  360. }
  361. }
  362. }
  363. }
  364. /* @group : 육안검사의사 일괄변경
  365. * @ver : 2008.11.27 (CMCDEV-0001)
  366. * @by : 유동철(ACK)
  367. * @-----------------------------------
  368. * @type : function
  369. * @access : public
  370. * @desc : 등록번호 입력 시 처리 함수
  371. */
  372. function fExePidKeyPress() {
  373. if (event.keyCode == 13) {
  374. model.makeValue("/root/init/pid", ipt_pid.currentText);
  375. ipt_pid.refresh();
  376. //-----------------
  377. fGetGrosUpdtList();
  378. }
  379. }
  380. /* @group : 육안검사의사 일괄변경
  381. * @ver : 2008.11.27 (CMCDEV-0001)
  382. * @by : 유동철(ACK)
  383. * @-----------------------------------
  384. * @type : function
  385. * @access : public
  386. * @desc : 다중 선택 함수
  387. */
  388. function fSelectList() {
  389. var iFirstRow = grd_ptnolist.selectedRow(0);
  390. var iLasrRow = grd_ptnolist.selectedRow(grd_ptnolist.selectedRows-1);
  391. for(var iRowNo = iLasrRow ; iRowNo >= iFirstRow ; iRowNo--) {
  392. model.setValue("/root/main/acptptno/acptptnolist["+ iRowNo +"]/choi", "true");
  393. }
  394. grd_ptnolist.refresh();
  395. }
  396. /* @group : 육안검사의사 일괄변경
  397. * @ver : 2008.11.27 (CMCDEV-0001)
  398. * @by : 유동철(ACK)
  399. * @-----------------------------------
  400. * @type : function
  401. * @access : public
  402. * @desc : 다중 선택 함수
  403. */
  404. function fDeSelectList() {
  405. var iFirstRow = grd_ptnolist.selectedRow(0);
  406. var iLasrRow = grd_ptnolist.selectedRow(grd_ptnolist.selectedRows-1);
  407. for(var iRowNo = iLasrRow ; iRowNo >= iFirstRow ; iRowNo--) {
  408. model.setValue("/root/main/acptptno/acptptnolist["+ iRowNo +"]/choi", "false");
  409. }
  410. grd_ptnolist.refresh();
  411. }
  412. /* @group : 육안검사의사 일괄변경
  413. * @ver : 2011.01.27 (CMCDEV-0001)
  414. * @by : 유동철(ACK)
  415. * @-----------------------------------
  416. * @type : function
  417. * @access : public
  418. * @desc : 병리번호 팝업창 호출 함수
  419. */
  420. function fExePtNoPopupCall() {
  421. var sNode = "/root/main/acptptno/acptptnolist";
  422. //------------------------------------------------------------------------------------
  423. if (grd_ptnolist.isCell(event.target) && grd_ptnolist.row >= grd_ptnolist.fixedRows) {
  424. //------------------------------
  425. model.property("ptno") = "";
  426. model.property("dispptno") = "";
  427. model.property("pid") = model.getValue(sNode+"[" + grd_ptnolist.row + "]/pid");
  428. model.property("instcd") = getUserInfo("dutplceinstcd");
  429. //--------------------------
  430. switch (grd_ptnolist.col) {
  431. case grd_ptnolist.colRef("relaptnoref") :
  432. model.property("path") = sNode + "[" + grd_ptnolist.row + "]/relaptno";
  433. modal("SPLPJ02100"); // 병리번호리스트 팝업창 표시
  434. //--------------------------------
  435. if(model.property("ptno") != "") {
  436. model.setValue(sNode+"[" + grd_ptnolist.row + "]/relaptno", model.property("ptno"));
  437. model.setValue(sNode+"[" + grd_ptnolist.row + "]/disprelaptno", model.property("dispptno"));
  438. model.setValue(sNode+"[" + grd_ptnolist.row + "]/choi", "true");
  439. }
  440. break;
  441. }
  442. }
  443. //--------------
  444. model.refresh();
  445. }
  446. ]]>
  447. </script>
  448. </xhtml:head>
  449. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  450. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  451. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:150px; height:14px; ">육안검사의사 일괄변경</caption>
  452. </group>
  453. <group id="grp_biz" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  454. <caption id="caption12" class="cell_1" style="left:507px; top:75px; width:105px; height:23px; text-align:center; vertical-align:middle; ">판독의사</caption>
  455. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  456. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  457. <caption id="caption2" style="left:372px; top:9px; width:86px; height:17px; font-weight:bold; ">접수일자 :</caption>
  458. <caption id="caption4" style="left:813px; top:9px; width:112px; height:17px; font-weight:bold; ">육안검사의 :</caption>
  459. <caption id="caption5" class="search_no_b" style="left:538px; top:8px; width:12px; height:17px; ">~</caption>
  460. <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
  461. <input id="ipt_acptddfrom" ref="/root/init/acptfromdd" class="input_s_essential" navindex="6" inputtype="date" style="left:441px; top:8px; width:94px; height:19px; "/>
  462. <input id="ipt_acptddto" ref="/root/init/acpttodd" class="input_s_essential" navindex="7" inputtype="date" style="left:553px; top:8px; width:94px; height:19px; "/>
  463. <caption id="caption1" style="left:971px; top:9px; width:73px; height:17px; font-weight:bold; ">병리사 :</caption>
  464. <button id="btn_sea" class="btn1_letter2" navindex="11" style="left:1123px; top:7px; width:56px; height:22px; ">
  465. <caption>조회</caption>
  466. <script type="javascript" ev:event="DOMActivate">
  467. <![CDATA[
  468. fGetGrosUpdtList();
  469. ]]>
  470. </script>
  471. </button>
  472. <select1 id="cmb_grosdrid" ref="/root/init/grosdrid" class="combo_search" navindex="9" appearance="minimal" itemcount="10" style="left:894px; top:8px; width:65px; height:19px; ">
  473. <choices>
  474. <itemset nodeset="/root/init/userinfo/userinfolist[jobkindcd='1']">
  475. <label ref="usernm"/>
  476. <value ref="userid"/>
  477. </itemset>
  478. </choices>
  479. </select1>
  480. <select1 id="cmb_grosplgyid" ref="/root/init/grosplgyid" class="combo_search" navindex="10" appearance="minimal" itemcount="10" style="left:1026px; top:8px; width:65px; height:19px; ">
  481. <choices>
  482. <itemset nodeset="/root/init/userinfo/userinfolist[jobkindcd='9']">
  483. <label ref="usernm"/>
  484. <value ref="userid"/>
  485. </itemset>
  486. </choices>
  487. </select1>
  488. <select1 id="cbo_ptnocd" ref="/root/init/ptnocode" navindex="1" appearance="minimal" editmode="search" style="left:90px; top:8px; width:91px; height:19px; ">
  489. <choices>
  490. <itemset nodeset="/root/init/ptnocd/ptnocdlist">
  491. <label ref="ptnonm"/>
  492. <value ref="ptnocd"/>
  493. </itemset>
  494. </choices>
  495. </select1>
  496. <input id="ipt_fromptno" ref="/root/init/fromptno" class="text_center" navindex="3" maxlength="6" style="left:214px; top:8px; width:50px; height:19px; "/>
  497. <caption id="caption9" style="left:21px; top:9px; width:90px; height:17px; font-weight:bold; ">병리번호 :</caption>
  498. <caption id="caption10" class="search_no_b" style="left:267px; top:8px; width:12px; height:17px; ">~</caption>
  499. <input id="input1" ref="/root/init/toptno" class="text_center" navindex="5" maxlength="6" style="left:312px; top:8px; width:50px; height:19px; "/>
  500. <input id="ipt_toyear" ref="/root/init/toyear" class="text_center" navindex="4" maxlength="2" style="left:282px; top:8px; width:27px; height:19px; "/>
  501. <input id="ipt_fromyear" ref="/root/init/fromyear" class="text_center" navindex="2" maxlength="2" style="left:184px; top:8px; width:27px; height:19px; "/>
  502. <caption id="caption11" style="left:655px; top:9px; width:94px; height:17px; font-weight:bold; ">등록번호 :</caption>
  503. <input id="ipt_pid" ref="/root/init/pid" navindex="8" style="left:723px; top:8px; width:80px; height:19px; ">
  504. <script type="javascript" ev:event="onkeypress">
  505. <![CDATA[
  506. fExePidKeyPress();
  507. ]]>
  508. </script>
  509. </input>
  510. </group>
  511. <line id="line8" class="line_1" style="x1:0px; y1:122px; x2:1194px; y2:122px; "/>
  512. <caption id="caption22" class="tit_2" style="left:5px; top:107px; width:113px; height:14px; ">검체접수목록</caption>
  513. <datagrid id="grd_ptnolist" nodeset="/root/main/acptptno/acptptnolist" class="datagrid2" caption="^기관코드^ptno^병리번호^relaptno^orgrelaptno^관련병리번호^^접수일자^접수시간^접수자^등록번호^환자명^bfgrosdrid^육안검사&#xA;의사^변경&#xA;의사^bfgrosplgyid^육안검사&#xA;병리사^변경&#xA;병리사^육안검사일^판독의사^변경&#xA;판독의사^육안검사시간^caption1^변경사유^caption2^caption3" colsep="^" colwidth="40, 0, 0, 80, 0, 0, 80, 20, 80, 60, 70, 70, 60, 0, 60, 60, 0, 60, 60, 100, 59, 60, 0, 0, 217, 100, 100" dataheight="23" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" style="left:0px; top:127px; width:1194px; height:613px; ">
  514. <col ref="choi" type="checkbox"/>
  515. <col ref="instcd"/>
  516. <col ref="ptno"/>
  517. <col ref="dispptno"/>
  518. <col ref="relaptno"/>
  519. <col ref="orgrelaptno"/>
  520. <col ref="disprelaptno"/>
  521. <col class="icon_search" ref="relaptnoref" type="output"/>
  522. <col ref="acptdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
  523. <col ref="acpttm"/>
  524. <col ref="acptnm"/>
  525. <col ref="pid"/>
  526. <col ref="patnm"/>
  527. <col ref="bfgrosdrid"/>
  528. <col ref="bfgrosdrnm"/>
  529. <col itemcount="15" ref="afgrosdrid" type="combo">
  530. <choices>
  531. <itemset nodeset="/root/init/userinfo/userinfolist[jobkindcd='1']">
  532. <label ref="usernm"/>
  533. <value ref="userid"/>
  534. </itemset>
  535. </choices>
  536. </col>
  537. <col ref="bfgrosplgyid"/>
  538. <col ref="bfgrosplgynm"/>
  539. <col itemcount="15" ref="afgrosplgyid" type="combo">
  540. <choices>
  541. <itemset nodeset="/root/init/userinfo/userinfolist[jobkindcd='9']">
  542. <label ref="usernm"/>
  543. <value ref="userid"/>
  544. </itemset>
  545. </choices>
  546. </col>
  547. <col ref="grostestdd" type="inputdate" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
  548. <col ref="bfreaddrnm"/>
  549. <col ref="afreaddrid" type="combo">
  550. <choices>
  551. <itemset nodeset="/root/init/userinfo/userinfolist[jobkindcd='1']">
  552. <label ref="usernm"/>
  553. <value ref="userid"/>
  554. </itemset>
  555. </choices>
  556. </col>
  557. <col ref="grostesttm" format="hh:nn:ss" mask="exclude" showmask="true"/>
  558. <col ref="updtflagcd"/>
  559. <col ref="updtresncd" type="combo">
  560. <choices>
  561. <itemset nodeset="/root/init/resncd/resncdlist">
  562. <label ref="resncnts"/>
  563. <value ref="resncd"/>
  564. </itemset>
  565. </choices>
  566. </col>
  567. <col ref="readdd" visibility="hidden"/>
  568. <col ref="bfreaddrid" visibility="hidden"/>
  569. <script type="javascript" ev:event="onaftersort">
  570. <![CDATA[
  571. grd_ptnolist.gridToInstance();
  572. ]]>
  573. </script>
  574. <script type="javascript" ev:event="onmousedown">
  575. <![CDATA[
  576. if((grd_ptnolist.mouseRow >= grd_ptnolist.fixedRows) && (grd_ptnolist.isCell(event.target)) && (grd_ptnolist.mouseCol == grd_ptnolist.colRef("choi"))) {
  577. model.removeNodeset("/root/init/popupmenu");
  578. model.makeValue("/root/init/popupmenu/item[1]/name", "선택");
  579. model.makeValue("/root/init/popupmenu/item[1]/func", "fSelectList");
  580. model.makeValue("/root/init/popupmenu/item[2]/name", "해제");
  581. model.makeValue("/root/init/popupmenu/item[2]/func", "fDeSelectList");
  582. setPopupMenu("grd_ptnolist", false, "/root/init/popupmenu/item", "name", "func");
  583. }
  584. ]]>
  585. </script>
  586. <script type="javascript" ev:event="DOMFocusOut">
  587. <![CDATA[
  588. window.setPopupMenu(false);
  589. ]]>
  590. </script>
  591. <script type="javascript" ev:event="onclick">
  592. <![CDATA[
  593. fExePtNoPopupCall();
  594. ]]>
  595. </script>
  596. </datagrid>
  597. <caption id="caption24" class="cell_1" style="left:0px; top:75px; width:90px; height:23px; text-align:center; vertical-align:middle; ">육안검사의사</caption>
  598. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  599. <caption id="caption3" class="tit_2" style="left:5px; top:55px; width:139px; height:13px; ">육안검사정보 재설정</caption>
  600. <caption id="caption7" class="cell_1" style="left:246px; top:75px; width:105px; height:23px; text-align:center; vertical-align:middle; ">육안검사 병리사</caption>
  601. <caption id="caption8" class="cell_1" style="left:768px; top:75px; width:105px; height:23px; text-align:center; vertical-align:middle; ">변경사유</caption>
  602. <line id="line9" class="line_3" style="x1:0px; y1:97px; x2:1194px; y2:97px; "/>
  603. <select1 id="cmb_afgrosdrid" ref="/root/init/afgrosdrid" class="combo_default" navindex="12" appearance="minimal" itemcount="10" style="left:93px; top:76px; width:150px; height:19px; ">
  604. <choices>
  605. <itemset nodeset="/root/init/userinfo/userinfolist[jobkindcd='1']">
  606. <label ref="usernm"/>
  607. <value ref="userid"/>
  608. </itemset>
  609. </choices>
  610. <script type="javascript" ev:event="xforms-value-changed">
  611. <![CDATA[
  612. fExeGrosDrChange();
  613. ]]>
  614. </script>
  615. </select1>
  616. <select1 id="cmb_afgrosplgyid" ref="/root/init/afgrosplgyid" class="combo_default" navindex="13" appearance="minimal" itemcount="10" style="left:354px; top:76px; width:150px; height:19px; ">
  617. <choices>
  618. <itemset nodeset="/root/init/userinfo/userinfolist[jobkindcd='9']">
  619. <label ref="usernm"/>
  620. <value ref="userid"/>
  621. </itemset>
  622. </choices>
  623. <script type="javascript" ev:event="xforms-value-changed">
  624. <![CDATA[
  625. fExeGrosPlgyChange();
  626. ]]>
  627. </script>
  628. </select1>
  629. <select1 id="cmb_resncd" ref="/root/init/updtresncd" class="combo_default" navindex="14" appearance="minimal" itemcount="10" style="left:875px; top:76px; width:319px; height:19px; ">
  630. <choices>
  631. <itemset nodeset="/root/init/resncd/resncdlist">
  632. <label ref="resncnts"/>
  633. <value ref="resncd"/>
  634. </itemset>
  635. </choices>
  636. <script type="javascript" ev:event="xforms-value-changed">
  637. <![CDATA[
  638. fExeResnChange();
  639. ]]>
  640. </script>
  641. </select1>
  642. <select1 id="combo1" ref="/root/init/afreaddrid" class="combo_default" navindex="13" appearance="minimal" itemcount="10" style="left:615px; top:76px; width:150px; height:19px; ">
  643. <choices>
  644. <itemset nodeset="/root/init/userinfo/userinfolist[jobkindcd='1']">
  645. <label ref="usernm"/>
  646. <value ref="userid"/>
  647. </itemset>
  648. </choices>
  649. <script type="javascript" ev:event="xforms-value-changed">
  650. <![CDATA[
  651. fExeReadDrChange();
  652. ]]>
  653. </script>
  654. </select1>
  655. </group>
  656. <group id="grp_btn" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
  657. <button id="button4" class="btn4_letter4" style="left:1113px; top:3px; width:80px; height:22px; ">
  658. <caption>육안변경</caption>
  659. <script type="javascript" ev:event="DOMActivate">
  660. <![CDATA[
  661. fExeGrosInfoUpdt("G");
  662. ]]>
  663. </script>
  664. </button>
  665. <line id="line10" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  666. <button id="button1" class="btn4_letter6" style="left:1007px; top:3px; width:104px; height:22px; ">
  667. <caption>관련번호변경</caption>
  668. <script type="javascript" ev:event="DOMActivate">
  669. <![CDATA[
  670. fExeGrosInfoUpdt("P");
  671. ]]>
  672. </script>
  673. </button>
  674. </group>
  675. </xhtml:body>
  676. </xhtml:html>