SPLRR90400_세포유전학검사의뢰서등록.xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPLRR90400_세포유전학검사의뢰서등록.xfm
  4. * 설 명 : 세포유전학검사의뢰서등록
  5. * 설 계 자 :
  6. * 작 성 자 : 박정은(ACK)
  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. <reqcnts/>
  31. <inptitem01/>
  32. <inptitem02/>
  33. <inptitem03/>
  34. <lmp/>
  35. <usd/>
  36. <abnormal/>
  37. <other/>
  38. <abnormalchk/>
  39. <otherchk/>
  40. </reqfrminfo>
  41. </reqfrmtbl>
  42. </reqfrm>
  43. <rtnval>
  44. <rtnvalinfo>
  45. <reqno/>
  46. <instcd/>
  47. </rtnvalinfo>
  48. </rtnval>
  49. </main>
  50. <send/>
  51. <init/>
  52. <hidden>
  53. <reqfrminfo>
  54. <pid/>
  55. <prcpcd/>
  56. <prcpnm/>
  57. <opnm/>
  58. <spccd/>
  59. <spcnm/>
  60. <reqno/>
  61. <reqhistno/>
  62. </reqfrminfo>
  63. </hidden>
  64. </root>
  65. </instance>
  66. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  67. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  68. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  69. <script type="javascript" ev:event="xforms-ready">
  70. <![CDATA[
  71. fExeInitialize();
  72. ]]>
  73. </script>
  74. <submission id="TXLRR90201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rtnval/rtnvalinfo"/>
  75. <submission id="TRLRR90201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/reqfrm"/>
  76. </model>
  77. <script type="javascript">
  78. <![CDATA[
  79. /* @group : 세포유전학검사 의뢰서 팝업화면
  80. * @ver : 2007.05.21
  81. * @by : 박정은(ACK)
  82. * @-----------------------------------
  83. * @type : function
  84. * @access : public
  85. * @desc : 화면 Initialize함수
  86. */
  87. function fExeInitialize() {
  88. //----------------------------------------------------------------
  89. // 처방등록 화면에서 호출되지 않는 경우는 "저장" 기능을 비 활성화 처리
  90. if (model.getValue("/root/hidden/reqfrminfo/scrnno") == "10") {
  91. btn_save.visible = true;
  92. } else {
  93. btn_save.visible = false;
  94. }
  95. //-------------
  96. // Test용 자료
  97. //model.setValue("/root/hidden/reqfrminfo/pid", "56605");
  98. //model.setValue("/root/hidden/reqfrminfo/prcpcd", "T2");
  99. //model.setValue("/root/hidden/reqfrminfo/spccd", "TC2003");
  100. //model.setValue("/root/hidden/reqfrminfo/reqno", "27");
  101. //----------------------------------------------
  102. // 의뢰지번호가 존재할 경우 의뢰지내용을 조회한다.
  103. if(getNodesetCount("/root/hidden/reqfrminfo/reqcnts") <= 0) { //내용이 없다
  104. if (model.getValue("/root/hidden/reqfrminfo/reqno") != "0") { //의뢰지번호 존재시
  105. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  106. model.makeValue("/root/send/pid", model.getValue("/root/hidden/reqfrminfo/pid"));
  107. model.makeValue("/root/send/reqno", model.getValue("/root/hidden/reqfrminfo/reqno"));
  108. submit("TRLRR90201");
  109. } else { //의뢰지 번호 없어.!
  110. model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01", "");
  111. model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem02", "");
  112. model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem03", "");
  113. model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/reqcnts", "");
  114. model.setValue("/root/hidden/reqfrminfo/reqno", "0");
  115. }
  116. } else { //내용이 있다(ex> 특수에서 의뢰서 띄울때 처럼)
  117. model.removeNodeset("/root/main/reqfrm/reqfrmtbl/reqfrminfo");
  118. model.makeNode("/root/main/reqfrm/reqfrmtbl/reqfrminfo");
  119. copyNodesetType("/root/main/reqfrm/reqfrmtbl/reqfrminfo", "/root/hidden/reqfrminfo/reqcnts/reqfrminfo"); //의뢰서 내용 main으로 복사
  120. }
  121. //-------------
  122. model.refresh();
  123. }
  124. // 확인버튼 클릭시 저장
  125. function fExeClinicSave(){
  126. var strNode = "/root/main/reqfrm/reqfrmtbl/reqfrminfo/choispc/choispclist";
  127. var node = instance1.selectSingleNode("/root/main/reqfrm/reqfrmtbl/reqfrminfo"); //xml 저장을 위해 노드로 만듬
  128. // 검체 추가정보 설정
  129. model.makeValue(strNode + "/choi", "true");
  130. model.makeValue(strNode + "/spcseqno", "001");
  131. model.makeValue(strNode + "/spccd", model.getValue("/root/hidden/reqfrminfo/spccd"));
  132. model.makeValue(strNode + "/spccd2", model.getValue("/root/hidden/reqfrminfo/spccd"));
  133. model.removeNodeset("/root/send");
  134. model.makeValue("/root/send/pid", model.getValue("/root/hidden/reqfrminfo/pid"));
  135. model.makeValue("/root/send/reqno", model.getValue("/root/hidden/reqfrminfo/reqno"));
  136. model.makeValue("/root/send/reqcnts", node.xml, true);
  137. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  138. //------------------------
  139. if (!submit("TXLRR90201")) {
  140. messageBox("의뢰지 저장을", "E009");
  141. return false;
  142. }
  143. //------------------
  144. // 의뢰지번호 Return
  145. opener.model.setValue("/root/hidden/reqfrminfo/reqno", model.getValue("/root/main/rtnval/rtnvalinfo/reqno"));
  146. //------------
  147. model.close();
  148. }
  149. // 닫기
  150. function fSetClose(){
  151. window.close();
  152. }
  153. ]]>
  154. </script>
  155. </xhtml:head>
  156. <xhtml:body pagewidth="520" pageheight="460" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  157. <group id="group1" style="left:0px; top:0px; width:500px; height:405px; ">
  158. <caption id="caption5" class="tit_2" style="left:5px; top:10px; width:195px; height:13px; ">양수 세포유전검사 의뢰서</caption>
  159. <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:490px; y2:25px; "/>
  160. <line id="line3" class="line_2" style="x1:0px; y1:52px; x2:490px; y2:52px; "/>
  161. <caption id="caption13" class="cell_1" style="left:0px; top:30px; width:100; height:23px; vertical-align:middle; ">임신주수</caption>
  162. <caption id="caption11" style="left:5px; top:270px; width:485px; height:134px; font-family:굴림; font-size:9pt; text-align:left; ">
  163. <![CDATA[
  164. * 검체는 무균상태로 채취하여 양수전용 용기(15ml conical tube)에
  165. 담아 환자의 이름 기입후 검사의뢰서와 유전자검사 동의서를
  166. 동봉하여 보내주십시요
  167. * 가능한 신속히(24시간 이내) 검사실로 우송하여 주십시오
  168. * 검체운송 시 검체가 손상되지 않도록 주의하여 주십시오.
  169. ]]>
  170. </caption>
  171. <caption id="caption12" style="left:156px; top:34px; width:16px; height:14px; ">주</caption>
  172. <caption id="caption14" style="left:225px; top:34px; width:20px; height:14px; ">일</caption>
  173. <input id="input4" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem02" class="input_default" style="left:173px; top:31px; width:50px; height:19px; text-align:right; "/>
  174. <input id="input5" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01" class="input_default" style="left:104px; top:31px; width:50px; height:19px; text-align:right; "/>
  175. <caption id="caption4" style="left:250px; top:34px; width:10px; height:14px; ">(</caption>
  176. <line id="line5" class="line_1" style="x1:0px; y1:99px; x2:490px; y2:99px; "/>
  177. <caption id="caption2" class="tit_2" style="left:5px; top:86px; width:152px; height:13px; ">검사의뢰 내용</caption>
  178. <caption id="caption3" class="tit_2" style="left:5px; top:257px; width:152px; height:13px; ">주의사항</caption>
  179. <line id="line6" class="line_1" style="x1:0px; y1:275px; x2:490px; y2:275px; "/>
  180. <select id="checkbox1" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/reqcnts" overflow="visible" appearance="full" cellspacing="200" cols="1" sep="," style="left:0px; top:103px; width:490px; height:99px; border-style:none; ">
  181. <choices>
  182. <item>
  183. <label>Advanced Maternal Age</label>
  184. <value>Advanced Maternal Age</value>
  185. </item>
  186. <item>
  187. <label>Family History</label>
  188. <value>Family History</value>
  189. </item>
  190. <item>
  191. <label>Habitual Abortion</label>
  192. <value>Habitual Abortion</value>
  193. </item>
  194. <item>
  195. <label>High Risk for Down Syndrome</label>
  196. <value>High Risk for Down Syndrome</value>
  197. </item>
  198. <item>
  199. <label>High Risk for Edward Syndrome</label>
  200. <value>High Risk for Edward Syndrome</value>
  201. </item>
  202. <item>
  203. <label>High Risk for NTD</label>
  204. <value>High Risk for NTD</value>
  205. </item>
  206. </choices>
  207. </select>
  208. <select id="checkbox2" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/lmp" overflow="visible" appearance="full" style="left:260px; top:33px; width:70px; height:15px; border-style:none; ">
  209. <choices>
  210. <item>
  211. <label>LMP</label>
  212. <value>LMP</value>
  213. </item>
  214. </choices>
  215. </select>
  216. <select id="checkbox3" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/usd" overflow="visible" appearance="full" style="left:314px; top:33px; width:100px; height:20px; border-style:none; ">
  217. <choices>
  218. <item>
  219. <label>USD</label>
  220. <value>USD</value>
  221. </item>
  222. </choices>
  223. </select>
  224. <caption id="caption6" style="left:360px; top:34px; width:10px; height:14px; ">)</caption>
  225. <caption id="caption1" class="cell_1" style="left:0px; top:54px; width:100px; height:23px; vertical-align:middle; ">양수 양</caption>
  226. <input id="input1" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem03" class="input_default" style="left:104px; top:55px; width:113px; height:19px; text-align:right; "/>
  227. <caption id="caption7" style="left:220px; top:60px; width:20px; height:14px; ">mL</caption>
  228. <input id="input2" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/abnormal" class="input_default" style="left:205px; top:202px; width:280px; height:19px; text-align:right; "/>
  229. <input id="input3" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/other" class="input_default" style="left:205px; top:221px; width:280px; height:19px; text-align:right; "/>
  230. <select id="checkbox4" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/abnormalchk" overflow="visible" appearance="full" style="left:0px; top:203px; width:200px; height:15px; border-style:none; ">
  231. <choices>
  232. <item>
  233. <label>Abnormal Sonographic Findings</label>
  234. <value>Abnormal Sonographic Findings</value>
  235. </item>
  236. </choices>
  237. </select>
  238. <select id="checkbox5" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/otherchk" overflow="visible" appearance="full" style="left:0px; top:220px; width:165px; height:15px; border-style:none; ">
  239. <choices>
  240. <item>
  241. <label>other</label>
  242. <value>other</value>
  243. </item>
  244. </choices>
  245. </select>
  246. </group>
  247. <group id="group3" style="left:0px; top:405px; width:500px; height:27px; ">
  248. <line id="line2" class="line_2" style="x1:0px; y1:0px; x2:490px; y2:0px; "/>
  249. <button id="btn_close" class="btn4_letter2" style="left:434px; top:5px; width:56px; height:22px; ">
  250. <caption>닫기</caption>
  251. <script type="javascript" ev:event="DOMActivate">
  252. <![CDATA[
  253. fSetClose();
  254. ]]>
  255. </script>
  256. </button>
  257. <button id="btn_save" class="btn4_letter2" style="left:375px; top:5px; width:56px; height:22px; ">
  258. <caption>확인</caption>
  259. <script type="javascript" ev:event="DOMActivate">
  260. <![CDATA[
  261. fExeClinicSave();
  262. ]]>
  263. </script>
  264. </button>
  265. </group>
  266. </xhtml:body>
  267. </xhtml:html>