SMLPR02200_과거결과등록.xrw 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLPR02200_과거결과등록.xrw
  4. * 설 명 : 과거결과등록 화면
  5. * 설 계 자 : (주)에이씨케이 - 유동철
  6. * 작 성 자 : (주)에이씨케이 - 유동철
  7. * 작 성 일 : 2008.07.28
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>과거결과등록</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <ptnoinfo>
  20. <ptnolist>
  21. <choi/>
  22. <instcd/>
  23. <pid/>
  24. <patnm/>
  25. <ptno/>
  26. <dispptno/>
  27. <rgstdd/>
  28. <rgstno/>
  29. <rgsthistno/>
  30. <pcnts/>
  31. </ptnolist>
  32. </ptnoinfo>
  33. <testrslt>
  34. <rsltinfo>
  35. <instcd/>
  36. <pid/>
  37. <patnm/>
  38. <ptno/>
  39. <dispptno/>
  40. <rgstdd/>
  41. <rgstno/>
  42. <rgsthistno/>
  43. <rgsttm/>
  44. <rrgstno1/>
  45. <rrgstno2/>
  46. <psptno/>
  47. <sex/>
  48. <age/>
  49. <prcpgenrflag/>
  50. <orddeptcd/>
  51. <orddeptnm/>
  52. <orddrid/>
  53. <orddrnm/>
  54. <atdoctid/>
  55. <atdoctnm/>
  56. <prcpdd/>
  57. <prcptm/>
  58. <orddd/>
  59. <acptdd/>
  60. <acpttm/>
  61. <acptrid/>
  62. <acptrnm/>
  63. <diagdd/>
  64. <diagtm/>
  65. <diagdrid/>
  66. <diagdrnm/>
  67. <grostestdd/>
  68. <grostesttm/>
  69. <grostestdrid/>
  70. <grostestdrnm/>
  71. <grosphotflagcd/>
  72. <bloccnt/>
  73. <rsltrgstdd/>
  74. <rsltrgsttm/>
  75. <rsltrgstrid/>
  76. <rsltrgstrnm/>
  77. <wardnm/>
  78. <roomnm/>
  79. <diagnm/>
  80. <tcnts/>
  81. <pcnts/>
  82. <mcnts/>
  83. <rsltcnts/>
  84. <cosignnm/>
  85. <cosignid/>
  86. </rsltinfo>
  87. </testrslt>
  88. </main>
  89. <send/>
  90. <init>
  91. <acptfromdd/>
  92. <acpttodd/>
  93. <refmthdcd/>
  94. <refval/>
  95. <ptnocode/>
  96. <fromyear/>
  97. <fromptno/>
  98. <toyear/>
  99. <toptno/>
  100. <sysdt>
  101. <sysdtinfo>
  102. <sysdd/>
  103. <systm/>
  104. </sysdtinfo>
  105. </sysdt>
  106. <ptnocd>
  107. <ptnocdlist>
  108. <instcd/>
  109. <ptnocd/>
  110. <ptnonm/>
  111. </ptnocdlist>
  112. </ptnocd>
  113. <imgsrc/>
  114. <userinfo>
  115. <userinfolist>
  116. <userid/>
  117. <usernm/>
  118. <jobkindcd/>
  119. </userinfolist>
  120. </userinfo>
  121. </init>
  122. <hidden>
  123. <etc>
  124. <pid/>
  125. <workflag/>
  126. <prcpdd/>
  127. <prcpno/>
  128. <ioflag/>
  129. </etc>
  130. <item/>
  131. </hidden>
  132. <message/>
  133. </root>
  134. </instance>
  135. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  136. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  137. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  138. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  139. <script type="javascript" src="../../../emr/carecomweb/js/ENRSignEngine.js"/>
  140. <script type="javascript" ev:event="xforms-ready">
  141. <![CDATA[
  142. fExeInitialize();
  143. ]]>
  144. </script>
  145. <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
  146. <submission id="TRLPZ00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/userinfo/userinfolist"/>
  147. <submission id="TRLPZ00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/ptnocd/ptnocdlist"/>
  148. <submission id="TRLPR02201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ptnoinfo/ptnolist"/>
  149. <submission id="TRLPR02202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testrslt/rsltinfo"/>
  150. <submission id="TXLPR02201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/message"/>
  151. <submission id="TXLPR02202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/etc" resultref="/root/hidden/item"/>
  152. </model>
  153. <script type="javascript">
  154. <![CDATA[
  155. /* @group : 과거결과등록 화면
  156. * @ver : 2008.07.28 (CMCDEV-0001)
  157. * @by : 유동철(ACK)
  158. * @-----------------------------------
  159. * @type : function
  160. * @access : public
  161. * @desc : 화면초기화 함수
  162. */
  163. function fExeInitialize() {
  164. var sCurDate = "";
  165. //--------------------------------------------------
  166. model.removeNodeset("/root/main/ptnoinfo/ptnolist");
  167. model.removeNodeset("/root/main/imginfo/imglist");
  168. //----------------
  169. // 시스템일자 조회
  170. model.removeNodeset("/root/send");
  171. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  172. submit("TRLPZ00102", false);
  173. submit("TRLPZ00109", false);
  174. //-----------------------
  175. // 병리과 사용자목록 조회
  176. submit("TRLPZ00105");
  177. //------------------------------------------------------------
  178. sCurDate = model.getValue("/root/init/sysdt/sysdtinfo/sysdd");
  179. //------------
  180. // 초기값 설정
  181. model.makeValue("/root/init/acptfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 접수일자(From)
  182. model.makeValue("/root/init/acpttodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 접수일자(To)
  183. model.makeValue("/root/init/refmthdcd", "1"); // 검색방법(등록번호)
  184. model.makeValue("/root/init/refval", ""); // 검색값
  185. model.makeValue("/root/init/ptnocode", "");
  186. model.makeValue("/root/init/fromyear", sCurDate.substr(2,2));
  187. model.makeValue("/root/init/toyear", sCurDate.substr(2,2));
  188. model.makeValue("/root/init/fromptno", "");
  189. model.makeValue("/root/init/toptno", "");
  190. //----------------
  191. // 상세정보 초기화
  192. fExeInit("0", 0);
  193. //-------------
  194. model.refresh();
  195. }
  196. /* @group : 과거결과등록 화면
  197. * @ver : 2008.07.28 (CMCDEV-0001)
  198. * @by : 유동철(ACK)
  199. * @-----------------------------------
  200. * @type : function
  201. * @access : public
  202. * @desc : 환자목록 조회
  203. */
  204. function fGetPtNoList() {
  205. var sPtNoFrom = model.getValue("/root/init/ptnofrom");
  206. var sPtNoTo = model.getValue("/root/init/ptnoto");
  207. var sTemp = "";
  208. var sFromDD = model.getValue("/root/init/acptfromdd");
  209. var sToDD = model.getValue("/root/init/acpttodd");
  210. //------------------------
  211. // 목록 및 결과내용 초기화
  212. model.removeNodeset("/root/send");
  213. model.removeNodeset("/root/main/ptnoinfo/ptnolist");
  214. fExeInit("0", 0);
  215. model.refresh();
  216. //------------------------------------------------
  217. if (model.getValue("/root/init/ptnocode") != "") {
  218. //------------------------------------------------
  219. if (model.getValue("/root/init/fromyear") == "") {
  220. model.makeValue("/root/init/fromyear", sFromDD.substr(2,2));
  221. } else {
  222. sTemp = model.getValue("/root/init/fromyear");
  223. model.makeValue("/root/init/fromyear", sTemp.getLeftPad(2, "0"));
  224. }
  225. //----------------------------------------------
  226. if (model.getValue("/root/init/toyear") == "") {
  227. model.makeValue("/root/init/toyear", sToDD.substr(2,2));
  228. } else {
  229. sTemp = model.getValue("/root/init/toyear");
  230. model.makeValue("/root/init/toyear", sTemp.getLeftPad(2, "0"));
  231. }
  232. //------------------------------------------------
  233. if (model.getValue("/root/init/fromptno") == "") {
  234. model.makeValue("/root/init/fromptno", "000000");
  235. } else {
  236. sTemp = model.getValue("/root/init/fromptno");
  237. model.makeValue("/root/init/fromptno", sTemp.getLeftPad(6, "0"));
  238. }
  239. //----------------------------------------------
  240. if (model.getValue("/root/init/toptno") == "") {
  241. model.makeValue("/root/init/toptno", "999999");
  242. } else {
  243. sTemp = model.getValue("/root/init/toptno");
  244. model.makeValue("/root/init/toptno", sTemp.getLeftPad(6, "0"));
  245. }
  246. }
  247. //--------------------------------------------
  248. sTemp = model.getValue("/root/init/ptnocode");
  249. //-------------------------------------------------------------------------
  250. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd")); // 기관코드
  251. model.makeValue("/root/send/ptnofrom", sPtNoFrom.toUpperCase()); // 시작병리번호
  252. model.makeValue("/root/send/ptnoto", sPtNoTo.toUpperCase()); // 종료병리번호
  253. model.makeValue("/root/send/fromdd", model.getValue("/root/init/acptfromdd")); // 접수시작일자
  254. model.makeValue("/root/send/todd", model.getValue("/root/init/acpttodd")); // 접수종료일자
  255. model.makeValue("/root/send/ptnocode", sTemp.replace("-", ""));
  256. model.makeValue("/root/send/fromyear", model.getValue("/root/init/fromyear"));
  257. model.makeValue("/root/send/fromptno", model.getValue("/root/init/fromptno"));
  258. model.makeValue("/root/send/toyear", model.getValue("/root/init/toyear"));
  259. model.makeValue("/root/send/toptno", model.getValue("/root/init/toptno"));
  260. model.makeValue("/root/send/ptnocase", model.getValue("/root/init/ptnocase"));
  261. model.makeValue("/root/send/refval", model.getValue("/root/init/refval"));
  262. submit("TRLPR02201");
  263. //-------------
  264. model.refresh();
  265. }
  266. /* @group : 과거결과등록 화면
  267. * @ver : 2008.07.28 (CMCDEV-0001)
  268. * @by : 유동철(ACK)
  269. * @-----------------------------------
  270. * @type : function
  271. * @access : public
  272. * @desc : 검사결과내용 저장
  273. */
  274. function fExeBfRsltSave() {
  275. //-----------------------------------------------------------------------
  276. // 등록번호, 환자명, 주민번호1, 주민번호2, 성별, 나이, 병리번호, 환자구분
  277. isRequiredControls("ipt_pid", "ipt_patnm", "ipt_rrgstno1", "ipt_rrgstno2", "cmb_sex", "ipt_age", "ipt_ptno", "cmb_prcpgenrflag");
  278. //---------------------------------------------------------------------------------------------------------------------------
  279. model.makeValue("/root/main/testrslt/rsltinfo/ptno", lpzfExePtNoChange(model.getValue("/root/main/testrslt/rsltinfo/ptno")));
  280. //--------------------------------
  281. model.removeNodeset("/root/send");
  282. model.makeNode("/root/send/rsltcnts");
  283. model.makeValue("/root/main/testrslt/rsltinfo/instcd", getUserInfo("dutplceinstcd"));
  284. model.copyNode("/root/send/rsltcnts", "/root/main/testrslt/rsltinfo");
  285. //--------------------------------------------------------------
  286. // 진단일자가 존재할 경우 최종진단으로 인식하여 인증서만 띄운다.
  287. // 실제 인증은 안함.. 일종의 경고성으로 표시
  288. if ( model.getValue("/root/main/testrslt/rsltinfo/diagdd") != "") {
  289. fExeMakeCertPrcs(); // 인증서 표시
  290. }
  291. //-----------
  292. setAlertOn();
  293. if (submit("TXLPR02201")) {
  294. fExeInit("1", grd_ptnolist.row); // 상세정보 초기화
  295. }
  296. }
  297. function fExeMakeCertPrcs() {
  298. //-----------------
  299. Sign.signprocess();
  300. }
  301. /* **********************************
  302. * ENRSignEngine.js에서 함수를 호출함
  303. * **********************************
  304. */
  305. function fMake_SignData(){
  306. Sign.addnode("/root/main/testrslt/rsltinfo");
  307. }
  308. /* @group : 과거결과등록 화면
  309. * @ver : 2008.07.29 (CMCDEV-0001)
  310. * @by : 유동철(ACK)
  311. * @-----------------------------------
  312. * @type : function
  313. * @access : public
  314. * @desc : 그리드 선택 처리
  315. */
  316. function fExePtNoListChoi(pRow, pCol) {
  317. //------------------------------------------------------------------------------------
  318. if (pRow > 0 && grd_ptnolist.isCell(event.target) && pRow >= grd_ptnolist.fixedRows) {
  319. fExeGridSelect(pRow, pCol);
  320. }
  321. }
  322. /* @group : 과거결과등록 화면
  323. * @ver : 2008.07.29 (CMCDEV-0001)
  324. * @by : 유동철(ACK)
  325. * @-----------------------------------
  326. * @type : function
  327. * @access : public
  328. * @desc : 검사결과내용 상세정보 검색
  329. */
  330. function fExeGridSelect(pRow, pCol) {
  331. var sNode = "/root/main/ptnoinfo/ptnolist";
  332. //--------------------------------
  333. model.removeNodeset("/root/send");
  334. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  335. model.makeValue("/root/send/rgstdd", model.getValue(sNode+"["+pRow+"]/rgstdd"));
  336. model.makeValue("/root/send/rgstno", model.getValue(sNode+"["+pRow+"]/rgstno"));
  337. model.makeValue("/root/send/ptno", model.getValue(sNode+"["+pRow+"]/ptno"));
  338. submit("TRLPR02202");
  339. }
  340. /* @group : 과거결과등록 화면
  341. * @ver : 2008.07.29 (CMCDEV-0001)
  342. * @by : 유동철(ACK)
  343. * @-----------------------------------
  344. * @type : function
  345. * @access : public
  346. * @desc : 상세정보 초기화 검색
  347. */
  348. function fExeInit(pFlagCd, pRow) {
  349. var sSrcNode = "/root/main/testrslt/rsltinfo";
  350. var sDescNode = "/root/main/ptnoinfo/ptnolist";
  351. //----------------------------
  352. // 저장 후 자동 초기화 시 처리
  353. if (pFlagCd == "1") {
  354. if (getNodesetCount(sDescNode) > 0) {
  355. model.setValue(sDescNode+"["+pRow+"]/pid", model.getValue(sSrcNode+"/pid"));
  356. model.setValue(sDescNode+"["+pRow+"]/patnm", model.getValue(sSrcNode+"/patnm"));
  357. model.setValue(sDescNode+"["+pRow+"]/pcnts", model.getValue(sSrcNode+"/pcnts"));
  358. grd_ptnolist.refresh();
  359. }
  360. }
  361. //--------------------------------
  362. model.resetInstanceNode(sSrcNode);
  363. //------------------------------------------------------------------
  364. model.makeValue("/root/main/testrslt/rsltinfo/prcpgenrflag", "I");
  365. model.makeValue("/root/main/testrslt/rsltinfo/grosphotflagcd", "0");
  366. model.makeValue("/root/main/testrslt/rsltinfo/bloccnt", "0");
  367. model.makeValue("/root/main/testrslt/rsltinfo/age", "0");
  368. model.makeValue("/root/main/testrslt/rsltinfo/prcpdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
  369. model.makeValue("/root/main/testrslt/rsltinfo/orddd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
  370. model.makeValue("/root/main/testrslt/rsltinfo/acptdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
  371. model.makeValue("/root/main/testrslt/rsltinfo/diagdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
  372. //--------------
  373. model.refresh();
  374. }
  375. /* @group : 과거결과등록 화면
  376. * @ver : 2008.07.29 (CMCDEV-0001)
  377. * @by : 유동철(ACK)
  378. * @-----------------------------------
  379. * @type : function
  380. * @access : public
  381. * @desc : 등록번호 입력할 경우 처리
  382. */
  383. function fExeInputKey() {
  384. if (event.keyCode == "13") {
  385. model.setValue("/root/init/refval", ipt_seaval.currentText);
  386. ipt_seaval.refresh();
  387. //-------------
  388. fGetPtNoList(); // 병리번호 목록 검색
  389. }
  390. }
  391. ]]>
  392. </script>
  393. </xhtml:head>
  394. <xhtml:body visibility="visible">
  395. <group id="grp_btn" style="left:0px; top:13; width:1195px; height:27px; ">
  396. <line id="line10" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  397. <button id="btn_save" class="btn4_letter2" navindex="36" style="left:1139; top:3; width:56px; height:22px; ">
  398. <caption>저장</caption>
  399. <script type="javascript" ev:event="DOMActivate">
  400. <![CDATA[
  401. fExeBfRsltSave();
  402. ]]>
  403. </script>
  404. </button>
  405. <button id="btn_init" class="btn4_letter3" navindex="36" style="left:1069px; top:3px; width:68px; height:22px; ">
  406. <caption>초기화</caption>
  407. <script type="javascript" ev:event="DOMActivate">
  408. <![CDATA[
  409. fExeInit("0", 0);
  410. ]]>
  411. </script>
  412. </button>
  413. <button id="button1" style="left:5px; top:5px; width:105px; height:20px; ">
  414. <caption/>
  415. <script type="javascript" ev:event="onclick">
  416. <![CDATA[
  417. group1.visible = true;
  418. ]]>
  419. </script>
  420. </button>
  421. </group>
  422. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  423. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:220px; height:14px; ">과거결과등록</caption>
  424. </group>
  425. <group id="grp_biz" style="left:0; top:40; width:1195; height:744; ">
  426. <caption id="caption4" class="tit_2" style="left:5px; top:55px; width:146px; height:14px; ">접수목록</caption>
  427. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:410px; y2:70px; "/>
  428. <group id="group2" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  429. <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; "/>
  430. <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  431. <input id="ipt_seaval" ref="/root/init/refval" class="input_search" navindex="6" maxlength="10" style="left:617px; top:8px; width:98px; height:19px; ">
  432. <script type="javascript" ev:event="onkeypress">
  433. <![CDATA[
  434. fExeInputKey();
  435. ]]>
  436. </script>
  437. </input>
  438. <caption id="caption3" class="search_name" style="left:526px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
  439. <caption id="caption5" class="search_no_b" style="left:979px; top:8px; width:12px; height:17px; ">~</caption>
  440. <button id="btn_sea" class="btn1_letter2" navindex="9" style="left:1123px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  441. <caption>조회</caption>
  442. <script type="javascript" ev:event="DOMActivate">
  443. <![CDATA[
  444. fGetPtNoList();
  445. ]]>
  446. </script>
  447. </button>
  448. <input id="ipt_cnclfromdd" ref="/root/init/acptfromdd" class="input_s_essential" navindex="7" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:876px; top:8px; width:100px; height:19px; ">
  449. <script type="javascript" ev:event="xforms-value-changed">
  450. <![CDATA[
  451. lpzfExeDateChange(ipt_fromyear, "/root/init/acptfromdd", "/root/init/fromyear");
  452. ]]>
  453. </script>
  454. </input>
  455. <input id="ipt_cncltodd" ref="/root/init/acpttodd" class="input_s_essential" navindex="8" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:995px; top:8px; width:100px; height:19px; ">
  456. <script type="javascript" ev:event="xforms-value-changed">
  457. <![CDATA[
  458. lpzfExeDateChange(ipt_fromyear, "/root/init/acpttodd", "/root/init/toyear");
  459. ]]>
  460. </script>
  461. </input>
  462. <select1 id="cbo_ptnocd" ref="/root/init/ptnocode" navindex="1" appearance="minimal" editmode="search" style="left:109px; top:8px; width:156px; height:19px; ">
  463. <choices>
  464. <itemset nodeset="/root/init/ptnocd/ptnocdlist">
  465. <label ref="ptnonm"/>
  466. <value ref="ptnocd"/>
  467. </itemset>
  468. </choices>
  469. </select1>
  470. <input id="ipt_fromptno" ref="/root/init/fromptno" class="text_center" navindex="3" maxlength="6" style="left:298px; top:8px; width:50px; height:19px; "/>
  471. <caption id="caption1" class="search_name" style="left:15px; top:9px; width:90px; height:17px; ">병리번호 :</caption>
  472. <caption id="caption7" class="search_no_b" style="left:351px; top:8px; width:12px; height:17px; ">~</caption>
  473. <input id="input1" ref="/root/init/toptno" class="text_center" navindex="5" maxlength="6" style="left:396px; top:8px; width:50px; height:19px; "/>
  474. <input id="input2" ref="/root/init/toyear" class="text_center" navindex="4" maxlength="2" style="left:366px; top:8px; width:27px; height:19px; "/>
  475. <input id="ipt_fromyear" ref="/root/init/fromyear" class="text_center" navindex="2" maxlength="2" style="left:268px; top:8px; width:27px; height:19px; "/>
  476. <caption id="cap_refdd" class="search_name" style="left:787px; top:9px; width:86px; height:17px; ">진단일자 :</caption>
  477. </group>
  478. <datagrid id="grd_ptnolist" nodeset="/root/main/ptnoinfo/ptnolist" class="datagrid2" caption="선&#xA;택^기관코드^병리번호^병리번호^등록번호^환자명^검사명^rsltrgstdd^rsltrgstno" colsep="^" colwidth="26, 0, 0, 80, 70, 70, 124, 0, 0" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" navindex="10" style="left:0px; top:75px; width:410px; height:668px; ">
  479. <col ref="choi" type="checkbox"/>
  480. <col ref="instcd"/>
  481. <col ref="ptno"/>
  482. <col class="text_center" ref="dispptno"/>
  483. <col class="text_center" ref="pid"/>
  484. <col class="text_center" ref="patnm"/>
  485. <col class="text_center" ref="pcnts"/>
  486. <col class="text_center" ref="rsltrgstdd"/>
  487. <col class="text_center" ref="rsltrgstno"/>
  488. <script type="javascript" ev:event="onaftersort">
  489. <![CDATA[
  490. grd_ptnolist.gridToInstance();
  491. ]]>
  492. </script>
  493. <script type="javascript" ev:event="onclick">
  494. <![CDATA[
  495. fExePtNoListChoi(grd_ptnolist.row, grd_ptnolist.col);
  496. ]]>
  497. </script>
  498. </datagrid>
  499. <caption id="caption2" class="tit_2" style="left:418px; top:55px; width:146px; height:14px; ">환자정보</caption>
  500. <line id="line2" class="line_1" style="x1:413px; y1:70px; x2:1193px; y2:70px; "/>
  501. <caption id="caption8" class="tit_2" style="left:418px; top:303px; width:146px; height:13px; ">검사결과내용</caption>
  502. <line id="line3" class="line_1" style="x1:413px; y1:318px; x2:1193px; y2:318px; "/>
  503. <caption id="caption9" class="tit_2" style="left:420px; top:203px; width:146px; height:13px; ">T/P/M</caption>
  504. <line id="line4" class="line_1" style="x1:413px; y1:218px; x2:1193px; y2:218px; "/>
  505. <caption id="cap_readdrid1" class="cell_1" style="left:413px; top:75px; width:70px; height:23px; vertical-align:middle; ">등록번호</caption>
  506. <input id="ipt_pid" ref="/root/main/testrslt/rsltinfo/pid" navindex="11" maxlength="10" style="left:486px; top:76px; width:90px; height:19px; "/>
  507. <caption id="caption10" class="cell_1" style="left:579px; top:75px; width:50; height:23px; vertical-align:middle; ">환자명</caption>
  508. <input id="ipt_patnm" ref="/root/main/testrslt/rsltinfo/patnm" navindex="12" imemode="hangul" maxlength="100" style="left:632px; top:75px; width:90px; height:19px; "/>
  509. <caption id="caption11" class="cell_1" style="left:725px; top:75px; width:60px; height:23px; vertical-align:middle; ">주민번호</caption>
  510. <input id="ipt_rrgstno1" ref="/root/main/testrslt/rsltinfo/rrgstno1" navindex="13" maxlength="6" style="left:788px; top:75px; width:47px; height:19px; "/>
  511. <input id="ipt_rrgstno2" ref="/root/main/testrslt/rsltinfo/rrgstno2" navindex="14" maxlength="7" style="left:838px; top:75px; width:50px; height:19px; "/>
  512. <caption id="caption12" class="cell_1" style="left:891px; top:75px; width:70px; height:23px; vertical-align:middle; ">성별/나이</caption>
  513. <input id="ipt_age" ref="/root/main/testrslt/rsltinfo/age" navindex="16" maxlength="3" style="left:1023px; top:75px; width:30px; height:19px; "/>
  514. <line id="line6" class="line_2" style="x1:413px; y1:97px; x2:1193px; y2:97px; "/>
  515. <caption id="caption13" class="cell_1" style="left:413px; top:99px; width:70px; height:23px; vertical-align:middle; ">진 료 과</caption>
  516. <caption id="caption14" class="cell_1" style="left:579px; top:99px; width:50px; height:23px; vertical-align:middle; ">진료의</caption>
  517. <caption id="caption15" class="cell_1" style="left:891px; top:99px; width:70px; height:23px; vertical-align:middle; ">진 단 의</caption>
  518. <line id="line7" class="line_2" style="x1:413px; y1:121px; x2:1193px; y2:121px; "/>
  519. <caption id="caption16" class="cell_1" style="left:413px; top:123px; width:70px; height:23px; vertical-align:middle; ">처 방 일</caption>
  520. <input id="ipt_prcpdd" ref="/root/main/testrslt/rsltinfo/prcpdd" navindex="23" inputtype="date" maxlength="8" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:486px; top:124px; width:90px; height:19px; "/>
  521. <caption id="caption17" class="cell_1" style="left:579px; top:123px; width:50px; height:23px; vertical-align:middle; ">진료일</caption>
  522. <caption id="caption18" class="cell_1" style="left:725px; top:99px; width:60px; height:23px; vertical-align:middle; ">주 치 의</caption>
  523. <caption id="caption19" class="cell_1" style="left:725px; top:123px; width:60px; height:23px; vertical-align:middle; ">접 수 일</caption>
  524. <caption id="caption20" class="cell_1" style="left:891px; top:123px; width:70px; height:23px; vertical-align:middle; ">진 단 일</caption>
  525. <caption id="caption21" class="cell_2" style="left:413px; top:223px; width:70px; height:23px; vertical-align:middle; ">T</caption>
  526. <caption id="caption22" class="cell_2" style="left:413px; top:247px; width:70px; height:23px; vertical-align:middle; ">P</caption>
  527. <caption id="caption23" class="cell_2" style="left:413px; top:271px; width:70px; height:23px; vertical-align:middle; ">M</caption>
  528. <line id="line8" class="line_3" style="x1:413px; y1:293px; x2:1193px; y2:293px; "/>
  529. <caption id="caption24" class="cell_1" style="left:1057px; top:75px; width:60px; height:23px; vertical-align:middle; ">병리번호</caption>
  530. <input id="ipt_ptno" ref="/root/main/testrslt/rsltinfo/ptno" navindex="17" imemode="alpha" maxlength="12" style="left:1120px; top:75px; width:73px; height:19px; ">
  531. <script type="javascript" ev:event="DOMFocusOut">
  532. <![CDATA[
  533. model.makeValue("/root/main/testrslt/rsltinfo/ptno", lpzfExePtNoChange(model.getValue("/root/main/testrslt/rsltinfo/ptno")));
  534. ipt_ptno.refresh();
  535. ]]>
  536. </script>
  537. </input>
  538. <input id="ipt_pcnts" ref="/root/main/testrslt/rsltinfo/pcnts" navindex="33" maxlength="1000" style="left:486px; top:248px; width:707px; height:19px; "/>
  539. <line id="line9" class="line_2" style="x1:413px; y1:245px; x2:1193px; y2:245px; "/>
  540. <line id="line11" class="line_2" style="x1:413px; y1:269px; x2:1193px; y2:269px; "/>
  541. <input id="ipt_tcnts" ref="/root/main/testrslt/rsltinfo/tcnts" navindex="32" maxlength="1000" style="left:486px; top:224px; width:707px; height:19px; "/>
  542. <input id="ipt_mcnts" ref="/root/main/testrslt/rsltinfo/mcnts" navindex="34" maxlength="1000" style="left:486px; top:272px; width:707px; height:19px; "/>
  543. <caption id="caption25" class="cell_1" style="left:413px; top:171px; width:70px; height:23px; vertical-align:middle; ">상 병 명</caption>
  544. <line id="line5" class="line_3" style="x1:413px; y1:193px; x2:1193px; y2:193px; "/>
  545. <line id="line12" class="line_2" style="x1:413px; y1:145px; x2:1193px; y2:145px; "/>
  546. <caption id="caption26" class="cell_1" style="left:1057px; top:99px; width:60px; height:23px; vertical-align:middle; ">육안사진</caption>
  547. <caption id="caption27" class="cell_1" style="left:1057px; top:123px; width:60px; height:23px; vertical-align:middle; ">블럭갯수</caption>
  548. <input id="ipt_bloccnt" ref="/root/main/testrslt/rsltinfo/bloccnt" navindex="27" maxlength="4" format="#,###" style="left:1120px; top:124px; width:73px; height:19px; "/>
  549. <caption id="caption28" class="cell_1" style="left:413px; top:147px; width:70px; height:23px; vertical-align:middle; ">환자구분</caption>
  550. <caption id="caption29" class="cell_1" style="left:579px; top:147px; width:50px; height:23px; vertical-align:middle; ">병 동</caption>
  551. <caption id="caption30" class="cell_1" style="left:725px; top:147px; width:60px; height:23px; vertical-align:middle; ">병 실</caption>
  552. <line id="line14" class="line_2" style="x1:413px; y1:169px; x2:1193px; y2:169px; "/>
  553. <select1 id="cmb_sex" ref="/root/main/testrslt/rsltinfo/sex" navindex="15" appearance="minimal" style="left:964px; top:75px; width:56px; height:19px; ">
  554. <choices>
  555. <item>
  556. <label>M</label>
  557. <value>M</value>
  558. </item>
  559. <item>
  560. <label>F</label>
  561. <value>F</value>
  562. </item>
  563. </choices>
  564. </select1>
  565. <input id="ipt_orddeptnm" ref="/root/main/testrslt/rsltinfo/orddeptnm" navindex="18" maxlength="100" style="left:486px; top:100px; width:90px; height:19px; "/>
  566. <input id="ipt_orddrnm" ref="/root/main/testrslt/rsltinfo/orddrnm" navindex="19" imemode="hangul" maxlength="100" style="left:632px; top:100px; width:90px; height:19px; "/>
  567. <input id="ipt_atdoctnm" ref="/root/main/testrslt/rsltinfo/atdoctnm" navindex="20" imemode="hangul" maxlength="100" style="left:788px; top:100px; width:100px; height:19px; "/>
  568. <input id="ipt_diagdrnm" ref="/root/main/testrslt/rsltinfo/diagdrnm" navindex="21" imemode="hangul" maxlength="100" style="left:964px; top:100px; width:90px; height:19px; "/>
  569. <input id="ipt_orddd" ref="/root/main/testrslt/rsltinfo/orddd" navindex="24" inputtype="date" maxlength="8" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:632px; top:124px; width:90px; height:19px; "/>
  570. <input id="ipt_acptdd" ref="/root/main/testrslt/rsltinfo/acptdd" navindex="25" inputtype="date" maxlength="8" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:788px; top:124px; width:100px; height:19px; "/>
  571. <input id="ipt_diagdd" ref="/root/main/testrslt/rsltinfo/diagdd" navindex="26" inputtype="date" maxlength="8" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:964px; top:124px; width:90px; height:19px; "/>
  572. <select1 id="cmb_prcpgenrflag" ref="/root/main/testrslt/rsltinfo/prcpgenrflag" navindex="28" appearance="minimal" style="left:486px; top:148px; width:90px; height:19px; ">
  573. <choices>
  574. <item>
  575. <label>입원</label>
  576. <value>I</value>
  577. </item>
  578. <item>
  579. <label>응급</label>
  580. <value>E</value>
  581. </item>
  582. <item>
  583. <label>DSC</label>
  584. <value>D</value>
  585. </item>
  586. <item>
  587. <label>외래</label>
  588. <value>O</value>
  589. </item>
  590. <item>
  591. <label>건진</label>
  592. <value>S</value>
  593. </item>
  594. </choices>
  595. </select1>
  596. <input id="ipt_wardnm" ref="/root/main/testrslt/rsltinfo/wardnm" navindex="29" maxlength="100" style="left:632px; top:148px; width:90px; height:19px; "/>
  597. <input id="ipt_roomnm" ref="/root/main/testrslt/rsltinfo/roomnm" navindex="30" maxlength="100" style="left:788px; top:148px; width:100px; height:19px; "/>
  598. <input id="ipt_diagnm" ref="/root/main/testrslt/rsltinfo/diagnm" navindex="31" maxlength="1000" style="left:486px; top:172px; width:707px; height:19px; "/>
  599. <textarea id="tar_rsltcnts" ref="/root/main/testrslt/rsltinfo/rsltcnts" navindex="35" style="left:413px; top:323px; width:780px; height:419px; font-family:굴림체; font-size:9pt; "/>
  600. <bool id="bol_grosphotflagcd" checkvalue="1,0" ref="/root/main/testrslt/rsltinfo/grosphotflagcd" style="left:1120px; top:100px; width:20px; height:20px; "/>
  601. <caption id="caption31" style="left:1140px; top:100px; width:40; height:20px; ">존재</caption>
  602. <group id="group1" visibility="hidden" style="left:50px; top:50px; width:305px; height:225px; ">
  603. <caption id="caption32" class="cell_1" style="left:20px; top:20px; width:85px; height:20px; ">등록번호</caption>
  604. <caption id="caption33" class="cell_1" style="left:20px; top:55px; width:85px; height:20px; ">의뢰지구분</caption>
  605. <caption id="caption34" class="cell_1" style="left:20px; top:115px; width:85px; height:20px; ">처방일자</caption>
  606. <caption id="caption35" class="cell_1" style="left:20px; top:150px; width:85px; height:20px; ">처방번호</caption>
  607. <input id="input3" ref="/root/hidden/etc/pid" style="left:110px; top:20px; width:150px; height:25px; "/>
  608. <input id="input4" ref="/root/hidden/etc/prcpdd" style="left:110px; top:115px; width:150px; height:19px; "/>
  609. <input id="input5" ref="/root/hidden/etc/prcpno" style="left:110px; top:150px; width:150px; height:19px; "/>
  610. <select1 id="combo1" ref="/root/hidden/etc/workflag" appearance="minimal" style="left:110px; top:55px; width:150px; height:19px; ">
  611. <choices>
  612. <item>
  613. <label>조직</label>
  614. <value>01</value>
  615. </item>
  616. <item>
  617. <label>세포</label>
  618. <value>04</value>
  619. </item>
  620. <item>
  621. <label>분자</label>
  622. <value>05</value>
  623. </item>
  624. </choices>
  625. </select1>
  626. <button id="button2" class="btn4_letter2" style="left:205px; top:190px; width:56px; height:22px; ">
  627. <caption>저장</caption>
  628. <script type="javascript" ev:event="onclick">
  629. <![CDATA[
  630. submit("TXLPR02202");
  631. ]]>
  632. </script>
  633. </button>
  634. <caption id="caption36" class="cell_1" style="left:20px; top:85px; width:85px; height:20px; ">입원/외래구분</caption>
  635. <select1 id="combo2" ref="/root/hidden/etc/ioflag" appearance="minimal" style="left:110px; top:85px; width:150px; height:19px; ">
  636. <choices>
  637. <item>
  638. <label>입원</label>
  639. <value>I</value>
  640. </item>
  641. <item>
  642. <label>외래</label>
  643. <value>O</value>
  644. </item>
  645. </choices>
  646. </select1>
  647. </group>
  648. <input id="input6" ref="/root/main/testrslt/rsltinfo/grostestdrnm" navindex="19" imemode="hangul" maxlength="100" style="left:964px; top:148px; width:90px; height:19px; "/>
  649. <caption id="caption37" class="cell_1" style="left:891px; top:147px; width:70px; height:23px; vertical-align:middle; ">육안검사의</caption>
  650. <caption id="caption38" class="cell_1" style="left:1057px; top:147px; width:60px; height:23px; vertical-align:middle; ">Cosign</caption>
  651. <input id="input7" ref="/root/main/testrslt/rsltinfo/cosignnm" navindex="19" imemode="hangul" maxlength="100" style="left:1120px; top:148px; width:73px; height:19px; "/>
  652. </group>
  653. </xhtml:body>
  654. </xhtml:html>