SPLPJ01200_분자검사의뢰지.xrw 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPLPJ01200_분자검사의뢰지.xfm
  4. * 설 명 : 분자검사의뢰지
  5. * 설 계 자 :
  6. * 작 성 자 : 유동철(ACK)
  7. * 작 성 일 : 2007.04.04
  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. <reqfrm>
  20. <reqfrmtbl>
  21. <reqfrminfo>
  22. <reqcnts/>
  23. <inptitem01/>
  24. <inptitem02/>
  25. <choispc>
  26. <choispclist>
  27. <choi/>
  28. <spcseqno/>
  29. <spccd/>
  30. <spcnm/>
  31. </choispclist>
  32. </choispc>
  33. </reqfrminfo>
  34. </reqfrmtbl>
  35. </reqfrm>
  36. <reprspc>
  37. <reprspclist>
  38. <instcd/>
  39. <spccd/>
  40. <spcnm/>
  41. <spcabbr/>
  42. </reprspclist>
  43. </reprspc>
  44. <rtnval>
  45. <rtnvalinfo>
  46. <reqno/>
  47. <instcd/>
  48. </rtnvalinfo>
  49. </rtnval>
  50. <detlspc>
  51. <detlspclist/>
  52. </detlspc>
  53. </main>
  54. <send>
  55. <data1/>
  56. <data2/>
  57. </send>
  58. <init>
  59. <cau>
  60. 1. 병리과 분자병리 검사 중 인간 유전자에 대한 검사를 시행할 시에는 유전자
  61. 검사 동의서가 필요하며 유전자검사 동의서가 없이는 검사 진행이 불가
  62. 하므로 반드시 작성해서 검체와 바코드, 유전자검사 동의서를 병리과에
  63. 접수하여 주십시요. 이미 채취되어 파라핀 포매된 검체에 대해 처방하실
  64. 경우에도 바코드와 유전자검사 동의서를 함께 동봉하여 병리과로 접수하여
  65. 주십시요. 유전자검사 동의서는 병리과에서 복사 후 다시 의무기록실로
  66. 우송됩니다.
  67. 2. 인간유전자 이외에 대한 분자병리검사와 ATP 기반 항암제 감수성 검사는
  68. 유전자검사 동의서를 작성하지 않습니다.
  69. 3. ATP 기반 항암제 감수성 검사를 제외한 나머지 분자병리 검사는 파라핀
  70. 포매 조직에서 검사가 가능하므로 다른 병리 처방과 마찬가지로 해당 조직
  71. 검사번호를 지정한 후 처방을 저장하시면 됩니다. 하지만 ATP 기반 항암제
  72. 감수성 검사는 신선조직을 이용한 검사이므로 수술 시에 검사용 신선
  73. 검체를 채취 해야 하므로 검사를 시행할 검체를 바코드 및 유전자 검사
  74. 동의서를 동봉해 즉시 병리과에 접수시켜 주십시요.
  75. 4. 조직을 이용한 Tb PCR의 경우 파라핀 포매 조직에서 시행하는 검사이므로
  76. 반드시 PMO11005로 처방해야 합니다.
  77. 5. 조직을 이용한 HPV DNA chip 검사의 경우 파라핀 포매 조직에서 시행하는
  78. 검사이므로 반드시 PMO03004로 처방해야 합니다.
  79. 6. 항암제 반응예측에 이용되는 유전자 돌연변이 염기서열검사 및 ATP 기반
  80. 항암제 감수성 검사 및 등은 외부 위탁 과정을 거처 결과를 보고받으므로
  81. 결과는 접수 후 10~15일 정도 소요됩니다.
  82. 7. 검사를 의뢰하시기 전 문의사항이 있을 시에는 반드시 병리과 분자병리부로
  83. 전화를 주셔서 검사 내용에 관한 확인을 하시기 바랍니다.
  84. </cau>
  85. <bfptno>
  86. <bfptnolist>
  87. <instcd/>
  88. <pid/>
  89. <ptno/>
  90. <dispptno/>
  91. <diagcd/>
  92. <extrpartcd/>
  93. <extrmthdcd/>
  94. </bfptnolist>
  95. </bfptno>
  96. <resncd>
  97. <resncdlist/>
  98. </resncd>
  99. </init>
  100. <hidden>
  101. <userinfo>
  102. <instcd/>
  103. </userinfo>
  104. <reqfrminfo>
  105. <pid/>
  106. <prcpcd/>
  107. <prcpnm/>
  108. <opnm/>
  109. <spccd/>
  110. <spcnm/>
  111. <reqno/>
  112. <reqhistno/>
  113. </reqfrminfo>
  114. <humspe/>
  115. <humspe_ext/>
  116. </hidden>
  117. </root>
  118. </instance>
  119. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  120. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  121. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  122. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  123. <script type="javascript" ev:event="xforms-ready">
  124. <![CDATA[
  125. fExeInitialize();
  126. ]]>
  127. </script>
  128. <submission id="TXLPJ01501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rtnval/rtnvalinfo"/>
  129. <submission id="TRLPJ01501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/detlspc/detlspclist"/>
  130. <submission id="TRLPJ01502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/reqfrm"/>
  131. <submission id="TRLPJ01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/relaptno/ptnohistlist"/>
  132. <submission id="TRLPJ01503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/reprspc/reprspclist"/>
  133. <submission id="TRLPZ00108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/bfptno/bfptnolist"/>
  134. <submission id="TRLPZ00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/resncd/resncdlist"/>
  135. </model>
  136. <script type="javascript">
  137. <![CDATA[
  138. /* @group : 비부인과의뢰지 팝업화면
  139. * @ver : 2007.04.04 (CMCDEV-0001)
  140. * @by : 유동철(ACK)
  141. * @-----------------------------------
  142. * @type : function
  143. * @access : public
  144. * @desc : 화면 Initialize함수
  145. */
  146. function fExeInitialize() {
  147. var sReqFrmNo = "";
  148. var strNode = "/root/main/reqfrm/reqfrmtbl/reqfrminfo/choispc/choispclist";
  149. /*
  150. //----------------------------------------------------------------
  151. // 처방등록 화면에서 호출되지 않는 경우는 "저장" 기능을 비 활성화 처리
  152. if (model.getValue("/root/hidden/reqfrminfo/scrnno") == "10") {
  153. btn_save.visible = true;
  154. btn_sytsrsltref.visible = true;
  155. } else {
  156. btn_save.visible = false;
  157. btn_sytsrsltref.visible = false;
  158. }
  159. */
  160. //--------------------------
  161. //인종/민족정보 조회.
  162. model.removeNodeset("/root/send");
  163. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  164. model.makeValue("/root/send/baseflagcd", "'HS'");
  165. submit("TRLPZ00103");
  166. //-----------------------------------------------------------------
  167. model.removeNodeset("/root/init/resncd/resncdlist[resncd='ZZZZ']");
  168. iNo = getNodesetCount("/root/init/resncd/resncdlist");
  169. model.makeValue("/root/init/resncd/resncdlist["+(Number(iNo) + 1)+"]/instcd", getUserInfo("dutplceinstcd"));
  170. model.makeValue("/root/init/resncd/resncdlist["+(Number(iNo) + 1)+"]/flagcd", "HS");
  171. model.makeValue("/root/init/resncd/resncdlist["+(Number(iNo) + 1)+"]/resncd", "EXTR");
  172. model.makeValue("/root/init/resncd/resncdlist["+(Number(iNo) + 1)+"]/resncnts", "기타");
  173. model.makeValue("/root/init/resncd/resncdlist["+(Number(iNo) + 2)+"]/instcd", getUserInfo("dutplceinstcd"));
  174. model.makeValue("/root/init/resncd/resncdlist["+(Number(iNo) + 2)+"]/flagcd", "HS");
  175. // model.makeValue("/root/init/resncd/resncdlist["+(Number(iNo) + 2)+"]/resncd", "-");
  176. // model.makeValue("/root/init/resncd/resncdlist["+(Number(iNo) + 2)+"]/resncnts", " ");
  177. //-------------------------
  178. // 검체팝업 호출을 위한 노드
  179. model.setValue("/root/hidden/userinfo/instcd", getUserInfo("dutplceinstcd"));
  180. /*
  181. //-------------
  182. // Test용 자료
  183. model.setValue("/root/hidden/reqfrminfo/pid", "10434");
  184. model.setValue("/root/hidden/reqfrminfo/prcpcd", "PMO01001");
  185. // model.setValue("/root/hidden/reqfrminfo/spccd", "T06000");
  186. model.setValue("/root/hidden/reqfrminfo/reqno", "33");
  187. */
  188. //------------------------------------------------------
  189. model.removeNodeset("/root/init/relaptno/ptnohistlist");
  190. //-------------------
  191. // 대표검체 목록 조회
  192. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  193. model.makeValue("/root/send/prcpcd", model.getValue("/root/hidden/reqfrminfo/prcpcd"));
  194. model.makeValue("/root/send/spccd", model.getValue("/root/hidden/reqfrminfo/spccd"));
  195. model.makeValue("/root/send/spcflagcd", "0");
  196. submit("TRLPJ01501", false);
  197. cmb_reprspccd.refresh();
  198. model.removeNodeset("/root/main/reprspc/reprspclist");
  199. model.makeNode("/root/main/reprspc/reprspclist");
  200. copyNodesetType("/root/main/reprspc/reprspclist", "/root/main/detlspc/detlspclist");
  201. model.removeNodeset("/root/main/detlspc/detlspclist");
  202. //----------------------------
  203. // 의뢰지내용 및 대표검체 조회
  204. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  205. model.makeValue("/root/send/pid", model.getValue("/root/hidden/reqfrminfo/pid"));
  206. model.makeValue("/root/send/prcpcd", model.getValue("/root/hidden/reqfrminfo/prcpcd"));
  207. model.makeValue("/root/send/spccd", model.getValue("/root/hidden/reqfrminfo/spccd"));
  208. //submit("TRLPJ01503"); // 대표검체 조회
  209. submit("TRLPZ00108"); // 이전 병리번호 목록 조회
  210. //----------------------------------------------------------
  211. sReqFrmNo = model.getValue("/root/hidden/reqfrminfo/reqno");
  212. sReqFrmNo = sReqFrmNo.getLeftPad(1, "0");
  213. //----------------------------------------------
  214. // 의뢰지번호가 존재할 경우 의뢰지내용을 조회한다.
  215. if (sReqFrmNo != "0") {
  216. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  217. model.makeValue("/root/send/pid", model.getValue("/root/hidden/reqfrminfo/pid"));
  218. model.makeValue("/root/send/reqno", model.getValue("/root/hidden/reqfrminfo/reqno"));
  219. submit("TRLPJ01502");
  220. //과거블록지정으로 생성된 의뢰지일 경우 초기화 한다.
  221. if(model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/selectrelaptno/prcpdd") != "") {
  222. model.removeNodeset(strNode);
  223. model.removeNodeset("/root/main/reqfrm/reqfrmtbl/reqfrminfo/selectrelaptno");
  224. model.makeValue("/root/hidden/reqfrminfo/reqno", "0");
  225. model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/reqcnts", "");
  226. model.makeValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01", "");
  227. model.makeValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem02", "0");
  228. } else {
  229. model.makeValue("/root/hidden/reqfrminfo/spccd", model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/choispc/choispclist/spccd"));
  230. model.makeValue("/root/hidden/reqfrminfo/spcnm", model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/choispc/choispclist/spcnm"));
  231. model.makeValue("/root/hidden/humspe", model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/humspeccd"));
  232. if(model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/humspeccd") == "EXTR") {
  233. model.makeValue("/root/hidden/humspe_ext", model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/humspecnm"));
  234. }
  235. fChkHumenSpeText();
  236. }
  237. } else {
  238. model.removeNodeset(strNode);
  239. model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/reqcnts", "");
  240. model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01", "");
  241. model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem02", "0");
  242. }
  243. //---------------------------------------------
  244. // 대표검체코드가 처방화면에서 넘어온 경우 처리
  245. if (model.getValue("/root/hidden/reqfrminfo/spccd") != "" && model.getValue("/root/hidden/reqfrminfo/spccd") != "-") {
  246. if (sReqFrmNo != "0") {
  247. // Continue
  248. } else {
  249. model.makeValue(strNode + "[1]/choi", "true");
  250. model.makeValue(strNode + "[1]/spcseqno", "001");
  251. model.makeValue(strNode + "[1]/spccd", model.getValue("/root/hidden/reqfrminfo/spccd"));
  252. model.makeValue(strNode + "[1]/spcnm", model.getValue("/root/hidden/reqfrminfo/spcnm"));
  253. model.makeValue(strNode + "[1]/existyn", "N");
  254. }
  255. } else {
  256. cmb_reprspccd.disabled = false;
  257. cmb_reprspccd.refresh();
  258. }
  259. btn_save
  260. //-------------------------------------------------------------
  261. // 처방상태코드가 바코드출력(420)보다 적은 경우만 검체수정 가능
  262. if (Number(model.getValue("/root/hidden/reqfrminfo/prcpstatcd")) >= 400) {
  263. btn_save.disabled = true;
  264. } else {
  265. if(Number(model.getValue("/root/main/reqfrm/prcpstatcd")) >= 400) {
  266. btn_save.disabled = true;
  267. }else {
  268. btn_save.disabled = false;
  269. }
  270. }
  271. //-----------------------
  272. // 2010-09-07 : YDC ---> 기본 표시로 "아시안"을 표시한다.
  273. if (getNodesetCount("/root/init/resncd/resncdlist") > 0) {
  274. model.makeValue("/root/hidden/humspe", "1003"); // 아시안 인종
  275. }
  276. //-------------
  277. model.refresh();
  278. }
  279. /* @group : 비부인과의뢰지 팝업화면
  280. * @ver : 2007.04.04 (CMCDEV-0001)
  281. * @by : 유동철(ACK)
  282. * @-----------------------------------
  283. * @type : function
  284. * @access : public
  285. * @desc : 화면 닫기 함수
  286. */
  287. function fScrnClos() {
  288. window.close();
  289. }
  290. /* @group : 부인과의뢰지 팝업화면
  291. * @ver : 2007.04.06 (CMCDEV-0001)
  292. * @by : 유동철(ACK)
  293. * @-----------------------------------
  294. * @type : function
  295. * @access : public
  296. * @desc : 통합결과조회 처리 Function
  297. */
  298. function fSytsRsltRef() {
  299. model.alert("통합결과조회를 볼 수 있습니다.");
  300. }
  301. /* @group : 조직검사의뢰지
  302. * @ver : 2007.04.02 (CMCDEV-0001)
  303. * @by : 유동철(ACK)
  304. * @-----------------------------------
  305. * @type : function
  306. * @access : public
  307. * @desc : 설정값 저장 Function
  308. */
  309. function fExeSave() {
  310. var sSpcCd = "";
  311. var sSpcNm = "";
  312. var strNode = "/root/main/reqfrm/reqfrmtbl/reqfrminfo/choispc/choispclist";
  313. var node = instance1.selectSingleNode("/root/main/reqfrm/reqfrmtbl/reqfrminfo");
  314. //-------------------------------------------------------------------------
  315. //인종/민족 set
  316. var sHumSpe = model.getValue("/root/hidden/humspe");
  317. var sHumSpeNm = "";
  318. if(sHumSpe == "EXTR") {
  319. sHumSpeNm = model.getValue("/root/hidden/humspe_ext");
  320. } else {
  321. for(var iNo = 1 ; iNo <= getNodesetCount("/root/init/resncd/resncdlist") ; iNo++) {
  322. if(model.getValue("/root/init/resncd/resncdlist["+ iNo +"]/resncd") == sHumSpe) {
  323. sHumSpeNm = model.getValue("/root/init/resncd/resncdlist["+ iNo +"]/resncnts");
  324. }
  325. }
  326. }
  327. model.makeValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/humspecnm", sHumSpeNm);
  328. model.makeValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/humspeccd" , sHumSpe);
  329. //--------------------------------------------------------------------------\
  330. //-----------------------------------------------------------
  331. //----------------- 수정 박중규 2008.09.05 --------------------
  332. //대표검체를 선택하지 않았을 경우 default 값이 '-' 이나 공백만 체크 되었고 조건도 오류. [ if (model.getValue("/root/hidden/reqfrminfo/spccd") <= "") { ]
  333. if (model.getValue("/root/hidden/reqfrminfo/spccd") == "" || model.getValue("/root/hidden/reqfrminfo/spccd") == "-" || cmb_reprspccd.label == "") {
  334. messageBox("대표검체는 ", "I003");
  335. return false;
  336. }
  337. //-----------------------------------------------------------
  338. //----------------- 수정 박상환 2010.02.08 --------------------
  339. //인종/민족을 선택하지 않았을 경우 default 값이 '-' 이나 공백만 체크 되었고 조건도 오류. [ if (model.getValue("/root/hidden/reqfrminfo/spccd") <= "") { ]
  340. if (model.getValue("/root/hidden/humspe") == "" || model.getValue("/root/hidden/humspe") == "-" || cmb_humspe.label == "") {
  341. messageBox("인종/민족은 ", "I003");
  342. return false;
  343. }
  344. //-------------------------------------------------------
  345. sSpcCd = model.getValue("/root/hidden/reqfrminfo/spccd");
  346. sSpcNm = model.getValue("/root/main/reprspc/reprspclist[spccd='"+ sSpcCd +"']/spcnm");
  347. //------------------
  348. // 검체 추가정보 설정
  349. model.makeValue(strNode + "/choi", "true");
  350. model.makeValue(strNode + "/spcseqno", "001");
  351. model.makeValue(strNode + "/spccd", sSpcCd);
  352. model.makeValue(strNode + "/spcnm", sSpcNm);
  353. model.makeValue(strNode + "/existyn", "N");
  354. model.makeValue(strNode + "/slidno", "0");
  355. //---------------------------------
  356. model.removeNodeset("/root/send");
  357. model.makeValue("/root/send/pid", model.getValue("/root/hidden/reqfrminfo/pid"));
  358. model.makeValue("/root/send/scrno", "40");
  359. model.makeValue("/root/send/reqno", (model.getValue("/root/hidden/reqfrminfo/reqno")).toString().getLeftPad(1, "0"));
  360. model.makeValue("/root/send/reqcnts", "");
  361. model.setValue("/root/send/reqcnts", node.xml, true);
  362. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  363. model.makeValue("/root/send/prcpdd", model.getValue("/root/hidden/reqfrminfo/prcpdd"));
  364. model.makeValue("/root/send/execprcpuniqno", model.getValue("/root/hidden/reqfrminfo/execprcpuniqno"));
  365. //------------------------
  366. if (!submit("TXLPJ01501")) {
  367. messageBox("의뢰지 저장을", "E009");
  368. return false;
  369. }
  370. //------------------
  371. // 의뢰지번호 Return
  372. opener.model.setValue("/root/hidden/reqfrminfo/reqno", model.getValue("/root/main/rtnval/rtnvalinfo/reqno"));
  373. opener.model.setValue("/root/hidden/reqfrminfo/spccd", model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/choispc/choispclist[1]/spccd"));
  374. opener.model.setValue("/root/hidden/reqfrminfo/spcnm", model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/choispc/choispclist[1]/spcnm"));
  375. //------------
  376. model.close();
  377. }
  378. /* @group : 분자검사의뢰지
  379. * @ver : 2007.04.07 (CMCDEV-0001)
  380. * @by : 유동철(ACK)
  381. * @-----------------------------------
  382. * @type : function
  383. * @access : public
  384. * @desc : 검체팝업 처리 Function
  385. */
  386. function fExeSpcPopup() {
  387. lpzfExeComnOpenScrn("spccd", "/root/hidden/reqfrminfo");
  388. model.refresh();
  389. }
  390. /* @group : 분자검사의뢰지
  391. * @ver : 2007.04.07 (CMCDEV-0001)
  392. * @by : 유동철(ACK)
  393. * @-----------------------------------
  394. * @type : function
  395. * @access : public
  396. * @desc : 관련병리번호 클릭 처리 Function
  397. */
  398. function fExeRelaPtNoClick() {
  399. if (grd_relaptno.row > 0) {
  400. model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01", model.getValue("/root/init/bfptno/bfptnolist[" + grd_relaptno.row + "]/ptno"));
  401. model.refresh();
  402. }
  403. }
  404. /* @group : 분자검사의뢰지
  405. * @ver : 2007.04.07 (CMCDEV-0001)
  406. * @by : 유동철(ACK)
  407. * @-----------------------------------
  408. * @type : function
  409. * @access : public
  410. * @desc : 인종 입력박스 활성화 여부 체크
  411. */
  412. function fChkHumenSpeText() {
  413. if(model.getValue("/root/hidden/humspe") == "EXTR") {
  414. ipt_humspe.disabled = false;
  415. } else {
  416. model.setValue("/root/hidden/humspe_ext", "");
  417. ipt_humspe.disabled = true;
  418. }
  419. ipt_humspe.refresh();
  420. }
  421. ]]>
  422. </script>
  423. </xhtml:head>
  424. <xhtml:body pagewidth="996" pageheight="602" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  425. <group id="group2" scroll="auto" style="left:0px; top:559px; width:980px; height:27px; ">
  426. <button id="btn_exit" class="btn4_letter2" navindex="7" style="left:924; top:5px; width:56px; height:22px; ">
  427. <caption>닫기</caption>
  428. <script type="javascript" ev:event="DOMActivate">
  429. <![CDATA[
  430. fScrnClos();
  431. ]]>
  432. </script>
  433. </button>
  434. <line id="line17" class="line_6" style="x1:0px; y1:0px; x2:980; y2:0px; "/>
  435. <button id="btn_save" class="btn4_letter2" style="left:865; top:5px; width:56px; height:22px; ">
  436. <caption>확인</caption>
  437. <script type="javascript" ev:event="DOMActivate">
  438. <![CDATA[
  439. fExeSave();
  440. ]]>
  441. </script>
  442. </button>
  443. <button id="btn_sytsrsltref" class="btn3_letter6" style="left:0; top:3px; width:56px; height:22px; ">
  444. <caption>통합결과조회</caption>
  445. <script type="javascript" ev:event="DOMActivate">
  446. <![CDATA[
  447. fSytsRsltRef();
  448. ]]>
  449. </script>
  450. </button>
  451. </group>
  452. <group id="grp_biz" style="left:0px; top:0px; width:980; height:559; ">
  453. <caption id="caption1" class="tit_2" autoresize="true" style="left:5px; top:10px; width:160px; height:14px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">대표검체 및 처방정보</caption>
  454. <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:530px; y2:25px; "/>
  455. <caption id="caption4" class="cell_1" style="left:299px; top:30px; width:80; height:23px; text-align:center; vertical-align:middle; ">처방명</caption>
  456. <output id="output1" ref="/root/hidden/reqfrminfo/prcpnm" class="output_fix" style="left:382px; top:31px; width:147px; height:19px; "/>
  457. <caption id="caption5" class="tit_2" autoresize="true" style="left:5px; top:115px; width:170px; height:13px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">임상정보 및 기록사항</caption>
  458. <line id="line3" class="line_1" style="x1:0px; y1:130px; x2:530px; y2:130px; "/>
  459. <textarea id="textarea1" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/reqcnts" style="left:0px; top:135px; width:530px; height:257px; "/>
  460. <caption id="caption3" class="cell_1" style="left:0; top:30px; width:80; height:23px; text-align:center; vertical-align:middle; ">대표검체</caption>
  461. <line id="line4" class="line_3" style="x1:0px; y1:52px; x2:530px; y2:52px; "/>
  462. <caption id="caption2" class="tit_2" autoresize="true" style="left:5px; top:401px; width:170px; height:14px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">관련병리번호</caption>
  463. <line id="line2" class="line_1" style="x1:0px; y1:416; x2:530px; y2:416; "/>
  464. <datagrid id="grd_relaptno" nodeset="/root/init/bfptno/bfptnolist" caption="기관코드^등록번호^병리번호^병리번호^M^T^P" colsep="^" colwidth="0, 0, 0, 90, 140, 140, 140" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" style="left:0px; top:421px; width:530px; height:138; ">
  465. <col ref="instcd"/>
  466. <col ref="pid"/>
  467. <col ref="ptno"/>
  468. <col class="text_center" ref="dispptno"/>
  469. <col class="text_center" ref="diagcd"/>
  470. <col class="text_center" ref="extrpartcd"/>
  471. <col class="text_center" ref="extrmthdcd"/>
  472. <script type="javascript" ev:event="onclick">
  473. <![CDATA[
  474. fExeRelaPtNoClick();
  475. ]]>
  476. </script>
  477. </datagrid>
  478. <caption id="caption6" class="tit_2" autoresize="true" style="left:540px; top:10px; width:170px; height:14px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">가족력</caption>
  479. <line id="line5" class="line_1" style="x1:535px; y1:25px; x2:980px; y2:25px; "/>
  480. <select1 id="rdo_famyhist" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem02" appearance="full" cellspacing="164" cols="3" overflow="visible" style="left:535px; top:29px; width:445px; height:20px; border-style:none; ">
  481. <choices>
  482. <item>
  483. <label>유</label>
  484. <value>0</value>
  485. </item>
  486. <item>
  487. <label>무</label>
  488. <value>1</value>
  489. </item>
  490. <item>
  491. <label>모름</label>
  492. <value>2</value>
  493. </item>
  494. </choices>
  495. </select1>
  496. <caption id="caption7" class="tit_2" autoresize="true" style="left:540px; top:62px; width:170px; height:13px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">주의사항</caption>
  497. <line id="line6" class="line_1" style="x1:535px; y1:77px; x2:980px; y2:77px; "/>
  498. <textarea id="tar_cau" ref="/root/init/cau" style="left:535px; top:82px; width:445px; height:477px; word-wrap:letter; line-spacing:3; "/>
  499. <output id="output3" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01" class="output_fix" style="left:105px; top:396px; width:152px; height:19px; "/>
  500. <select1 id="cmb_reprspccd" ref="/root/hidden/reqfrminfo/spccd" class="combo_essential" appearance="minimal" editmode="search" itemcount="25" style="left:83; top:31px; width:213; height:19px; ">
  501. <choices>
  502. <itemset nodeset="/root/main/reprspc/reprspclist">
  503. <label ref="spcnm"/>
  504. <value ref="spccd"/>
  505. </itemset>
  506. </choices>
  507. </select1>
  508. <caption id="caption8" class="tit_2" autoresize="true" style="left:5px; top:62px; width:170px; height:13px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">인종/민족</caption>
  509. <caption id="caption9" class="cell_1" style="left:2px; top:82px; width:80px; height:23px; text-align:center; vertical-align:middle; ">인종/민족</caption>
  510. <line id="line7" class="line_1" style="x1:2px; y1:77px; x2:532px; y2:77px; "/>
  511. <line id="line8" class="line_3" style="x1:2px; y1:105px; x2:532px; y2:105px; "/>
  512. <select1 id="cmb_humspe" ref="/root/hidden/humspe" class="combo_essential" appearance="minimal" editmode="search" itemcount="25" style="left:85px; top:83px; width:213px; height:19px; ">
  513. <choices>
  514. <itemset nodeset="/root/init/resncd/resncdlist">
  515. <label ref="resncnts"/>
  516. <value ref="resncd"/>
  517. </itemset>
  518. </choices>
  519. <script type="javascript" ev:event="xforms-value-changed">
  520. <![CDATA[
  521. fChkHumenSpeText();
  522. ]]>
  523. </script>
  524. </select1>
  525. <input id="ipt_humspe" ref="/root/hidden/humspe_ext" disabled="true" style="left:300px; top:83px; width:230px; height:19px; "/>
  526. </group>
  527. </xhtml:body>
  528. </xhtml:html>