SPLRR91900_AMH검사의뢰서등록.xrw 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPLRR91900_AMH검사의뢰서등록.xrw
  4. * 설 명 : AMH검사의뢰서등록
  5. * 설 계 자 :
  6. * 작 성 자 : 박정은(ACK)
  7. * 작 성 일 : 2010.12.15
  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>AMH검사의뢰서등록</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>일반적인 난소 나이 평가를 위해</reqcnts>
  31. <inptitem01>있다</inptitem01>
  32. <inptitem02/>
  33. <inptitem03/>
  34. <inptitem04/>
  35. <inptitem05>
  36. <aa/>
  37. <bb/>
  38. <cc/>
  39. <dd/>
  40. <ee/>
  41. <ff/>
  42. </inptitem05>
  43. <etc/>
  44. <claim/>
  45. </reqfrminfo>
  46. </reqfrmtbl>
  47. </reqfrm>
  48. <rtnval>
  49. <rtnvalinfo>
  50. <reqno/>
  51. <instcd/>
  52. </rtnvalinfo>
  53. </rtnval>
  54. </main>
  55. <send/>
  56. <init/>
  57. <hidden>
  58. <reqfrminfo>
  59. <pid/>
  60. <prcpcd/>
  61. <prcpnm/>
  62. <opnm/>
  63. <spccd/>
  64. <spcnm/>
  65. <reqno/>
  66. <reqhistno/>
  67. </reqfrminfo>
  68. </hidden>
  69. </root>
  70. </instance>
  71. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  72. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  73. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  74. <script type="javascript" ev:event="xforms-ready">
  75. <![CDATA[
  76. fExeInitialize();
  77. ]]>
  78. </script>
  79. <submission id="TXLRR90201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rtnval/rtnvalinfo"/>
  80. <submission id="TRLRR90201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/reqfrm"/>
  81. </model>
  82. <script type="javascript">
  83. <![CDATA[
  84. /* @group : 세포유전학검사 의뢰서 팝업화면
  85. * @ver : 2007.05.21
  86. * @by : 박정은(ACK)
  87. * @-----------------------------------
  88. * @type : function
  89. * @access : public
  90. * @desc : 화면 Initialize함수
  91. */
  92. function fExeInitialize() {
  93. //----------------------------------------------------------------
  94. // 처방등록 화면에서 호출되지 않는 경우는 "저장" 기능을 비 활성화 처리
  95. if (model.getValue("/root/hidden/reqfrminfo/scrnno") == "10") {
  96. btn_save.visible = true;
  97. } else {
  98. btn_save.visible = false;
  99. }
  100. //-------------
  101. // Test용 자료
  102. //model.setValue("/root/hidden/reqfrminfo/pid", "56605");
  103. //model.setValue("/root/hidden/reqfrminfo/prcpcd", "T2");
  104. //model.setValue("/root/hidden/reqfrminfo/spccd", "TC2003");
  105. //model.setValue("/root/hidden/reqfrminfo/reqno", "27");
  106. //----------------------------------------------
  107. // 의뢰지번호가 존재할 경우 의뢰지내용을 조회한다.
  108. if(getNodesetCount("/root/hidden/reqfrminfo/reqcnts") <= 0) { //내용이 없다
  109. if (model.getValue("/root/hidden/reqfrminfo/reqno") != "0") { //의뢰지번호 존재시
  110. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  111. model.makeValue("/root/send/pid", model.getValue("/root/hidden/reqfrminfo/pid"));
  112. model.makeValue("/root/send/reqno", model.getValue("/root/hidden/reqfrminfo/reqno"));
  113. submit("TRLRR90201");
  114. } else { //의뢰지 번호 없어.!
  115. model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01", "");
  116. model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem02", "");
  117. model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem03", "");
  118. model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/reqcnts", "");
  119. model.setValue("/root/hidden/reqfrminfo/reqno", "0");
  120. }
  121. } else { //내용이 있다(ex> 특수에서 의뢰서 띄울때 처럼)
  122. model.removeNodeset("/root/main/reqfrm/reqfrmtbl/reqfrminfo");
  123. model.makeNode("/root/main/reqfrm/reqfrmtbl/reqfrminfo");
  124. copyNodesetType("/root/main/reqfrm/reqfrmtbl/reqfrminfo", "/root/hidden/reqfrminfo/reqcnts/reqfrminfo"); //의뢰서 내용 main으로 복사
  125. }
  126. //-------------
  127. model.refresh();
  128. }
  129. // 확인버튼 클릭시 저장
  130. function fExeClinicSave(){
  131. var strNode = "/root/main/reqfrm/reqfrmtbl/reqfrminfo/choispc/choispclist";
  132. var node = instance1.selectSingleNode("/root/main/reqfrm/reqfrmtbl/reqfrminfo"); //xml 저장을 위해 노드로 만듬
  133. // 검체 추가정보 설정
  134. model.makeValue(strNode + "/choi", "true");
  135. model.makeValue(strNode + "/spcseqno", "001");
  136. model.makeValue(strNode + "/spccd", model.getValue("/root/hidden/reqfrminfo/spccd"));
  137. model.makeValue(strNode + "/spccd2", model.getValue("/root/hidden/reqfrminfo/spccd"));
  138. model.removeNodeset("/root/send");
  139. model.makeValue("/root/send/pid", model.getValue("/root/hidden/reqfrminfo/pid"));
  140. model.makeValue("/root/send/reqno", model.getValue("/root/hidden/reqfrminfo/reqno"));
  141. model.makeValue("/root/send/reqcnts", node.xml, true);
  142. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  143. //------------------------
  144. if (!submit("TXLRR90201")) {
  145. messageBox("의뢰지 저장을", "E009");
  146. return false;
  147. }
  148. //------------------
  149. // 의뢰지번호 Return
  150. opener.model.setValue("/root/hidden/reqfrminfo/reqno", model.getValue("/root/main/rtnval/rtnvalinfo/reqno"));
  151. //------------
  152. model.close();
  153. }
  154. // 닫기
  155. function fSetClose(){
  156. window.close();
  157. }
  158. ]]>
  159. </script>
  160. </xhtml:head>
  161. <xhtml:body pagewidth="520" pageheight="570" style="font-weight:bold; margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  162. <group id="group1" style="left:0px; top:0px; width:500px; height:525px; ">
  163. <caption id="caption5" class="tit_2" style="left:0px; top:1px; width:152px; height:14px; ">AMH검사 의뢰서</caption>
  164. <line id="line1" class="line_1" style="x1:0px; y1:15px; x2:490px; y2:15px; "/>
  165. <line id="line5" class="line_1" style="x1:0px; y1:47px; x2:490px; y2:47px; "/>
  166. <caption id="caption2" class="tit_2" style="left:1px; top:32px; width:152px; height:13px; ">검사목적</caption>
  167. <caption id="caption3" class="tit_2" style="left:5px; top:122px; width:152px; height:13px; ">난소수술기왕력</caption>
  168. <line id="line6" class="line_1" style="x1:0px; y1:137px; x2:490px; y2:137px; "/>
  169. <caption id="caption1" class="tit_2" style="left:5px; top:308px; width:215px; height:14px; ">다낭성난포증후군(PCOS)의 소견</caption>
  170. <line id="line3" class="line_1" style="x1:0px; y1:323px; x2:490px; y2:323px; "/>
  171. <select1 id="rdo_histyn" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01" appearance="full" cellspacing="40" cols="2" vcellspacing="8" overflow="visible" style="left:10px; top:145px; width:155px; height:25px; border-style:none; ">
  172. <choices>
  173. <item>
  174. <label>있다</label>
  175. <value>있다</value>
  176. </item>
  177. <item>
  178. <label>없다</label>
  179. <value>없다</value>
  180. </item>
  181. </choices>
  182. <script type="javascript" ev:event="xforms-value-changed">
  183. <![CDATA[
  184. if(model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01")=="2"){
  185. model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem02", "");
  186. input1.refresh();
  187. }
  188. ]]>
  189. </script>
  190. </select1>
  191. <select1 id="radio1" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/reqcnts" appearance="full" vcellspacing="8" overflow="visible" style="left:10px; top:55px; width:370px; height:50px; border-style:none; ">
  192. <choices>
  193. <item>
  194. <label>일반적인 난소 나이 평가를 위해</label>
  195. <value>일반적인 난소 나이 평가를 위해</value>
  196. </item>
  197. <item>
  198. <label>불임 검사의 일환으로서 난소기능 평가</label>
  199. <value>불임 검사의 일환으로서 난소기능 평가</value>
  200. </item>
  201. </choices>
  202. </select1>
  203. <caption id="caption4" style="left:10px; top:180px; width:410px; height:112px; ">
  204. <![CDATA[※ 난소수술을 받은 적이 있다면 다음 내용을 체크하여 주십시오.
  205. 있다면,
  206. 어느쪽,
  207. 수술 후 확인된 진단명 : ]]>
  208. </caption>
  209. <input id="input1" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem03" style="left:169px; top:268px; width:300px; height:19px; "/>
  210. <select id="checkbox1" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem02" overflow="visible" appearance="full" cellspacing="20" cols="2" vcellspacing="10" style="left:90px; top:208px; width:245px; height:50px; border-style:none; ">
  211. <choices>
  212. <item>
  213. <label>낭종제거술</label>
  214. <value>낭종제거술</value>
  215. </item>
  216. <item>
  217. <label>난소제거술</label>
  218. <value>난소제거술</value>
  219. </item>
  220. <item>
  221. <label>한쪽 (좌,우)</label>
  222. <value>한쪽 (좌,우)</value>
  223. </item>
  224. <item>
  225. <label>양쪽</label>
  226. <value>양쪽</value>
  227. </item>
  228. </choices>
  229. </select>
  230. <select id="checkbox2" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem04" overflow="visible" appearance="full" cols="2" vcellspacing="10" style="left:5px; top:330px; width:435px; height:55px; border-style:none; ">
  231. <choices>
  232. <item>
  233. <label>없다</label>
  234. <value>없다</value>
  235. </item>
  236. <item>
  237. <label>Oligmenorrhea(희발월경)</label>
  238. <value>Oligmenorrhea(희발월경)</value>
  239. </item>
  240. <item>
  241. <label>Hyperandrogenism(안드로젠과잉증)</label>
  242. <value>Hyperandrogenism(안드로젠과잉증)</value>
  243. </item>
  244. <item>
  245. <label>초음파소견</label>
  246. <value>초음파소견</value>
  247. </item>
  248. </choices>
  249. </select>
  250. <caption id="caption6" class="tit_2" style="left:5px; top:398px; width:215px; height:14px; ">출산력 (Parity)</caption>
  251. <line id="line4" class="line_1" style="x1:0px; y1:413px; x2:490px; y2:413px; "/>
  252. <caption id="caption7" style="left:10px; top:423px; width:80px; height:20px; ">만삭출산수:</caption>
  253. <caption id="caption8" style="left:221px; top:423px; width:55px; height:20px; ">조산수:</caption>
  254. <caption id="caption9" style="left:10px; top:475px; width:82px; height:20px; ">유산 총 횟수</caption>
  255. <caption id="caption10" style="left:100px; top:460px; width:45px; height:20px; ">자연:</caption>
  256. <caption id="caption11" style="left:100px; top:490px; width:45px; height:20px; ">인공:</caption>
  257. <caption id="caption12" style="left:310px; top:460px; width:30px; height:20px; ">남:</caption>
  258. <caption id="caption13" style="left:310px; top:490px; width:30px; height:20px; ">여:</caption>
  259. <caption id="caption14" style="left:245px; top:470px; width:65px; height:20px; ">생존아수</caption>
  260. <input id="input2" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem05/aa" style="left:85px; top:423px; width:70px; height:19px; "/>
  261. <input id="input3" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem05/bb" style="left:280px; top:423px; width:70px; height:19px; "/>
  262. <input id="input4" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem05/cc" style="left:139px; top:459px; width:45px; height:19px; "/>
  263. <input id="input5" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem05/dd" style="left:140px; top:489px; width:45px; height:19px; "/>
  264. <input id="input6" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem05/ee" style="left:339px; top:459px; width:45px; height:19px; "/>
  265. <input id="input7" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem05/ff" style="left:340px; top:489px; width:45px; height:19px; "/>
  266. </group>
  267. <group id="group3" style="left:0px; top:525px; width:500px; height:27px; ">
  268. <line id="line2" class="line_2" style="x1:0px; y1:0px; x2:490px; y2:0px; "/>
  269. <button id="btn_close" class="btn4_letter2" style="left:434px; top:5px; width:56px; height:22px; ">
  270. <caption>닫기</caption>
  271. <script type="javascript" ev:event="DOMActivate">
  272. <![CDATA[
  273. fSetClose();
  274. ]]>
  275. </script>
  276. </button>
  277. <button id="btn_save" class="btn4_letter2" style="left:375px; top:5px; width:56px; height:22px; ">
  278. <caption>확인</caption>
  279. <script type="javascript" ev:event="DOMActivate">
  280. <![CDATA[
  281. fExeClinicSave();
  282. ]]>
  283. </script>
  284. </button>
  285. </group>
  286. </xhtml:body>
  287. </xhtml:html>