SPLPR00300_자문결과등록.xrw 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPLPR00300_자문결과등록.xrw
  4. * 설 명 : 자문결과등록 팝업창(검사결과등록)
  5. * 설 계 자 :
  6. * 작 성 자 : 유동철(ACK)
  7. * 작 성 일 : 2007.06.14
  8. * 수정이력 : 최종작성일 기준으로 변경사항 이력관리
  9. * 기 타 : 주석문에 반영되어야 할 사항 표기
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <reqfrm>
  20. <reqfrmtbl>
  21. <reqfrminfo>
  22. <reqcnts/>
  23. <choispc>
  24. <choispclist>
  25. <choi/>
  26. <spcseqno/>
  27. <spccd/>
  28. <spcnm/>
  29. </choispclist>
  30. </choispc>
  31. </reqfrminfo>
  32. </reqfrmtbl>
  33. </reqfrm>
  34. <cnstrslt>
  35. <cnstrsltinfo>
  36. <instcd/>
  37. <ptno/>
  38. <cnstdg/>
  39. <cnstflagcd/>
  40. <casedcuscd/>
  41. <trsmdd/>
  42. <trsmtm/>
  43. <trsmid/>
  44. <trsmnm/>
  45. <diagdd/>
  46. <diagtm/>
  47. <cnsthospcd/>
  48. <cnstdrid/>
  49. <cnstdrnm/>
  50. <hosoutcnsthospnm/>
  51. <hosoutcnstdrid/>
  52. <hosoutcnstdrnm/>
  53. <estmdiagcnts/>
  54. <cnstdiagcnts/>
  55. <reqfrminfo/>
  56. <mpphonno/>
  57. <cntctelno/>
  58. <estmdiagstat>1000</estmdiagstat>
  59. </cnstrsltinfo>
  60. </cnstrslt>
  61. <cnstrslt>
  62. <cnstrsltlist>
  63. <instcd/>
  64. <ptno/>
  65. <dispptno/>
  66. <cnstdg/>
  67. <cnstflagcd/>
  68. <casedcuscd/>
  69. <trsmdd/>
  70. <trsmtm/>
  71. <trsmid/>
  72. <trsmnm/>
  73. <diagdd/>
  74. <diagtm/>
  75. <cnsthospcd/>
  76. <cnstdrid/>
  77. <cnstdrnm/>
  78. <hosoutcnsthospnm/>
  79. <hosoutcnstdrid/>
  80. <hosoutcnstdrnm/>
  81. <estmdiagcnts/>
  82. <cnstdiagcnts/>
  83. <mpphonno/>
  84. <cntctelno/>
  85. </cnstrsltlist>
  86. </cnstrslt>
  87. </main>
  88. <send/>
  89. <init>
  90. <instcdlist>
  91. <Z0007>
  92. <cdid/>
  93. <cdnm/>
  94. </Z0007>
  95. </instcdlist>
  96. <testrslt>
  97. <patinfo>
  98. <ptno/>
  99. <patnm/>
  100. <rrgstno/>
  101. <pid/>
  102. <sexage/>
  103. <acptdd/>
  104. <readdd/>
  105. <grosdrid/>
  106. <grosdrnm/>
  107. <spcnm/>
  108. </patinfo>
  109. </testrslt>
  110. <sysdt>
  111. <sysdtinfo>
  112. <sysdd/>
  113. <systm/>
  114. </sysdtinfo>
  115. </sysdt>
  116. <hospenv>
  117. <hospenvinfo>
  118. <instcd/>
  119. <lendrtnterm/>
  120. <recvqualmthdcd/>
  121. <plgydeptcd/>
  122. <plgyteamcd/>
  123. <doctjobgradcd/>
  124. <teamjobgradcd/>
  125. </hospenvinfo>
  126. </hospenv>
  127. <userinfo>
  128. <userinfolist>
  129. <userid/>
  130. <usernm/>
  131. <jobkindcd/>
  132. </userinfolist>
  133. </userinfo>
  134. <resncd>
  135. <resncdlist>
  136. <instcd/>
  137. <baseflagcd/>
  138. <resncd/>
  139. <resncnts/>
  140. </resncdlist>
  141. </resncd>
  142. <cnstdr>
  143. <cnsltlist>
  144. <instcd/>
  145. <hospnm/>
  146. <dutydeptnm/>
  147. <cnstdrid/>
  148. <cnstdrnm/>
  149. <cntctelno/>
  150. </cnsltlist>
  151. </cnstdr>
  152. </init>
  153. <hidden>
  154. </hidden>
  155. </root>
  156. </instance>
  157. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  158. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  159. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  160. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  161. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  162. <script type="javascript" ev:event="xforms-ready">
  163. <![CDATA[
  164. makeReportPreview(0, 50, 1179, 678, "grp_prnt");
  165. fExeInitialize();
  166. ]]>
  167. </script>
  168. <submission id="TRLPZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/hospenv/hospenvinfo"/>
  169. <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
  170. <submission id="TRLPZ00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/resncd/resncdlist"/>
  171. <submission id="TRLPZ00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/userinfo/userinfolist"/>
  172. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  173. <submission id="TRLPC01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cnstdr/cnsltlist"/>
  174. <submission id="TRLPR00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/cnstrslt/cnstrsltlist"/>
  175. <submission id="TXLPR00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/message"/>
  176. </model>
  177. <script type="javascript">
  178. <![CDATA[
  179. /* @group : 자문결과등록 팝업창
  180. * @ver : 2007.06.14 (CMCDEV-0001)
  181. * @by : 유동철(ACK)
  182. * @-----------------------------------
  183. * @type : function
  184. * @access : public
  185. * @desc : 화면 초기화 처리 Function
  186. */
  187. function fExeInitialize() {
  188. //----------------
  189. // 시스템일시 조회
  190. model.removeNodeset("/root/send");
  191. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  192. submit("TRLPZ00101");
  193. submit("TRLPZ00102");
  194. //---------------------------------------------------------
  195. // 병원환경정보를 취득하여 병리과와 병리팀 코드를 편집한다.
  196. lpzfUserDeptCd("/root/init/hospenv/hospenvinfo", "/root/hidden");
  197. //----------------------------------------------------------------------------------
  198. model.makeValue("/root/send/userdeptcd", model.getValue("/root/hidden/userdeptcd"));
  199. model.makeValue("/root/send/doctjobgradcd", model.getValue("/root/init/hospenv/hospenvinfo/doctjobgradcd"));
  200. model.makeValue("/root/send/teamjobgradcd", model.getValue("/root/init/hospenv/hospenvinfo/teamjobgradcd"));
  201. submit("TRLPZ00105");
  202. //--------------------------------------------------
  203. // 자문정보(J1), Case to be discussed(J2) 목록 조회
  204. model.makeValue("/root/send/baseflagcd", "'J1', 'J2', 'J3'");
  205. //alert(model.getValue("/root/send/baseflagcd"));
  206. submit("TRLPZ00103");
  207. model.removeNodeset("/root/init/resncd/resncdlist[resncd='ZZZZ']");
  208. //-----------------------------------------------------------------------------------------------
  209. zbcfGetCodeList(new Array("Z0007"), new Array("/root/init/instcdlist", "/root/init/instcdlist"));
  210. //-------------------
  211. // 자문의사 목록 조회
  212. model.makeValue("/root/send/delflagcd", "0");
  213. model.makeValue("/root/send/refflag", "0");
  214. model.makeValue("/root/send/refval", "");
  215. submit("TRLPC01201");
  216. //----------------------
  217. model.toggle("case_in");
  218. btn_incnst.selected = true;
  219. //------------
  220. // 초기값 설정
  221. fExeValInit();
  222. //------------------
  223. // 자문결과목록 검색
  224. fGetCnstRsltList();
  225. //--------------
  226. model.refresh();
  227. }
  228. /* @group : 자문결과등록 팝업창
  229. * @ver : 2007.06.19 (CMCDEV-0001)
  230. * @by : 유동철(ACK)
  231. * @-----------------------------------
  232. * @type : function
  233. * @access : public
  234. * @desc : 자문정보 초기값 설정 처리 Function
  235. */
  236. function fExeValInit() {
  237. model.makeValue("/root/main/cnstrslt/cnstrsltinfo/cnstflagcd", "1001");
  238. model.makeValue("/root/main/cnstrslt/cnstrsltinfo/cnstcasecd", "");
  239. model.makeValue("/root/main/cnstrslt/cnstrsltinfo/casedcuscd", "");
  240. model.makeValue("/root/main/cnstrslt/cnstrsltinfo/trsmid", getUserInfo("userid"));
  241. model.makeValue("/root/main/cnstrslt/cnstrsltinfo/trsmdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
  242. model.makeValue("/root/main/cnstrslt/cnstrsltinfo/trsmtm", model.getValue("/root/init/sysdt/sysdtinfo/systm"));
  243. model.makeValue("/root/main/cnstrslt/cnstrsltinfo/diagdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
  244. model.makeValue("/root/main/cnstrslt/cnstrsltinfo/diagtm", model.getValue("/root/init/sysdt/sysdtinfo/systm"));
  245. model.makeValue("/root/main/cnstrslt/cnstrsltinfo/cnsthospcd", getUserInfo("dutplceinstcd"));
  246. model.makeValue("/root/main/cnstrslt/cnstrsltinfo/cnstdrid", "");
  247. model.makeValue("/root/main/cnstrslt/cnstrsltinfo/hosoutcnsthospnm", "");
  248. model.makeValue("/root/main/cnstrslt/cnstrsltinfo/hosoutcnstdrid", "");
  249. model.makeValue("/root/main/cnstrslt/cnstrsltinfo/hosoutcnstdrnm", "");
  250. model.makeValue("/root/main/cnstrslt/cnstrsltinfo/estmdiagcnts", "");
  251. model.makeValue("/root/main/cnstrslt/cnstrsltinfo/cnstdiagcnts", "");
  252. model.makeValue("/root/main/cnstrslt/cnstrsltinfo/reqfrminfo", "");
  253. }
  254. /* @group : 자문결과등록 팝업창
  255. * @ver : 2007.06.14 (CMCDEV-0001)
  256. * @by : 유동철(ACK)
  257. * @-----------------------------------
  258. * @type : function
  259. * @access : public
  260. * @desc : 처방의뢰지 정보 검색 처리 Function
  261. */
  262. function fGetReqFrmInfo() {
  263. var sReqInfoNode = "/root/init/testrslt/patinfo";
  264. //----------------------------------------------------------------------------------------
  265. model.makeValue("root/hidden/reqfrminfo/pid", model.getValue(sReqInfoNode+"/pid"));
  266. model.makeValue("root/hidden/reqfrminfo/testcd", opener.javascript.getParameter("SMLPR00100_prcpcd"));
  267. model.makeValue("root/hidden/reqfrminfo/testhngnm", opener.javascript.getParameter("SMLPR00100_prcpnm"));
  268. model.makeValue("root/hidden/reqfrminfo/opnm", "");
  269. model.makeValue("root/hidden/reqfrminfo/reprspccd", opener.javascript.getParameter("SMLPR00100_spccd"));
  270. model.makeValue("root/hidden/reqfrminfo/spcnm", model.getValue(sReqInfoNode+"/spcnm"));
  271. model.makeValue("root/hidden/reqfrminfo/reqfrmno", opener.javascript.getParameter("SMLPR00100_reqfrmno"));
  272. model.makeValue("root/hidden/reqfrminfo/reqfrmflagcd", opener.javascript.getParameter("SMLPR00100_reqfrmflagcd"));
  273. model.makeValue("root/hidden/reqfrminfo/prcpstatcd", "430");
  274. model.makeValue("root/hidden/reqfrminfo/reqhistno", "1");
  275. model.makeValue("root/hidden/reqfrminfo/scrnno", "50");
  276. lpzfExeReqFrmInfo("root/hidden/reqfrminfo", "", "1");
  277. }
  278. /* @group : 자문결과등록 팝업창
  279. * @ver : 2007.06.18 (CMCDEV-0001)
  280. * @by : 유동철(ACK)
  281. * @-----------------------------------
  282. * @type : function
  283. * @access : public
  284. * @desc : 처방의뢰지 세부검체 처리 Function
  285. */
  286. function fSpcInfo(pSpcInfo, pFlagCd) {
  287. var sCheckChar = "Ⅴ";
  288. var aSpcInfoNm = "";
  289. var sIndexNo = "";
  290. var iFindNo = -1;
  291. var sMsg = "";
  292. var sRtnMsg = "";
  293. var iNewCnt = 0;
  294. var iNo = 0;
  295. //----------------
  296. switch (pFlagCd) {
  297. case "02" :
  298. aSpcInfoNm = new Array ("Routine Check", "Hormone Therapy", "Pregnancy", "Hx. of Gyn surgery", "Chemotherapy", "Postparturm", "Hx. of Abnormal PAP smear", "Radiation Therapy", "Viginal bleeding", "Menopause");
  299. iNewCnt = 3;
  300. break;
  301. case "03" :
  302. break;
  303. }
  304. //--------------------------------------------------------
  305. for (var iRowNo=0; iRowNo < aSpcInfoNm.length; iRowNo++) {
  306. sIndexNo = (iRowNo).toString().getLeftPad(1, "0");
  307. iFindNo = pSpcInfo.indexOf(sIndexNo);
  308. //------------------
  309. if (iFindNo == -1) {
  310. sMsg = aSpcInfoNm[iRowNo];
  311. } else {
  312. sMsg = sCheckChar + " " + aSpcInfoNm[iRowNo];
  313. }
  314. //---------------------------------------------
  315. sRtnMsg += sMsg.toString().getLeftPad(35, " ");
  316. iNo += 1;
  317. //-------------------
  318. if (iNo == iNewCnt) {
  319. sRtnMsg += "\n";
  320. iNo = 0;
  321. }
  322. }
  323. //-------------
  324. return sRtnMsg;
  325. }
  326. /* @group : 자문결과등록 팝업창
  327. * @ver : 2007.06.14 (CMCDEV-0001)
  328. * @by : 유동철(ACK)
  329. * @-----------------------------------
  330. * @type : function
  331. * @access : public
  332. * @desc : 닫기버튼 처리 Function
  333. */
  334. function fExeCls() {
  335. window.close();
  336. }
  337. /* @group : 자문결과등록 팝업창
  338. * @ver : 2007.06.14 (CMCDEV-0001)
  339. * @by : 유동철(ACK)
  340. * @-----------------------------------
  341. * @type : function
  342. * @access : public
  343. * @desc : 자문정보 변경에 따른 초기값 검색 처리 함수
  344. */
  345. function fExeChangeCnstInfo() {
  346. model.removeNodeset("/root/send");
  347. //----------------------------------------------------------------------------
  348. if (model.getValue("/root/main/cnstrslt/cnstrsltinfo/cnstflagcd") == "1001") {
  349. cmb_cnstdrid.choices.itemset.attribute("nodeset") = "/root/init/userinfo/userinfolist[jobkindcd='1']";
  350. cmb_cnstdrid.choices.itemset.label.attribute("ref") = "usernm";
  351. cmb_cnstdrid.choices.itemset.value.attribute("ref") = "userid";
  352. } else {
  353. cmb_cnstdrid.choices.itemset.attribute("nodeset") = "/root/init/cnstdr/cnsltlist";
  354. cmb_cnstdrid.choices.itemset.label.attribute("ref") = "cnstdrnm";
  355. cmb_cnstdrid.choices.itemset.value.attribute("ref") = "cnstdrid";
  356. }
  357. //---------------------
  358. cmb_cnstdrid.refresh();
  359. }
  360. /* @group : 자문결과등록 팝업창
  361. * @ver : 2007.06.28 (CMCDEV-0001)
  362. * @by : 유동철(ACK)
  363. * @-----------------------------------
  364. * @type : function
  365. * @access : public
  366. * @desc : 자문정보 검색 처리 함수
  367. */
  368. function fGetCnstRsltList() {
  369. model.removeNodeset("/root/send");
  370. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  371. model.makeValue("/root/send/ptno", model.getValue("/root/init/testrslt/patinfo/ptno"));
  372. submit("TRLPR00301");
  373. //------------------------------------------------------------
  374. if (getNodesetCount("/root/main/cnstrslt/cnstrsltlist") > 0) {
  375. cmb_cnstdg.select(0);
  376. copyNodesetType("/root/main/cnstrslt/cnstrsltinfo", "/root/main/cnstrslt/cnstrsltlist[cnstdg='" + model.getValue("/root/main/cnstrslt/cnstrsltinfo/cnstdg") + "']");
  377. } else {
  378. model.makeValue("/root/main/cnstrslt/cnstrsltinfo/instcd", getUserInfo("dutplceinstcd"));
  379. model.makeValue("/root/main/cnstrslt/cnstrsltinfo/ptno", model.getValue("/root/init/testrslt/patinfo/ptno"));
  380. }
  381. }
  382. /* @group : 자문결과등록 팝업창
  383. * @ver : 2007.06.28 (CMCDEV-0001)
  384. * @by : 유동철(ACK)
  385. * @-----------------------------------
  386. * @type : function
  387. * @access : public
  388. * @desc : 자문결과 차수변경 처리 함수
  389. */
  390. function fExeDgChange() {
  391. copyNodesetType("/root/main/cnstrslt/cnstrsltinfo", "/root/main/cnstrslt/cnstrsltlist[cnstdg='" + model.getValue("/root/main/cnstrslt/cnstrsltinfo/cnstdg") + "']");
  392. fExeOutCnstChoi();
  393. model.refresh();
  394. }
  395. /* @group : 자문결과등록 팝업창
  396. * @ver : 2007.06.28 (CMCDEV-0001)
  397. * @by : 유동철(ACK)
  398. * @-----------------------------------
  399. * @type : function
  400. * @access : public
  401. * @desc : 자문결과 저장 처리 함수
  402. */
  403. function fExeCnstRslt() {
  404. var sCnstFlagCd = model.getValue("/root/main/cnstrslt/cnstrsltinfo/cnstflagcd");
  405. //-----------------------------------------
  406. // 자문정보는 반드시 1개만 선택되어야 한다.
  407. if (sCnstFlagCd.length > 4 ) {
  408. messageBox("자문정보는 1개이상 선택", "E001");
  409. return false;
  410. }
  411. //-----------------------------------------------------
  412. if (!isRequiredControls("cmb_trustdrid")) return false;
  413. //----------------------------
  414. // 의뢰 병리의사 선택여부 검사
  415. if (btn_incnst.selected == true) {
  416. //------------------------------------------------------
  417. //if (!isRequiredControls("cmb_cnsthospcd")) return false;
  418. if (!isRequiredControls("cmb_cnstdrid")) return false;
  419. } else if (btn_outcnst.selected == true) {
  420. if (!isRequiredControls("cbo_outdrchoi")) return false;
  421. } else {
  422. messageBox("원내 및 원외를 선택하여 주십시오!", "E000");
  423. return false;
  424. }
  425. //-----------------------------------------------------
  426. yesno = messageBox("신규로 저장하시겠습니까?", "S002"); // 6:yes, 7:no, 2:cancel
  427. if (yesno == "2") return false;
  428. //--------------------------------
  429. model.removeNodeset("/root/send");
  430. model.makeNode("/root/send");
  431. //---------------------------------------------------------------
  432. model.copyNode("/root/send", "/root/main/cnstrslt/cnstrsltinfo");
  433. model.makeValue("/root/send/newflagcd", yesno);
  434. model.makeValue("/root/send/hospnm", getUserInfo("dutinstnm")); // 의뢰기관명
  435. model.makeValue("/root/send/trsmdrnm", cmb_trustdrid.label); // 의뢰자명
  436. model.makeValue("/root/send/incnstdrnm", cmb_cnstdrid.label); // 원내 자문의명
  437. model.makeValue("/root/send/outcnstdrnm", cbo_outdrchoi.label); // 원외 자문의명
  438. model.makeValue("/root/send/outcnstdrnm", cbo_outdrchoi.label); // 원외 자문의명
  439. model.makeValue("/root/send/pid", model.getValue("/root/init/testrslt/patinfo/pid")); // 등록번호
  440. model.makeValue("/root/send/patnm", model.getValue("/root/init/testrslt/patinfo/patnm")); // 환자명
  441. model.makeValue("/root/send/cntctelno", model.getValue("/root/init/cnstdr/cnsltlist[cnstdrid='"+model.getValue("/root/main/cnstrslt/cnstrsltinfo/hosoutcnstdrid")+"']/cntctelno")); // 환자명
  442. model.makeValue("/root/send/mpphonno", model.getValue("/root/init/userinfo/userinfolist[userid='"+model.getValue("/root/main/cnstrslt/cnstrsltinfo/cnstdrid")+"']/mpphonno")); // 환자명
  443. model.makeValue("/root/send/estmdiagstat", model.getValue("/root/main/cnstrslt/cnstrsltinfo/estmdiagstat"));
  444. //-----------
  445. setAlertOn();
  446. if ( yesno == "7"){
  447. var tcnstdg = model.getValue("/root/main/cnstrslt/cnstrsltinfo/cnstdg");
  448. //tcnstdg = Trim(tcnstdg);
  449. if (tcnstdg == ""){
  450. messageBox("자문번호가 있어야 수정저장가능합디다.","I000");
  451. return;
  452. }else{
  453. if (submit("TXLPR00301")) {
  454. window.close();
  455. }
  456. }
  457. }else{
  458. if (submit("TXLPR00301")) {
  459. window.close();
  460. }
  461. }
  462. }
  463. /* @group : 자문결과등록 팝업창
  464. * @ver : 2007.06.28 (CMCDEV-0001)
  465. * @by : 유동철(ACK)
  466. * @-----------------------------------
  467. * @type : function
  468. * @access : public
  469. * @desc : 외부 자문의사 변경 처리 함수
  470. */
  471. function fExeCnstOutDrChange() {
  472. var strNode = "/root/main/cnstrslt/cnstrsltinfo";
  473. var sDrID = model.getValue("/root/main/cnstrslt/cnstrsltinfo/hosoutcnstdrid");
  474. model.makeValue(strNode+"/hosoutcnsthospnm", model.getValue("/root/init/cnstdr/cnsltlist[cnstdrid='" + sDrID + "']/hospnm"));
  475. model.makeValue(strNode+"/hosoutcnstdrnm", model.getValue("/root/init/cnstdr/cnsltlist[cnstdrid='" + sDrID + "']/cnstdrnm"));
  476. model.refresh();
  477. if ( model.getValue(strNode+"/hosoutcnsthospnm") == "기타"){
  478. model.toggle ("case_edit");
  479. }
  480. }
  481. /* @group : 자문결과등록 팝업창
  482. * @ver : 2008.01.10 (CMCDEV-0001)
  483. * @by : 유동철(ACK)
  484. * @-----------------------------------
  485. * @type : function
  486. * @access : public
  487. * @desc : 원내자문구분 선택 처리 함수
  488. */
  489. function fExeOutCnstChoi() {
  490. var sCnstInfo = model.getValue("/root/main/cnstrslt/cnstrsltinfo/cnstflagcd");
  491. var aCnstInfo = sCnstInfo.split(" ");
  492. //-------------------------
  493. if (aCnstInfo.length > 1) {
  494. //messageBox("자문정보는 하나만 선택하셔야 합니다!", "E000");
  495. //return false;
  496. model.setValue("/root/main/cnstrslt/cnstrsltinfo/cnstflagcd", aCnstInfo[1]);
  497. chk_cnstflagcd.refresh();
  498. }
  499. //----------------------------------------------------------------------------
  500. if (model.getValue("/root/main/cnstrslt/cnstrsltinfo/cnstflagcd") == "1001") {
  501. model.toggle("case_in");
  502. btn_incnst.selected = true;
  503. model.makeValue("/root/main/cnstrslt/cnstrsltinfo/hosoutcnsthospnm", "");
  504. model.makeValue("/root/main/cnstrslt/cnstrsltinfo/hosoutcnstdrid", "");
  505. model.makeValue("/root/main/cnstrslt/cnstrsltinfo/hosoutcnstdrnm", "");
  506. opt_hosoutcnsthospnm.refresh();
  507. cbo_outdrchoi.refresh();
  508. } else {
  509. model.toggle("case_out");
  510. btn_outcnst.selected = true;
  511. model.makeValue("/root/main/cnstrslt/cnstrsltinfo/cnsthospcd", "");
  512. model.makeValue("/root/main/cnstrslt/cnstrsltinfo/cnstdrid", "");
  513. model.makeValue("/root/main/cnstrslt/cnstrsltinfo/cnstdrnm", "");
  514. cmb_cnsthospcd.refresh();
  515. cmb_cnstdrid.refresh();
  516. opt_cnstdrnm.refresh();
  517. }
  518. }
  519. /* @group : 자문결과등록 팝업창
  520. * @ver : 2008.01.10 (CMCDEV-0001)
  521. * @by : 유동철(ACK)
  522. * @-----------------------------------
  523. * @type : function
  524. * @access : public
  525. * @desc : 자문내용 출력 처리 함수
  526. */
  527. function fExeCnstPrnt() {
  528. var sPrntNode = "/root/main/prnt/cnstreqinfo";
  529. var sNode = "/root/main/cnstrslt/cnstrsltinfo";
  530. var sNode2 = "/root/init/testrslt/patinfo";
  531. var sSexAge = model.getValue(sNode2+"/sexage");
  532. var sTrsmDD = model.getValue(sNode+"/trsmdd");
  533. var sDiscussed = model.getValue(sNode+"/casedcuscd");
  534. var aDiscussed = "";
  535. var iDisCnt = 1;
  536. var sCnstFlagNm = "";
  537. var sResnNm = "";
  538. var sPtNo = model.getValue(sNode2+"/ptno");
  539. //------------------------------------------------
  540. // Regular표현식을 사용하여 공백(" ")문자를 ','로 변환
  541. aDiscussed = sDiscussed.split(" ");
  542. //-------------------------------------
  543. model.removeNodeset("/root/main/prnt");
  544. /*
  545. //--------------------------------
  546. model.makeNode("/root/main/prnt");
  547. model.makeNode(sPrntNode);
  548. model.makeNode(sPrntNode+"/discussed/discussedlist");
  549. */
  550. //------------------------------------------------------------------------------
  551. for (var iNo=1; iNo <= getNodesetCount("/root/init/resncd/resncdlist"); iNo++) {
  552. if (model.getValue("/root/init/resncd/resncdlist["+iNo+"]/baseflagcd") == "J1") {
  553. //-------------------------------------------------------------------------
  554. sResnNm = model.getValue("/root/init/resncd/resncdlist["+iNo+"]/resncnts");
  555. if (model.getValue("/root/init/resncd/resncdlist["+iNo+"]/resncd") == model.getValue(sNode+"/cnstflagcd")) {
  556. sCnstFlagNm += "◈ " + sResnNm.getRightPad(70, " ");
  557. } else {
  558. sCnstFlagNm += "◇ " + sResnNm.getRightPad(70, " ");
  559. }
  560. //-------------------
  561. if ((iNo % 2) == 0) {
  562. sCnstFlagNm += "\n";
  563. }
  564. } else {
  565. //--------------------------------------------------------------------------
  566. model.makeValue(sPrntNode+"/discussed/discussedlist["+iDisCnt+"]/val", "0");
  567. //--------------------------------------------------------
  568. for (var iRowNo=0; iRowNo < aDiscussed.length; iRowNo++) {
  569. if (aDiscussed[iRowNo] == "") {
  570. // Continue
  571. } else {
  572. if (model.getValue("/root/init/resncd/resncdlist["+iNo+"]/resncd") == aDiscussed[iRowNo]) {
  573. model.makeValue(sPrntNode+"/discussed/discussedlist["+iDisCnt+"]/val", "1");
  574. break;
  575. }
  576. }
  577. }
  578. //-----------------------------
  579. model.makeValue(sPrntNode+"/discussed/discussedlist["+iDisCnt+"]/nm", model.getValue("/root/init/resncd/resncdlist["+iNo+"]/resncnts"));
  580. //--------
  581. iDisCnt++;
  582. }
  583. }
  584. //model.makeValue(sPrntNode+"/title", model.getValue("/root/init/hospenv/hospenvinfo/cnsttitl"), true);
  585. model.makeValue(sPrntNode+"/title", "가톨릭대학교 의과대학 강남성모병원 병리과, 전화:(02)590-1603, 팩스:(02)592-4190", true);
  586. model.makeValue(sPrntNode+"/instcd", model.getValue(sNode2+"/instcd"), true);
  587. model.makeValue(sPrntNode+"/ptno", sPtNo.substr(0,(sPtNo.length-6)) + "-" + sPtNo.substr(3,6), true);
  588. model.makeValue(sPrntNode+"/pid", model.getValue(sNode2+"/pid"), true);
  589. model.makeValue(sPrntNode+"/patnm", model.getValue(sNode2+"/patnm"), true);
  590. model.makeValue(sPrntNode+"/spcnm", model.getValue(sNode2+"/spcnm"), true);
  591. model.makeValue(sPrntNode+"/estmdiag", model.getValue(sNode+"/estmdiagcnts"), true);
  592. model.makeValue(sPrntNode+"/cnstdiag", model.getValue(sNode+"/cnstdiagcnts"), true);
  593. model.makeValue(sPrntNode+"/cnstflagnm", sCnstFlagNm, true);
  594. model.makeValue(sPrntNode+"/trustdd", "발송일 : "+sTrsmDD.substr(0,4)+" 년 "+sTrsmDD.substr(4,2)+" 월 "+sTrsmDD.substr(6,2)+" 일");
  595. model.makeValue(sPrntNode+"/trustdrnm", cmb_trustdrid.label);
  596. if (btn_incnst.selected == true) {
  597. model.makeValue(sPrntNode+"/cnstdrnm", cmb_cnstdrid.label + "(" + cmb_cnsthospcd.label + ")");
  598. } else {
  599. model.makeValue(sPrntNode+"/cnstdrnm", cbo_outdrchoi.label + "(" +model.getValue(sNode+"/hosoutcnsthospnm") + ")");
  600. }
  601. model.makeValue(sPrntNode+"/age", sSexAge.substr(2,3));
  602. if (sSexAge.substr(0,1) == "M") {
  603. model.makeValue(sPrntNode+"/sexm", "1");
  604. model.makeValue(sPrntNode+"/sexf", "0");
  605. } else {
  606. model.makeValue(sPrntNode+"/sexm", "0");
  607. model.makeValue(sPrntNode+"/sexf", "1");
  608. }
  609. //---------------------------------------------------------------------------------------
  610. exeReportPreview("RPLPR00300", "XMLSTR", "", "", "true", "", "", "", "", "true", "", "");
  611. }
  612. ]]>
  613. </script>
  614. </xhtml:head>
  615. <xhtml:body pagewidth="641" pageheight="728" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  616. <group id="grp_btn" scroll="auto" style="left:0px; top:685px; width:625px; height:27px; ">
  617. <button id="btn_save" class="btn4_letter2" navindex="11" style="left:510; top:5px; width:56px; height:22px; ">
  618. <caption>저장</caption>
  619. <script type="javascript" ev:event="DOMActivate">
  620. <![CDATA[
  621. fExeCnstRslt();
  622. ]]>
  623. </script>
  624. </button>
  625. <button id="btn_cls" class="btn4_letter2" navindex="12" style="left:569; top:5px; width:56px; height:22px; ">
  626. <caption>닫기</caption>
  627. <script type="javascript" ev:event="DOMActivate">
  628. <![CDATA[
  629. fExeCls();
  630. ]]>
  631. </script>
  632. </button>
  633. <button id="btn_prt" class="btn6_letter2" navindex="10" style="left:0; top:5px; width:56px; height:22px; ">
  634. <caption>출력</caption>
  635. <script type="javascript" ev:event="DOMActivate">
  636. <![CDATA[
  637. fExeCnstPrnt();
  638. ]]>
  639. </script>
  640. </button>
  641. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:625; y2:0px; "/>
  642. </group>
  643. <group id="grp_biz" style="left:0px; top:0px; width:625px; height:680px; ">
  644. <caption id="caption1" class="tit_2" autoresize="true" style="left:5px; top:46px; width:161px; height:13px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">환자정보</caption>
  645. <line id="line1" class="line_1" style="x1:0px; y1:61px; x2:625px; y2:61px; "/>
  646. <caption id="caption3" class="tit_2" autoresize="true" style="left:5px; top:434px; width:161px; height:13px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">진단 (자문 병리의사)</caption>
  647. <line id="line4" class="line_1" style="x1:0px; y1:450px; x2:625px; y2:451px; "/>
  648. <caption id="caption7" class="cell_1" style="left:186px; top:66px; width:80px; height:23px; font-family:돋움; vertical-align:middle; ">등록번호</caption>
  649. <output id="opt_pid" ref="/root/init/testrslt/patinfo/pid" class="output_fix" style="left:269px; top:67px; width:100px; height:19px; "/>
  650. <caption id="caption2" class="cell_1" style="left:372px; top:66px; width:80px; height:23px; font-family:돋움; vertical-align:middle; ">환자명</caption>
  651. <caption id="caption4" class="cell_1" style="left:0px; top:90px; width:80px; height:23px; font-family:돋움; vertical-align:middle; ">성별/나이</caption>
  652. <caption id="caption5" class="cell_1" style="left:186px; top:90px; width:80px; height:23px; font-family:돋움; vertical-align:middle; ">주민번호</caption>
  653. <caption id="caption6" class="cell_1" style="left:0px; top:66px; width:80px; height:23px; font-family:돋움; vertical-align:middle; ">병리번호</caption>
  654. <caption id="caption8" class="cell_1" style="left:0px; top:114px; width:80px; height:23px; font-family:돋움; vertical-align:middle; ">병변위치</caption>
  655. <line id="line11" class="line_1" style="x1:0px; y1:344px; x2:625px; y2:344px; "/>
  656. <caption id="caption14" class="tit_2" autoresize="true" style="left:5px; top:329px; width:175px; height:13px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">추정진단 (의뢰 병리의사)</caption>
  657. <textarea id="tar_estmdiag" ref="/root/main/cnstrslt/cnstrsltinfo/estmdiagcnts" navindex="8" style="left:0px; top:349px; width:625px; height:50px; "/>
  658. <caption id="caption15" class="cell_1" style="left:372px; top:90px; width:80px; height:23px; font-family:돋움; vertical-align:middle; ">접수일자</caption>
  659. <line id="line6" class="line_3" style="x1:0px; y1:136px; x2:625px; y2:136px; "/>
  660. <caption id="caption9" class="tit_2" autoresize="true" style="left:5px; top:146px; width:161px; height:13px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">자문정보</caption>
  661. <line id="line7" class="line_1" style="width:277; x1:0px; y1:161px; x2:277px; y2:161px; "/>
  662. <caption id="caption10" class="tit_2" autoresize="true" style="left:285px; top:146px; width:161px; height:13px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">Case to be discussed</caption>
  663. <line id="line8" class="line_1" style="x1:280px; y1:161px; x2:623px; y2:161px; "/>
  664. <caption id="caption13" class="cell_1" style="left:0px; top:240px; width:50px; height:23px; font-family:돋움; vertical-align:middle; ">발송일</caption>
  665. <caption id="caption16" class="cell_1" style="left:140px; top:240px; width:50px; height:23px; font-family:돋움; vertical-align:middle; ">진단일</caption>
  666. <input id="ipt_senddd" ref="/root/main/cnstrslt/cnstrsltinfo/trsmdd" class="input_default" navindex="6" inputtype="date" style="left:53px; top:241px; width:84px; height:19px; "/>
  667. <line id="line10" class="line_2" style="x1:0px; y1:199px; x2:250px; y2:199px; "/>
  668. <line id="line15" class="line_3" style="width:277; x1:0px; y1:262px; x2:277px; y2:262px; "/>
  669. <group id="grp_search" style="left:0px; top:0px; width:625px; height:36px; vertical-align:top; ">
  670. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:625px; height:36px; background-color:#fffbf2; border-color:#ffd799; "/>
  671. <caption id="caption18" class="search_name" style="left:15px; top:10px; width:112px; height:17px; ">자문번호 :</caption>
  672. <select1 id="cmb_cnstdg" ref="/root/main/cnstrslt/cnstrsltinfo/cnstdg" class="combo_search" appearance="minimal" style="left:105px; top:9px; width:90px; height:19px; ">
  673. <choices>
  674. <itemset nodeset="/root/main/cnstrslt/cnstrsltlist">
  675. <label ref="cnstdg"/>
  676. <value ref="cnstdg"/>
  677. </itemset>
  678. </choices>
  679. <script type="javascript" ev:event="xforms-value-changed">
  680. <![CDATA[
  681. fExeDgChange();
  682. ]]>
  683. </script>
  684. </select1>
  685. </group>
  686. <select id="chk_cnstcasecd" ref="/root/main/cnstrslt/cnstrsltinfo/casedcuscd" navindex="2" overflow="visible" appearance="full" style="left:280px; top:166px; width:343px; height:154px; border-style:none; ">
  687. <choices>
  688. <itemset nodeset="/root/init/resncd/resncdlist[baseflagcd='J2']">
  689. <label ref="resncnts"/>
  690. <value ref="resncd"/>
  691. </itemset>
  692. </choices>
  693. </select>
  694. <output id="opt_ptno" ref="/root/init/testrslt/patinfo/ptno" class="output_fix" style="left:83px; top:67px; width:100px; height:19px; "/>
  695. <output id="opt_patnm" ref="/root/init/testrslt/patinfo/patnm" class="output_fix" style="left:455px; top:67px; width:170px; height:19px; "/>
  696. <output id="opt_sexage" ref="/root/init/testrslt/patinfo/sexage" class="output_fix" style="left:83px; top:91px; width:100px; height:19px; "/>
  697. <output id="opt_rrgstno" ref="/root/init/testrslt/patinfo/rrgstno" class="output_fix" style="left:269px; top:91px; width:100px; height:19px; "/>
  698. <output id="acptdd" ref="/root/init/testrslt/patinfo/acptdd" class="output_fix" format="yyyy-mm-dd" style="left:455px; top:91px; width:170px; height:19px; "/>
  699. <output id="opt_spcnm" ref="/root/init/testrslt/patinfo/spcnm" class="output_fix" style="left:83px; top:115px; width:542px; height:19px; "/>
  700. <line id="line2" class="line_2" style="x1:0px; y1:88px; x2:625px; y2:88px; "/>
  701. <line id="line5" class="line_2" style="x1:0px; y1:112px; x2:625px; y2:112px; "/>
  702. <input id="ipt_cnstdiagdd" ref="/root/main/cnstrslt/cnstrsltinfo/diagdd" class="input_default" navindex="7" inputtype="date" style="left:193px; top:241px; width:84px; height:19px; "/>
  703. <select1 id="cmb_trustdrid" ref="/root/main/cnstrslt/cnstrsltinfo/trsmid" disabled="false" appearance="minimal" style="left:170px; top:217px; width:107px; height:19px; ">
  704. <choices>
  705. <itemset nodeset="/root/init/userinfo/userinfolist[jobkindcd='1']">
  706. <label ref="usernm"/>
  707. <value ref="userid"/>
  708. </itemset>
  709. </choices>
  710. </select1>
  711. <select id="chk_cnstflagcd" ref="/root/main/cnstrslt/cnstrsltinfo/cnstflagcd" navindex="1" overflow="visible" appearance="full" cols="1" rows="2" style="left:0px; top:166px; width:277; height:34px; border-style:none; ">
  712. <choices>
  713. <itemset nodeset="/root/init/resncd/resncdlist[baseflagcd='J1']">
  714. <label ref="resncnts"/>
  715. <value ref="resncd"/>
  716. </itemset>
  717. </choices>
  718. <script type="javascript" ev:event="xforms-value-changed">
  719. <![CDATA[
  720. fExeOutCnstChoi();
  721. ]]>
  722. </script>
  723. </select>
  724. <textarea id="tar_cnstdiag" ref="/root/main/cnstrslt/cnstrsltinfo/cnstdiagcnts" navindex="9" style="left:0px; top:455px; width:625px; height:225px; "/>
  725. <caption id="cap_trustdrid" class="cell_1" style="left:0px; top:216px; width:50px; height:23px; font-family:돋움; vertical-align:middle; ">의뢰자</caption>
  726. <line id="line12" class="line_2" style="width:277; x1:0px; y1:238px; x2:277px; y2:238px; "/>
  727. <switch id="swt_cnstdrchoi" style="left:0px; top:292px; width:277px; height:27px; ">
  728. <case id="case_in">
  729. <select1 id="cmb_cnstdrid" ref="/root/main/cnstrslt/cnstrsltinfo/cnstdrid" class="combo_default" navindex="4" appearance="minimal" style="left:143px; top:3px; width:129px; height:19px; ">
  730. <choices>
  731. <itemset nodeset="/root/init/userinfo/userinfolist[jobkindcd='1']">
  732. <label ref="usernm"/>
  733. <value ref="userid"/>
  734. </itemset>
  735. </choices>
  736. </select1>
  737. <output id="opt_cnstdrnm" ref="/root/main/cnstrslt/cnstrsltinfo/cnstdrnm" class="output_fix" style="left:3; top:3px; width:137px; height:19px; "/>
  738. </case>
  739. <case id="case_out">
  740. <output id="opt_hosoutcnsthospnm" ref="/root/main/cnstrslt/cnstrsltinfo/hosoutcnsthospnm" class="output_fix" style="left:111px; top:3px; width:162px; height:19px; "/>
  741. <select1 id="cbo_outdrchoi" ref="/root/main/cnstrslt/cnstrsltinfo/hosoutcnstdrid" class="combo_default" navindex="3" appearance="minimal" style="left:3; top:3px; width:105px; height:19px; ">
  742. <choices>
  743. <itemset nodeset="/root/init/cnstdr/cnsltlist">
  744. <label ref="cnstdrnm"/>
  745. <value ref="cnstdrid"/>
  746. </itemset>
  747. </choices>
  748. <script type="javascript" ev:event="xforms-value-changed">
  749. <![CDATA[
  750. fExeCnstOutDrChange();
  751. ]]>
  752. </script>
  753. </select1>
  754. </case>
  755. <case id="case_edit" selected="true">
  756. <select1 id="combo1" ref="/root/main/cnstrslt/cnstrsltinfo/hosoutcnstdrid" class="combo_default" navindex="3" appearance="minimal" style="left:3; top:3px; width:105px; height:19px; ">
  757. <choices>
  758. <itemset nodeset="/root/init/cnstdr/cnsltlist">
  759. <label ref="cnstdrnm"/>
  760. <value ref="cnstdrid"/>
  761. </itemset>
  762. </choices>
  763. <script type="javascript" ev:event="xforms-value-changed">
  764. <![CDATA[
  765. fExeCnstOutDrChange();
  766. ]]>
  767. </script>
  768. </select1>
  769. <input id="output1" ref="/root/main/cnstrslt/cnstrsltinfo/hosoutcnsthospnm" appearance="input" style="left:111px; top:3px; width:162px; height:19px; ">
  770. <script type="javascript" ev:event="xforms-value-changed">
  771. <![CDATA[
  772. var strNode = "/root/main/cnstrslt/cnstrsltinfo";
  773. var sDrID = model.getValue("/root/main/cnstrslt/cnstrsltinfo/hosoutcnstdrid");
  774. model.makeValue(strNode+"/hosoutcnsthospnm", output1.currentText );
  775. model.refresh();
  776. ]]>
  777. </script>
  778. </input>
  779. </case>
  780. </switch>
  781. <input id="input1" ref="/root/main/cnstrslt/cnstrsltinfo/hosoutcnstdrnm" visibility="hidden" style="left:140px; top:140px; width:104px; height:19px; "/>
  782. <line id="line3" class="line_3" style="width:277; x1:0px; y1:320px; x2:620px; y2:320px; "/>
  783. <button id="btn_incnst" class="btn_sw" disabled="true" group="tab" selected="true" style="left:0px; top:270px; width:60px; height:22px; ">
  784. <caption>원내자문</caption>
  785. <toggle case="case_in" ev:event="DOMActivate"/>
  786. </button>
  787. <button id="btn_outcnst" class="btn_sw" disabled="true" group="tab" selected="true" style="left:61px; top:270px; width:60px; height:22px; ">
  788. <caption>원외자문</caption>
  789. <toggle case="case_out" ev:event="DOMActivate"/>
  790. </button>
  791. <button id="btn_reqfrm" class="btn2_letter5" style="left:550px; top:41px; width:75px; height:19px; ">
  792. <caption>의뢰지 보기</caption>
  793. <script type="javascript" ev:event="DOMActivate">
  794. <![CDATA[
  795. fGetReqFrmInfo();
  796. ]]>
  797. </script>
  798. </button>
  799. <caption id="cap_cnsthospcd" class="cell_1" visibility="hidden" style="left:190px; top:320px; width:55px; height:23px; font-family:돋움; vertical-align:middle; ">자문병원</caption>
  800. <caption id="cap_cnstdrid" class="cell_1" visibility="hidden" style="left:255px; top:320px; width:55px; height:23px; font-family:돋움; vertical-align:middle; ">자문의사</caption>
  801. <caption id="cap_outdrchoi" class="cell_1" visibility="hidden" style="left:320px; top:320px; width:55px; height:23px; font-family:돋움; vertical-align:middle; ">자문의사</caption>
  802. <group id="grp_prnt" visibility="hidden" style="left:275px; top:40px; width:40px; height:30px; "/>
  803. <select1 id="cmb_cnsthospcd" ref="/root/main/cnstrslt/cnstrsltinfo/cnsthospcd" class="combo_default" navindex="5" visibility="hidden" appearance="minimal" style="left:425px; top:325px; width:165px; height:19px; ">
  804. <choices>
  805. <itemset nodeset="/root/init/instcdlist/Z0007">
  806. <label ref="cdnm"/>
  807. <value ref="cdid"/>
  808. </itemset>
  809. </choices>
  810. </select1>
  811. <output id="opt_trsmnm" ref="/root/main/cnstrslt/cnstrsltinfo/trsmnm" class="output_fix" style="left:53px; top:217px; width:114px; height:19px; "/>
  812. <select1 id="cmb_estmdiagstat" ref="/root/main/cnstrslt/cnstrsltinfo/estmdiagstat" appearance="minimal" style="left:0px; top:405px; width:275px; height:19px; ">
  813. <choices>
  814. <itemset nodeset="/root/init/resncd/resncdlist[baseflagcd='J3']">
  815. <label ref="resncnts"/>
  816. <value ref="resncd"/>
  817. </itemset>
  818. </choices>
  819. <script type="javascript" ev:event="xforms-value-changed">
  820. <![CDATA[
  821. model.setValue("/root/main/cnstrslt/cnstrsltinfo/estmdiagstat", cmb_estmdiagstat.value);
  822. ]]>
  823. </script>
  824. </select1>
  825. </group>
  826. </xhtml:body>
  827. </xhtml:html>