SPLRR92300_삼성서울병원약물의뢰서등록.xrw 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPLRR91800_기생충항체검사의뢰서.xfm
  4. * 설 명 : 기생충항체검사의뢰서
  5. * 설 계 자 :
  6. * 작 성 자 : 송요셉(ACK)
  7. * 작 성 일 : 2010.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. <trustcncl/>
  33. <dept/>
  34. <doct/>
  35. <reqdd/>
  36. <hostel/>
  37. <fax/>
  38. <phone/>
  39. <email/>
  40. <patnm/>
  41. <rrgstno/>
  42. <pattel/>
  43. <bdht/>
  44. <bdwt/>
  45. <homeaddr/>
  46. <testcmt/>
  47. <reqgoal1/>
  48. <reqgoal2/>
  49. <reqgoal3/>
  50. <reqgoal4/>
  51. <cureyy/>
  52. <curemm/>
  53. <curedd/>
  54. <reqmedi/>
  55. <withmedi/>
  56. <cbc1/>
  57. <cbc2/>
  58. <cbc3/>
  59. <k/>
  60. <pt/>
  61. <ptt/>
  62. <bun/>
  63. <cr/>
  64. <ast/>
  65. <alt/>
  66. <alp/>
  67. <testcd/>
  68. </inptitem01>
  69. <inptitem02/>
  70. <inptitem03/>
  71. <etc/>
  72. <claim/>
  73. </reqfrminfo>
  74. </reqfrmtbl>
  75. </reqfrm>
  76. <rtnval>
  77. <rtnvalinfo>
  78. <reqno/>
  79. <instcd/>
  80. </rtnvalinfo>
  81. </rtnval>
  82. </main>
  83. <send/>
  84. <init/>
  85. <hidden>
  86. <reqfrminfo>
  87. <pid/>
  88. <prcpcd/>
  89. <prcpnm/>
  90. <opnm/>
  91. <spccd/>
  92. <spcnm/>
  93. <reqno/>
  94. <reqhistno/>
  95. </reqfrminfo>
  96. </hidden>
  97. </root>
  98. </instance>
  99. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  100. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  101. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  102. <script type="javascript" ev:event="xforms-ready">
  103. <![CDATA[
  104. fExeInitialize();
  105. ]]>
  106. </script>
  107. <submission id="TXLRR90201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rtnval/rtnvalinfo"/>
  108. <submission id="TRLRR90201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/reqfrm"/>
  109. </model>
  110. <script type="javascript">
  111. <![CDATA[
  112. /* @group : 세포유전학검사 의뢰서 팝업화면
  113. * @ver : 2007.05.21
  114. * @by : 박정은(ACK)
  115. * @-----------------------------------
  116. * @type : function
  117. * @access : public
  118. * @desc : 화면 Initialize함수
  119. */
  120. function fExeInitialize() {
  121. //----------------------------------------------------------------
  122. // 처방등록 화면에서 호출되지 않는 경우는 "저장" 기능을 비 활성화 처리
  123. if (model.getValue("/root/hidden/reqfrminfo/scrnno") == "10") {
  124. btn_save.visible = true;
  125. } else {
  126. btn_save.visible = false;
  127. }
  128. //-------------
  129. // Test용 자료
  130. //model.setValue("/root/hidden/reqfrminfo/pid", "56605");
  131. //model.setValue("/root/hidden/reqfrminfo/prcpcd", "T2");
  132. //model.setValue("/root/hidden/reqfrminfo/spccd", "TC2003");
  133. //model.setValue("/root/hidden/reqfrminfo/reqno", "27");
  134. //----------------------------------------------
  135. // 의뢰지번호가 존재할 경우 의뢰지내용을 조회한다.
  136. if(getNodesetCount("/root/hidden/reqfrminfo/reqcnts") <= 0) { //내용이 없다
  137. if (model.getValue("/root/hidden/reqfrminfo/reqno") != "0") { //의뢰지번호 존재시
  138. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  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. submit("TRLRR90201");
  142. } else { //의뢰지 번호 없어.!
  143. model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01", "");
  144. model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem02", "");
  145. model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem03", "");
  146. model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/reqcnts", "");
  147. model.setValue("/root/hidden/reqfrminfo/reqno", "0");
  148. }
  149. } else { //내용이 있다(ex> 특수에서 의뢰서 띄울때 처럼)
  150. model.removeNodeset("/root/main/reqfrm/reqfrmtbl/reqfrminfo");
  151. model.makeNode("/root/main/reqfrm/reqfrmtbl/reqfrminfo");
  152. copyNodesetType("/root/main/reqfrm/reqfrmtbl/reqfrminfo", "/root/hidden/reqfrminfo/reqcnts/reqfrminfo"); //의뢰서 내용 main으로 복사
  153. }
  154. //-------------
  155. model.refresh();
  156. }
  157. // 확인버튼 클릭시 저장
  158. function fExeClinicSave(){
  159. var strNode = "/root/main/reqfrm/reqfrmtbl/reqfrminfo/choispc/choispclist";
  160. var node = instance1.selectSingleNode("/root/main/reqfrm/reqfrmtbl/reqfrminfo"); //xml 저장을 위해 노드로 만듬
  161. // 검체 추가정보 설정
  162. model.makeValue(strNode + "/choi", "true");
  163. model.makeValue(strNode + "/spcseqno", "001");
  164. model.makeValue(strNode + "/spccd", model.getValue("/root/hidden/reqfrminfo/spccd"));
  165. model.makeValue(strNode + "/spccd2", model.getValue("/root/hidden/reqfrminfo/spccd"));
  166. model.removeNodeset("/root/send");
  167. model.makeValue("/root/send/pid", model.getValue("/root/hidden/reqfrminfo/pid"));
  168. model.makeValue("/root/send/reqno", model.getValue("/root/hidden/reqfrminfo/reqno"));
  169. model.makeValue("/root/send/reqcnts", node.xml, true);
  170. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  171. //------------------------
  172. if (!submit("TXLRR90201")) {
  173. messageBox("의뢰지 저장을", "E009");
  174. return false;
  175. }
  176. //------------------
  177. // 의뢰지번호 Return
  178. opener.model.setValue("/root/hidden/reqfrminfo/reqno", model.getValue("/root/main/rtnval/rtnvalinfo/reqno"));
  179. //------------
  180. model.close();
  181. }
  182. // 닫기
  183. function fSetClose(){
  184. window.close();
  185. }
  186. ]]>
  187. </script>
  188. </xhtml:head>
  189. <xhtml:body pagewidth="570" pageheight="520" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  190. <group id="group1" style="left:0px; top:0px; width:545px; height:465px; ">
  191. <caption id="caption5" class="tit_2" style="left:0px; top:6px; width:198px; height:14px; ">유전검사의뢰서(삼성서울병원)</caption>
  192. <line id="line1" class="line_1" style="x1:0px; y1:20px; x2:540px; y2:20px; "/>
  193. <caption id="caption25" class="cell_1" style="left:0px; top:25px; width:110px; height:23px; text-align:left; vertical-align:middle; ">의뢰병원</caption>
  194. <caption id="caption1" class="cell_1" style="left:0px; top:50px; width:110px; height:23px; text-align:left; vertical-align:middle; ">담당의사</caption>
  195. <input id="input1" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/trustcncl" style="left:112px; top:26px; width:155px; height:19px; "/>
  196. <input id="input2" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/doct" style="left:112px; top:51px; width:155px; height:19px; "/>
  197. <line id="line3" class="line_3" style="x1:0px; y1:48px; x2:540px; y2:48px; "/>
  198. <line id="line4" class="line_3" style="x1:0px; y1:73px; x2:540px; y2:73px; "/>
  199. <line id="line5" class="line_3" style="x1:0px; y1:98px; x2:540px; y2:98px; "/>
  200. <line id="line6" class="line_3" style="x1:0px; y1:123px; x2:540px; y2:123px; "/>
  201. <line id="line7" class="line_3" style="x1:0px; y1:148px; x2:540px; y2:148px; "/>
  202. <line id="line8" class="line_3" style="x1:0px; y1:173px; x2:540px; y2:173px; "/>
  203. <line id="line9" class="line_3" style="x1:0px; y1:198px; x2:540px; y2:198px; "/>
  204. <line id="line10" class="line_3" style="x1:0px; y1:365px; x2:540px; y2:365px; "/>
  205. <line id="line11" class="line_3" style="x1:0px; y1:298px; x2:540px; y2:298px; "/>
  206. <caption id="caption18" class="cell_1" style="left:270px; top:50px; width:100px; height:23px; text-align:left; vertical-align:middle; ">의뢰일</caption>
  207. <caption id="caption19" class="cell_1" style="left:270px; top:25px; width:100px; height:23px; text-align:left; vertical-align:middle; ">진료과</caption>
  208. <input id="input12" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/dept" style="left:372px; top:26px; width:168px; height:19px; "/>
  209. <input id="input13" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/reqdd" class="input_s_essential" inputtype="date" style="left:372px; top:51px; width:165px; height:19px; font-weight:normal; "/>
  210. <caption id="caption2" class="cell_1" style="left:0px; top:75px; width:110px; height:23px; text-align:left; vertical-align:middle; ">전화번호</caption>
  211. <input id="input14" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/hostel" style="left:112px; top:76px; width:155px; height:19px; "/>
  212. <caption id="caption20" class="cell_1" style="left:270px; top:75px; width:100px; height:23px; text-align:left; vertical-align:middle; ">팩스번호</caption>
  213. <caption id="caption3" class="cell_1" style="left:270px; top:100px; width:100px; height:23px; text-align:left; vertical-align:middle; ">E-mail</caption>
  214. <caption id="caption21" class="cell_1" style="left:0px; top:100px; width:110px; height:23px; text-align:left; vertical-align:middle; ">휴대전화번호</caption>
  215. <input id="input15" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/phone" style="left:112px; top:101px; width:155px; height:19px; "/>
  216. <caption id="caption4" class="cell_1" style="left:0px; top:125px; width:110px; height:23px; text-align:left; vertical-align:middle; background-color:#99ccff; ">환자이름</caption>
  217. <caption id="caption6" class="cell_1" style="left:270px; top:125px; width:100px; height:23px; text-align:left; vertical-align:middle; background-color:#99ccff; ">주민등록번호</caption>
  218. <input id="input17" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/patnm" style="left:112px; top:126px; width:155px; height:19px; "/>
  219. <input id="input3" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/fax" style="left:372px; top:76px; width:168px; height:19px; "/>
  220. <input id="input16" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/email" style="left:372px; top:101px; width:168px; height:19px; "/>
  221. <input id="input18" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/rrgstno" style="left:372px; top:126px; width:168px; height:19px; "/>
  222. <caption id="caption7" class="cell_1" style="left:0px; top:175px; width:110px; height:23px; text-align:left; vertical-align:middle; background-color:#99ccff; ">주소</caption>
  223. <input id="input20" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/homeaddr" style="left:112px; top:176px; width:430px; height:19px; "/>
  224. <line id="line17" class="line_3" style="x1:0px; y1:223px; x2:540px; y2:223px; "/>
  225. <caption id="caption8" class="cell_1" style="left:0px; top:200px; width:110px; height:23px; text-align:left; vertical-align:middle; background-color:#99ccff; ">진단명</caption>
  226. <input id="input21" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/testcmt" style="left:112px; top:201px; width:430px; height:19px; "/>
  227. <caption id="caption22" class="cell_1" style="left:0px; top:150px; width:110px; height:23px; text-align:left; vertical-align:middle; background-color:#99ccff; ">전화번호</caption>
  228. <caption id="caption23" class="cell_1" style="left:270px; top:150px; width:100px; height:23px; text-align:left; vertical-align:middle; background-color:#99ccff; ">키 / 몸무게</caption>
  229. <input id="input19" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/pattel" style="left:112px; top:151px; width:155px; height:19px; "/>
  230. <input id="input22" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/bdht" style="left:372px; top:151px; width:58px; height:19px; "/>
  231. <caption id="caption24" class="cell_1" style="left:0px; top:225px; width:110px; height:73px; text-align:left; vertical-align:middle; background-color:#99ccff; ">
  232. <![CDATA[자문의뢰목적
  233. (해당항목에 표시)]]>
  234. </caption>
  235. <input id="input4" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/cureyy" style="left:215px; top:305px; width:25px; height:19px; "/>
  236. <caption id="caption9" class="cell_1" style="left:0px; top:300px; width:110px; height:65px; text-align:left; vertical-align:middle; background-color:#99ccff; ">투약력</caption>
  237. <line id="line19" class="line_3" style="x1:0px; y1:431px; x2:540px; y2:431px; "/>
  238. <input id="input5" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/cbc1" style="left:150px; top:370px; width:55px; height:19px; "/>
  239. <caption id="caption10" class="cell_1" style="left:0px; top:367px; width:110px; height:64px; text-align:left; vertical-align:middle; background-color:#99ccff; ">관련검사결과</caption>
  240. <caption id="caption12" class="cell_1" style="left:0px; top:433px; width:110px; height:24px; text-align:left; vertical-align:middle; background-color:#99ccff; ">검사명</caption>
  241. <input id="input6" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/testcd" style="left:112px; top:436px; width:428px; height:19px; "/>
  242. <line id="line14" class="line_3" style="x1:0px; y1:457px; x2:540px; y2:457px; "/>
  243. <input id="input10" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/bdwt" style="left:460px; top:151px; width:58px; height:19px; "/>
  244. <caption id="caption14" style="left:435px; top:155px; width:20px; height:15px; ">cm</caption>
  245. <caption id="caption15" style="left:520px; top:155px; width:15px; height:20px; ">kg</caption>
  246. <caption id="caption11" style="left:115px; top:305px; width:90px; height:20px; ">치료시작 날짜 :</caption>
  247. <caption id="caption13" style="left:200px; top:305px; width:15px; height:20px; ">20</caption>
  248. <caption id="caption16" style="left:240px; top:305px; width:15px; height:20px; ">.</caption>
  249. <input id="input7" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/curemm" style="left:250px; top:305px; width:25px; height:19px; "/>
  250. <input id="input8" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/curedd" style="left:285px; top:305px; width:25px; height:19px; "/>
  251. <caption id="caption17" style="left:275px; top:305px; width:15px; height:20px; ">.</caption>
  252. <caption id="caption27" style="left:115px; top:325px; width:208px; height:20px; ">자문의뢰 약물 용법 (용량, 간격, 용법)</caption>
  253. <input id="input9" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/reqmedi" style="left:325px; top:325px; width:215px; height:19px; "/>
  254. <caption id="caption28" style="left:115px; top:345px; width:60px; height:20px; ">병용약제 :</caption>
  255. <input id="input11" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/withmedi" style="left:177px; top:345px; width:363px; height:19px; "/>
  256. <caption id="caption26" style="left:115px; top:370px; width:40px; height:20px; ">CBC :</caption>
  257. <caption id="caption29" style="left:115px; top:390px; width:50px; height:20px; ">PT/PTT:</caption>
  258. <caption id="caption30" style="left:115px; top:410px; width:86px; height:20px; ">AST/ALT/ALP:</caption>
  259. <caption id="caption31" style="left:205px; top:370px; width:15px; height:20px; ">-</caption>
  260. <input id="input23" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/cbc2" style="left:220px; top:370px; width:55px; height:19px; "/>
  261. <caption id="caption32" style="left:275px; top:370px; width:15px; height:20px; ">-</caption>
  262. <input id="input24" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/cbc3" style="left:290px; top:370px; width:55px; height:19px; "/>
  263. <caption id="caption33" style="left:355px; top:370px; width:40px; height:20px; ">K :</caption>
  264. <input id="input25" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/k" style="left:385px; top:370px; width:55px; height:19px; "/>
  265. <input id="input26" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/pt" style="left:165px; top:390px; width:55px; height:19px; "/>
  266. <input id="input27" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/ptt" style="left:225px; top:390px; width:55px; height:19px; "/>
  267. <input id="input28" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/ast" style="left:200px; top:410px; width:55px; height:19px; "/>
  268. <input id="input29" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/alt" style="left:260px; top:410px; width:55px; height:19px; "/>
  269. <input id="input30" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/alp" style="left:320px; top:410px; width:55px; height:19px; "/>
  270. <caption id="caption34" style="left:355px; top:390px; width:49px; height:20px; ">BUN/Cr:</caption>
  271. <input id="input31" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/bun" style="left:405px; top:390px; width:55px; height:19px; "/>
  272. <input id="input32" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/cr" style="left:465px; top:390px; width:55px; height:19px; "/>
  273. <select id="checkbox1" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/reqgoal1" overflow="visible" appearance="full" style="left:115px; top:230px; width:140px; height:18px; border-style:none; ">
  274. <choices>
  275. <item>
  276. <label>투약용법적정성확인</label>
  277. <value>V</value>
  278. </item>
  279. </choices>
  280. </select>
  281. <select id="checkbox2" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/reqgoal2" overflow="visible" appearance="full" style="left:115px; top:247px; width:135px; height:18px; border-style:none; ">
  282. <choices>
  283. <item>
  284. <label>치료효과미흡</label>
  285. <value>V</value>
  286. </item>
  287. </choices>
  288. </select>
  289. <select id="checkbox3" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/reqgoal3" overflow="visible" appearance="full" style="left:115px; top:264px; width:120px; height:18px; border-style:none; ">
  290. <choices>
  291. <item>
  292. <label>독성의심</label>
  293. <value>V</value>
  294. </item>
  295. </choices>
  296. </select>
  297. <select id="checkbox4" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/reqgoal4" overflow="visible" appearance="full" style="left:115px; top:281px; width:100px; height:18px; border-style:none; ">
  298. <choices>
  299. <item>
  300. <label>Compliance</label>
  301. <value>V</value>
  302. </item>
  303. </choices>
  304. </select>
  305. </group>
  306. <group id="group3" style="left:0px; top:470px; width:545px; height:27px; ">
  307. <line id="line2" class="line_2" style="x1:0px; y1:0px; x2:490px; y2:0px; "/>
  308. <button id="btn_close" class="btn4_letter2" style="left:489px; top:5px; width:56px; height:22px; ">
  309. <caption>닫기</caption>
  310. <script type="javascript" ev:event="DOMActivate">
  311. <![CDATA[
  312. fSetClose();
  313. ]]>
  314. </script>
  315. </button>
  316. <button id="btn_save" class="btn4_letter2" style="left:430px; top:5px; width:56px; height:22px; ">
  317. <caption>확인</caption>
  318. <script type="javascript" ev:event="DOMActivate">
  319. <![CDATA[
  320. fExeClinicSave();
  321. ]]>
  322. </script>
  323. </button>
  324. </group>
  325. </xhtml:body>
  326. </xhtml:html>