SPLRR90100_골수검사의뢰서등록.xrw 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPLRR90100_골수검사의뢰서등록.xrw
  4. * 설 명 : 골수검사의뢰서 등록
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : (주)에이씨케이 - 박정은
  7. * 작 성 일 : 2007.05.21
  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. <choispc>
  23. <choispclist>
  24. <choi/>
  25. <spcseqno/>
  26. <spccd/>
  27. <spccd2/>
  28. </choispclist>
  29. </choispc>
  30. <inptitem01>
  31. <initial/>
  32. <fu/>
  33. <others/>
  34. </inptitem01>
  35. <inptitem02>
  36. <initial/>
  37. <chemo/>
  38. <bmt/>
  39. <bmtdt/>
  40. <ro/>
  41. <others/>
  42. </inptitem02>
  43. <inptitem03/>
  44. </reqfrminfo>
  45. </reqfrmtbl>
  46. </reqfrm>
  47. <rtnval>
  48. <rtnvalinfo>
  49. <reqno/>
  50. <instcd/>
  51. </rtnvalinfo>
  52. </rtnval>
  53. </main>
  54. <send>
  55. </send>
  56. <init>
  57. </init>
  58. <hidden>
  59. <reqfrminfo>
  60. <pid/>
  61. <prcpcd/>
  62. <prcpnm/>
  63. <opnm/>
  64. <spccd/>
  65. <spcnm/>
  66. <reqno/>
  67. <reqhistno/>
  68. </reqfrminfo>
  69. </hidden>
  70. </root>
  71. </instance>
  72. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  73. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  74. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  75. <script type="javascript" ev:event="xforms-ready">
  76. <![CDATA[
  77. fExeInitialize();
  78. ]]>
  79. </script>
  80. <submission id="TXLRR90201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rtnval/rtnvalinfo"/>
  81. <submission id="TRLRR90201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/reqfrm"/>
  82. </model>
  83. <script type="javascript">
  84. <![CDATA[
  85. /* @group : 골수검사 의뢰서 팝업화면
  86. * @ver : 2007.05.21
  87. * @by : 박정은(ACK)
  88. * @-----------------------------------
  89. * @type : function
  90. * @access : public
  91. * @desc : 화면 Initialize함수
  92. */
  93. function fExeInitialize() {
  94. //----------------------------------------------------------------
  95. // 처방등록 화면에서 호출되지 않는 경우는 "저장" 기능을 비 활성화 처리
  96. if (model.getValue("/root/hidden/reqfrminfo/scrnno") == "10") {
  97. btn_save.visible = true;
  98. } else {
  99. btn_save.visible = false;
  100. }
  101. //-------------
  102. // Test용 자료
  103. //model.setValue("/root/hidden/reqfrminfo/pid", "00000010");
  104. //model.setValue("/root/hidden/reqfrminfo/prcpcd", "T2");
  105. //model.setValue("/root/hidden/reqfrminfo/spccd", "TC2003");
  106. //model.setValue("/root/hidden/reqfrminfo/reqno", "1");
  107. //model.setValue("/root/hidden/reqfrminfo/pid", "56605");
  108. //model.setValue("/root/hidden/reqfrminfo/prcpcd", "LHB002");
  109. //model.setValue("/root/hidden/reqfrminfo/spccd", "015");
  110. //model.setValue("/root/hidden/reqfrminfo/reqno", 27);
  111. //----------------------------------------------
  112. // 의뢰지번호가 존재할 경우 의뢰지내용을 조회한다.
  113. //alert("aa= " + model.getValue("/root/hidden/reqfrminfo/reqno"));
  114. if(getNodesetCount("/root/hidden/reqfrminfo/reqcnts") <= 0) { //내용이 없다
  115. if (model.getValue("/root/hidden/reqfrminfo/reqno") != "0") { //의뢰지번호 존재시
  116. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  117. model.makeValue("/root/send/pid", model.getValue("/root/hidden/reqfrminfo/pid"));
  118. model.makeValue("/root/send/reqno", model.getValue("/root/hidden/reqfrminfo/reqno"));
  119. submit("TRLRR90201");
  120. if(model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/initial") != "") { //Initial 내용 있음
  121. fSetRadioSelect("1");
  122. } else if(model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/fu") != "") { //FU 내용 있음
  123. fSetRadioSelect("2");
  124. } else if(model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/others") != "") { //Other 내용 있음
  125. fSetRadioSelect("3");
  126. }
  127. } else { //의뢰지 번호 없어.!
  128. model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01", "");
  129. model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem02", "");
  130. model.setValue("/root/hidden/reqfrminfo/reqno", "0");
  131. group4.disabled = true; //FU 선택전 체크할수 없음
  132. group5.disabled = true; //Initial 선택전 체크 할수 없음
  133. tar_others.disabled ="true"; //Others 선택전 입력 불가
  134. }
  135. } else { //내용이 있다(ex> 특수에서 의뢰서 띄울때 처럼)
  136. model.removeNodeset("/root/main/reqfrm/reqfrmtbl/reqfrminfo");
  137. model.makeNode("/root/main/reqfrm/reqfrmtbl/reqfrminfo");
  138. copyNodesetType("/root/main/reqfrm/reqfrmtbl/reqfrminfo", "/root/hidden/reqfrminfo/reqcnts/reqfrminfo"); //의뢰서 내용 main으로 복사
  139. if(model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/initial") != "") { //Initial 내용 있음
  140. fSetRadioSelect("1");
  141. } else if(model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/fu") != "") { //FU 내용 있음
  142. fSetRadioSelect("2");
  143. } else if(model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/others") != "") { //Other 내용 있음
  144. fSetRadioSelect("3");
  145. }
  146. }
  147. //-------------
  148. model.refresh();
  149. }
  150. // 골수검사 의뢰 이유 선택 시 체크 불가, 가능 설정
  151. function fSetRadioSelect(Ref){
  152. var Ref = Ref;
  153. if(Ref == "1"){ //Initial
  154. rdo_initial.value ="Initial";
  155. rdo_fu.value = "";
  156. rdo_others.value ="";
  157. group4.disabled = true; //FU 선택전 체크할수 없음
  158. group5.disabled = false; //initial 체크 가능
  159. tar_others.disabled ="true"; //Others 선택전 입력 불가
  160. }else if(Ref == "2"){
  161. rdo_initial.value = "";
  162. rdo_fu.value = "F/U";
  163. rdo_others.value ="";
  164. group4.disabled = false; //FU 체크 가능
  165. group5.disabled = true; //Initial 선택전 체크 할수 없음
  166. tar_others.disabled ="true"; //Others 선택전 입력 불가
  167. }else if(Ref == "3"){
  168. rdo_initial.value = "";
  169. rdo_fu.value = "";
  170. rdo_others.value ="Others";
  171. group4.disabled = true; //FU 선택전 체크할수 없음
  172. group5.disabled = true; //Initial 선택전 체크 할수 없음
  173. tar_others.disabled ="false"; //Others 입력 가능
  174. }
  175. }
  176. // 확인버튼 클릭시 저장
  177. function fExeClinicSave(){
  178. var strNode = "/root/main/reqfrm/reqfrmtbl/reqfrminfo/choispc/choispclist";
  179. var node = instance1.selectSingleNode("/root/main/reqfrm/reqfrmtbl/reqfrminfo"); //xml 저장을 위해 노드로 만듬
  180. // 검체 추가정보 설정
  181. model.makeValue(strNode + "/choi", "true");
  182. model.makeValue(strNode + "/spcseqno", "001");
  183. model.makeValue(strNode + "/spccd", model.getValue("/root/hidden/reqfrminfo/spccd"));
  184. model.makeValue(strNode + "/spccd2", model.getValue("/root/hidden/reqfrminfo/spccd"));
  185. model.removeNodeset("/root/send");
  186. model.makeValue("/root/send/pid", model.getValue("/root/hidden/reqfrminfo/pid"));
  187. model.makeValue("/root/send/reqno", model.getValue("/root/hidden/reqfrminfo/reqno"));
  188. model.makeValue("/root/send/reqcnts", node.xml, true);
  189. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  190. //------------------------
  191. if (!submit("TXLRR90201")) {
  192. messageBox("의뢰지 저장을", "E009");
  193. return false;
  194. }
  195. //------------------
  196. // 의뢰지번호 Return
  197. opener.model.setValue("/root/hidden/reqfrminfo/reqno", model.getValue("/root/main/rtnval/rtnvalinfo/reqno"));
  198. //------------
  199. model.close();
  200. }
  201. // 닫기
  202. function fSetClose(){
  203. window.close();
  204. }
  205. ]]>
  206. </script>
  207. </xhtml:head>
  208. <xhtml:body pagewidth="520" pageheight="640" guideline="1,1194;" style="border-color:#000000; margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  209. <group id="group1" style="left:0px; top:13px; width:500px; height:577px; ">
  210. <line id="line1" class="line_1" style="x1:0px; y1:26px; x2:490px; y2:26px; "/>
  211. <caption id="caption1" class="tit_2" style="left:5px; top:205px; width:30px; height:13px; "/>
  212. <line id="line2" class="line_1" style="x1:0px; y1:220px; x2:490px; y2:220px; "/>
  213. <line id="line5" class="line_3" style="x1:0px; y1:195px; x2:490px; y2:195px; "/>
  214. <caption id="caption5" class="tit_2" style="left:5px; top:456px; width:26px; height:13px; "/>
  215. <line id="line6" class="line_1" style="x1:0px; y1:471px; x2:490px; y2:471px; "/>
  216. <caption id="caption7" class="cell_1" style="left:0px; top:476px; width:100px; height:47px; vertical-align:middle; ">Others</caption>
  217. <line id="line7" class="line_3" style="x1:0px; y1:522px; x2:490px; y2:522px; "/>
  218. <caption id="caption3" class="tit_2" style="left:5px; top:11px; width:25px; height:13px; "/>
  219. <select1 id="rdo_initial" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/initial" appearance="full" overflow="visible" style="left:19px; top:9px; width:79px; height:13px; font-weight:bold; border-style:none; ">
  220. <choices>
  221. <item>
  222. <label>Initial</label>
  223. <value>Initial</value>
  224. </item>
  225. </choices>
  226. <script type="javascript" ev:event="xforms-value-changed">
  227. <![CDATA[
  228. model.resetInstanceNode("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem02");
  229. fSetRadioSelect("1");
  230. ]]>
  231. </script>
  232. </select1>
  233. <select1 id="rdo_fu" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/fu" appearance="full" overflow="visible" style="left:19px; top:203px; width:55px; height:13px; font-weight:bold; border-style:none; ">
  234. <choices>
  235. <item>
  236. <label>F/U</label>
  237. <value>F/U</value>
  238. </item>
  239. </choices>
  240. <script type="javascript" ev:event="xforms-value-changed">
  241. <![CDATA[
  242. model.resetInstanceNode("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem02");
  243. fSetRadioSelect("2");
  244. ]]>
  245. </script>
  246. </select1>
  247. <select1 id="rdo_others" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/others" appearance="full" overflow="visible" style="left:19px; top:454px; width:75px; height:13px; font-weight:bold; border-style:none; ">
  248. <choices>
  249. <item>
  250. <label>Others</label>
  251. <value>Others</value>
  252. </item>
  253. </choices>
  254. <script type="javascript" ev:event="xforms-value-changed">
  255. <![CDATA[
  256. model.resetInstanceNode("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem02");
  257. fSetRadioSelect("3");
  258. ]]>
  259. </script>
  260. </select1>
  261. <textarea id="tar_others" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem02/others" style="left:102px; top:476px; width:388px; height:45px; "/>
  262. <group id="group4" style="left:0px; top:225px; width:495px; height:230px; ">
  263. <input id="ipt_bmt" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem02/bmtdt" class="input_default" inputtype="date" format="yyyy-mm" style="left:264px; top:187px; width:80px; height:19px; "/>
  264. <select id="chk_ro" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem02/ro" overflow="visible" appearance="full" cellspacing="40" cols="1" rows="10" sep="," vcellspacing="3" style="left:337px; top:5px; width:160px; height:35px; border-style:none; ">
  265. <choices>
  266. <item>
  267. <label>R/O relapse</label>
  268. <value>R/O relapse</value>
  269. </item>
  270. </choices>
  271. </select>
  272. <select id="chk_chem" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem02/chemo" overflow="visible" appearance="full" cellspacing="40" cols="1" rows="10" sep="," vcellspacing="3" style="left:10px; top:29px; width:160px; height:200px; border-style:none; ">
  273. <choices>
  274. <item>
  275. <label>ChemoTx 7일째</label>
  276. <value>ChemoTx 7일째</value>
  277. </item>
  278. <item>
  279. <label>Induction 후</label>
  280. <value>Induction 후</value>
  281. </item>
  282. <item>
  283. <label>CR 여부</label>
  284. <value>CR 여부</value>
  285. </item>
  286. <item>
  287. <label>After consolidation</label>
  288. <value>After consolidation</value>
  289. </item>
  290. <item>
  291. <label>Before consolidation</label>
  292. <value>Before consolidation</value>
  293. </item>
  294. <item>
  295. <label>After maintenance</label>
  296. <value>After maintenance</value>
  297. </item>
  298. <item>
  299. <label>Before maintenance</label>
  300. <value>Before maintenance</value>
  301. </item>
  302. <item>
  303. <label>ChemoTx 종결</label>
  304. <value>ChemoTx 종결</value>
  305. </item>
  306. <item>
  307. <label>APL mainTx 중</label>
  308. <value>APL mainTx 중</value>
  309. </item>
  310. <item>
  311. <label>APL mainTx 후</label>
  312. <value>APL mainTx 후</value>
  313. </item>
  314. </choices>
  315. </select>
  316. <select id="chk_bmt" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem02/bmt" overflow="visible" appearance="full" cellspacing="40" cols="1" rows="10" sep="," vcellspacing="3" style="left:165px; top:29px; width:160px; height:178px; border-style:none; ">
  317. <choices>
  318. <item>
  319. <label>PreBMT(보험신청)</label>
  320. <value>PreBMT(보험신청)</value>
  321. </item>
  322. <item>
  323. <label>uBMT</label>
  324. <value>uBMT</value>
  325. </item>
  326. <item>
  327. <label>alloBMT</label>
  328. <value>alloBMT</value>
  329. </item>
  330. <item>
  331. <label>autoBMT</label>
  332. <value>autoBMT</value>
  333. </item>
  334. <item>
  335. <label>uPBSCT</label>
  336. <value>uPBSCT</value>
  337. </item>
  338. <item>
  339. <label>alloPBSCT</label>
  340. <value>alloPBSCT</value>
  341. </item>
  342. <item>
  343. <label>autoPBSCT</label>
  344. <value>autoPBSCT</value>
  345. </item>
  346. <item>
  347. <label>cordBMT</label>
  348. <value>cordBMT</value>
  349. </item>
  350. <item>
  351. <label>BMT 시행시기</label>
  352. <value>BMT 시행시기</value>
  353. </item>
  354. </choices>
  355. </select>
  356. <caption id="caption2" class="cell_1" style="left:165px; top:0px; width:164px; height:23px; text-align:center; vertical-align:middle; ">BMT</caption>
  357. <caption id="caption4" class="cell_1" style="left:0px; top:0px; width:164px; height:23px; text-align:center; vertical-align:middle; ">ChemoTx 후</caption>
  358. </group>
  359. <group id="group5" style="left:0px; top:31px; width:490px; height:164px; ">
  360. <select id="chk_initial" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem02/initial" overflow="visible" appearance="full" cellspacing="50" cols="3" rows="8" sep="," vcellspacing="3" style="left:0px; top:0px; width:480px; height:161px; border-style:none; ">
  361. <choices>
  362. <item>
  363. <label>Acute leukemia</label>
  364. <value>Acute leukemia</value>
  365. </item>
  366. <item>
  367. <label>MM</label>
  368. <value>MM</value>
  369. </item>
  370. <item>
  371. <label>Aplastic Anemia</label>
  372. <value>Aplastic Anemia</value>
  373. </item>
  374. <item>
  375. <label>AML</label>
  376. <value>AML</value>
  377. </item>
  378. <item>
  379. <label>CLL</label>
  380. <value>CLL</value>
  381. </item>
  382. <item>
  383. <label>ITP</label>
  384. <value>ITP</value>
  385. </item>
  386. <item>
  387. <label>ALL</label>
  388. <value>ALL</value>
  389. </item>
  390. <item>
  391. <label>Leukocytosis</label>
  392. <value>Leukocytosis</value>
  393. </item>
  394. <item>
  395. <label>HLH</label>
  396. <value>HLH</value>
  397. </item>
  398. <item>
  399. <label>MDS</label>
  400. <value>MDS</value>
  401. </item>
  402. <item>
  403. <label>Thrombocytopenia</label>
  404. <value>Thrombocytopenia</value>
  405. </item>
  406. <item>
  407. <label>FUO</label>
  408. <value>FUO</value>
  409. </item>
  410. <item>
  411. <label>CML</label>
  412. <value>CML</value>
  413. </item>
  414. <item>
  415. <label>Leukopenia</label>
  416. <value>Leukopenia</value>
  417. </item>
  418. <item>
  419. <label>Lymphoma 골수침법</label>
  420. <value>Lymphoma 골수침법</value>
  421. </item>
  422. <item>
  423. <label>ET</label>
  424. <value>ET</value>
  425. </item>
  426. <item>
  427. <label>Anemia</label>
  428. <value>Anemia</value>
  429. </item>
  430. <item>
  431. <label>Non-lymphoma 골수침범</label>
  432. <value>Non-lymphoma 골수침범</value>
  433. </item>
  434. <item>
  435. <label>PV</label>
  436. <value>PV</value>
  437. </item>
  438. <item>
  439. <label>Pancytopenia</label>
  440. <value>Pancytopenia</value>
  441. </item>
  442. <item>
  443. <label>Others</label>
  444. <value>Others</value>
  445. </item>
  446. <item>
  447. <label>CMPD</label>
  448. <value>CMPD</value>
  449. </item>
  450. </choices>
  451. </select>
  452. </group>
  453. <group id="group6" style="left:5px; top:525px; width:488px; height:45px; ">
  454. <select id="checkbox1" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem03" overflow="visible" appearance="full" cellspacing="20" cols="2" style="left:4px; top:5px; width:415px; height:35px; border-style:none; ">
  455. <choices>
  456. <item>
  457. <label>HEPATOSPLENOMEGALY</label>
  458. <value>*HEPATOSPLENOMEGALY</value>
  459. </item>
  460. <item>
  461. <label>LYMPHADENOPATHY</label>
  462. <value>*LYMPHADENOPATHY</value>
  463. </item>
  464. <item>
  465. <label>EASY BRUISABILITY</label>
  466. <value>*EASY BRUISABILITY</value>
  467. </item>
  468. <item>
  469. <label>G-CSF사용</label>
  470. <value>*G-CSF사용</value>
  471. </item>
  472. </choices>
  473. </select>
  474. </group>
  475. </group>
  476. <group id="group2" style="left:0px; top:0px; width:500px; height:13px; ">
  477. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:155px; height:14px; ">골수검사 의뢰서</caption>
  478. </group>
  479. <group id="group3" style="left:0px; top:593px; width:500px; height:27px; ">
  480. <line id="line8" class="line_6" style="x1:0px; y1:0px; x2:489px; y2:0px; "/>
  481. <button id="btn_save" class="btn4_letter2" visibility="visible" style="left:375px; top:5px; width:56px; height:22px; ">
  482. <caption>확인</caption>
  483. <script type="javascript" ev:event="DOMActivate">
  484. <![CDATA[
  485. fExeClinicSave();
  486. ]]>
  487. </script>
  488. </button>
  489. <button id="btn_close" class="btn4_letter2" style="left:434px; top:5px; width:56px; height:22px; ">
  490. <caption>닫기</caption>
  491. <script type="javascript" ev:event="DOMActivate">
  492. <![CDATA[
  493. // 닫기
  494. fSetClose();
  495. ]]>
  496. </script>
  497. </button>
  498. </group>
  499. </xhtml:body>
  500. </xhtml:html>