SPLLJ90100_부적합검체등록.xrw 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPLLJ90100_부적합검체등록.xrw
  4. * 설 명 : 부적합검체등록
  5. * 설 계 자 : (주)에이씨케이 - 박정은
  6. * 작 성 자 : (주)에이씨케이 - 박정은
  7. * 작 성 일 : 2006.12.04
  8. * 수정이력 : 2007.08.01 박정은 코드인스펙션
  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>
  18. <main>
  19. <badspclist>
  20. <cnclflag>-</cnclflag>
  21. <bcno/>
  22. <patnm/>
  23. <pid/>
  24. <orddept/>
  25. <wardroom/>
  26. <notipsn/>
  27. <notidt/>
  28. <spcflag/>
  29. <spcflagdetl/>
  30. <measflag/>
  31. <measfact/>
  32. <Msg/>
  33. <spcseq/>
  34. <rsltstat/>
  35. <spccd/>
  36. <spcstat/>
  37. <bc/>
  38. <resncd/>
  39. <notidt/>
  40. </badspclist>
  41. <getuserAnm>
  42. <acceptnm/>
  43. </getuserAnm>
  44. </main>
  45. <send>
  46. <Data1/>
  47. <Data2/>
  48. <Data3/>
  49. <Data4/>
  50. <Data5/>
  51. <Data6/>
  52. <Data7/>
  53. <Data8/>
  54. <Data9/>
  55. <Data10/>
  56. <pid/>
  57. <spccd/>
  58. <codeflag/>
  59. <rtnid/>
  60. <notipsn/>
  61. <smsbcno/>
  62. <smsuserid/>
  63. <smsmsg/>
  64. <sender/>
  65. <smsgbn/>
  66. </send>
  67. <init>
  68. </init>
  69. <hidden>
  70. <!-- <cncl>1</cncl>
  71. <spcno>I-20061108-00001-0</spcno>
  72. <patnm>홍길동</patnm>
  73. <regno>1234567890</regno>
  74. <orddept>산부인과</orddept>
  75. <room>5B병동 502호</room>
  76. <notirsn/>
  77. <notitm>200612231000</notitm>
  78. <notistat>4</notistat>
  79. <notidetstat/>
  80. <measfact/>
  81. -->
  82. <cnclflag/>
  83. <bcno/>
  84. <notipsn/>
  85. <spcflag/>
  86. <spcflagdetl/>
  87. <measfact/>
  88. <notidetstat/>
  89. <spcresncd/>
  90. <meafactcd/>
  91. <temp/>
  92. </hidden>
  93. </root>
  94. </instance>
  95. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  96. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  97. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  98. <!-- 부적합 검체 조회 -->
  99. <submission id="TRLLJ90101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/badspclist"/>
  100. <!-- 부적합 검체 등록 -->
  101. <submission id="TXLLJ90101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/badspclist"/>
  102. <submission id="TXLLJ90102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  103. <script type="javascript" ev:event="xforms-ready">
  104. <![CDATA[
  105. // 부적합 검체 조회
  106. fgetbadspc();
  107. // 부적합취소사유목록 초기정보조회
  108. fGetBadSpcResn();
  109. ]]>
  110. </script>
  111. <submission id="TRLBT10404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getuserAnm"/>
  112. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0101"/>
  113. </model>
  114. <script type="javascript">
  115. <![CDATA[
  116. // 부적합취소사유목록 초기정보조회
  117. function fGetBadSpcResn(){
  118. model.setValue("/root/send/codeflag", "0101|"); // 0117 사유코드관리
  119. submit("TRLZZ00101");
  120. fSpcStatResn();
  121. }
  122. // 검체상태사유콤보
  123. function fSpcStatResn(){
  124. if(model.getValue("/root/main/badspclist/cnclflag")=="1"){ // 채혈취소 사유
  125. cmb_cancelstat.children.item(4).children.item(0).attribute("nodeset") = "/root/init/LB0101[etc01='01']";
  126. model.setValue("/root/main/badspclist/spcflag", model.getValue("/root/init/LB0101[etc01='01' and contains(nm, '검체부적합')]/cd"));
  127. }else if(model.getValue("/root/main/badspclist/cnclflag")=="2"){ // 접수취소 사유
  128. cmb_cancelstat.children.item(4).children.item(0).attribute("nodeset") = "/root/init/LB0101[etc01='02']";
  129. model.setValue("/root/main/badspclist/spcflag", model.getValue("/root/init/LB0101[etc01='02' and contains(nm, '검체부적합')]/cd"));
  130. }
  131. model.refresh();
  132. }
  133. // 검체번호 엔터 부적합검체내역 조회
  134. function fKeyEvent(){
  135. if(event.keyCode == "13"){
  136. model.removeNodeset("/root/main");
  137. model.makeNode("/root/main/badspclist/cnclflag");
  138. model.makeNode("/root/main/badspclist/bcno");
  139. model.makeNode("/root/main/badspclist/patnm");
  140. model.makeNode("/root/main/badspclist/pid");
  141. model.makeNode("/root/main/badspclist/orddept");
  142. model.makeNode("/root/main/badspclist/wardroom");
  143. model.makeNode("/root/main/badspclist/notipsn");
  144. model.makeNode("/root/main/badspclist/notidt");
  145. model.makeNode("/root/main/badspclist/spcflag");
  146. model.makeNode("/root/main/badspclist/spcflagdetl");
  147. model.makeNode("/root/main/badspclist/measflag");
  148. model.makeNode("/root/main/badspclist/measfact");
  149. model.makeNode("/root/main/badspclist/Msg");
  150. model.makeNode("/root/main/badspclist/spcseq");
  151. model.makeNode("/root/main/badspclist/rsltstat");
  152. model.makeNode("/root/main/badspclist/spccd");
  153. model.makeNode("/root/main/badspclist/spcstat");
  154. model.makeNode("/root/main/badspclist/bc");
  155. model.makeNode("/root/main/badspclist/resncd");
  156. model.makeNode("/root/main/badspclist/notidt");
  157. model.makeNode("/root/main/getuserAnm/acceptnm");
  158. if(event.target == "ipt_bcno"){
  159. // if(ipt_bcno.currentText.length == 9){
  160. model.setvalue("/root/hidden/bcno", (ipt_bcno.currentText).toUpperCase());
  161. // 이재오 2014.12.22일 외래바코드조회시 주의
  162. if(model.getValue("/root/hidden/bcno").substr(0, 1) == "O" )
  163. {
  164. alert("외래바코드 입니다. 검체취소시 주의요망!");
  165. }
  166. fgetbadspc();
  167. ipt_bcno.selBegin = 0;
  168. ipt_bcno.selEnd = ipt_bcno.currentText.length;
  169. // }
  170. }
  171. }
  172. }
  173. // 부적합 검체 조회
  174. function fgetbadspc(){
  175. var sendbcno = model.getValue("/root/hidden/bcno");
  176. // 검체번호 있으면 바로 조회
  177. if(sendbcno != ""){
  178. cmb_cancel.disabled = false;
  179. if(sendbcno.substr(0,1)=="M"){
  180. model.setValue("/root/hidden/cnclflag","0");
  181. cmb_cancel.disabled = true;
  182. }
  183. model.setValue("/root/send/Data1", sendbcno);
  184. submit("TRLLJ90101");
  185. if(model.getXPathValue("count(/root/main/badspclist)") == "0") {
  186. messageBox("검체번호가 잘못 입력되었습니다. 검체내역을 조회 할 수", "E001");
  187. return;
  188. }
  189. model.setValue("/root/main/badspclist/notidt", getCurrentDate() + getCurrentTime());
  190. }
  191. if(model.getValue("/root/main/badspclist/bc") != "-"){
  192. var cnt = getNodesetCount("/root/init/LB0101[etc01='11']");
  193. for(i=0; i<parseInt(cnt); i++){
  194. if(model.getValue("/root/main/badspclist/measfact").indexOf(cmb_measfact.item(i).label)==0){
  195. model.setValue("root/main/badspclist/measflag", cmb_measfact.item(i).value);
  196. }
  197. }
  198. if(model.getValue("/root/main/badspclist/cnclflag")=="1" || model.getValue("/root/main/badspclist/cnclflag")=="2"){
  199. if(model.getValue("/root/main/badspclist/cnclflag")=="1"){ // 채혈취소 사유
  200. cnt = getNodesetCount("/root/init/LB0101[etc01='01']");
  201. }else if(model.getValue("/root/main/badspclist/cnclflag")=="2"){ // 접수취소 사유
  202. cnt = getNodesetCount("/root/init/LB0101[etc01='02']");
  203. }
  204. for(i=0; i<parseInt(cnt); i++){
  205. if(model.getValue("/root/main/badspclist/measfact").indexOf(cmb_cancelstat.item(i).label)==0){
  206. model.setValue("root/main/badspclist/measflag", cmb_cancelstat.item(i).value);
  207. }
  208. }
  209. }
  210. }
  211. if(sendbcno.substr(0,1)=="G" || sendbcno.substr(0,1)=="M") {
  212. model.setValue("/root/main/badspclist/cnclflag", "0");
  213. } else if(model.getValue("/root/main/badspclist/spcstat") == "2"){
  214. model.setValue("/root/main/badspclist/cnclflag", "1");
  215. } else if(model.getValue("/root/main/badspclist/spcstat") == "3"){
  216. model.setValue("/root/main/badspclist/cnclflag", "2");
  217. }else if((model.getValue("/root/main/badspclist/spcstat") == "4") && (model.getValue("/root/main/badspclist/rsltstat") == "-")){
  218. model.setValue("/root/main/badspclist/cnclflag", "2");
  219. }else{
  220. model.setValue("/root/main/badspclist/cnclflag", "0");
  221. }
  222. cmb_cancel.refresh();
  223. fSpcStatResn();
  224. if(model.getValue("/root/main/badspclist/bc") != ""){ //
  225. if(model.getValue("/root/main/badspclist/bc")=="-"){ // 부적합등록안됨
  226. btn_cnfm.disabled = false;
  227. if(model.getValue("/root/main/badspclist/rsltstat") != ""){
  228. if(model.getValue("/root/main/badspclist/rsltstat") != "-"){
  229. messageBox("검사결과가 등록되어있습니다. 접수,채혈취소 ", "E001"); // 할 수 없습니다.
  230. model.setValue("/root/main/badspclist/cnclflag", "0");
  231. cmb_cancel.disabled = true;
  232. }
  233. }
  234. }else{ //부적합등록됨
  235. messageBox("이미 부적합검체로 등록되어있습니다. 부적합검체 등록 ", "E001"); // 할 수 없습니다.
  236. btn_cnfm.disabled = true;
  237. return;
  238. }
  239. }
  240. }
  241. // 초기화
  242. function fExeCancel(){
  243. window.close();
  244. }
  245. // 검체상태 콤보박스 선택시
  246. function fSetSpcStat(){
  247. model.setValue("/root/main/badspclist/spcflagdetl", cmb_spcstat.label);
  248. //model.refresh();
  249. tar_spcstat.refresh();
  250. }
  251. function fSetSpcStatMeas(){
  252. model.setValue("/root/main/badspclist/measfact", cmb_measfact.label);
  253. //model.refresh();
  254. tar_measfact.refresh();
  255. }
  256. // 부적합 검체 등록
  257. function fInsBadSpc(){
  258. //model.copyNode("/root/send/Data1", "/root/main/badspclist");
  259. if(model.getValue("/root/main/badspclist/bc") != "-"){
  260. messageBox("이미 부적합검체로 등록되어있습니다. 부적합검체 등록 ", "E001"); // 할 수 없습니다.
  261. return;
  262. }
  263. if(model.getValue("/root/main/badspclist/cnclflag")=="2"){ // 접수취소 콤보 선택시
  264. if(model.getValue("/root/main/badspclist/spcstat")=="4" || model.getValue("/root/main/badspclist/spcstat")=="3"){ // 접수상태인데
  265. if(model.getValue("/root/main/badspclist/rsltstat") != "-"){ // 결과 있으면
  266. messageBox("결과등록된 상태입니다. 접수취소 ", "E001"); // 할 수 없습니다.
  267. return;
  268. }
  269. }else{
  270. messageBox("접수 상태가 아닙니다. 접수취소 ", "E001"); // 할 수 없습니다.
  271. return;
  272. }
  273. if(model.getValue("/root/main/badspclist/spcflag") == "" ){ // 접수취소 사유 없는 경우
  274. messageBox("취소 사유를 넣어 주십시요. 진행", "E001");
  275. return;
  276. }
  277. }else if(model.getValue("/root/main/badspclist/cnclflag")=="1"){ // 채혈취소 콤보 선택시
  278. if(model.getValue("/root/main/badspclist/spcstat")=="4"){
  279. messageBox("접수된 검체입니다. 채혈취소 ", "E001"); // 할 수 없습니다.
  280. return;
  281. }
  282. if(model.getValue("/root/main/badspclist/spcflag") == "" ){ // 채혈취소 사유 없는 경우
  283. messageBox("취소 사유를 넣어 주십시요. 진행", "E001");
  284. return;
  285. }
  286. }
  287. if(model.getValue("/root/main/badspclist/resncd") == "06000" || model.getValue("/root/main/badspclist/resncd") == ""){
  288. messageBox("부적격 사유를 선택하세요", "E");
  289. return;
  290. }
  291. if(model.getValue("/root/main/badspclist/measflag") == "11000" || model.getValue("/root/main/badspclist/measflag") == ""){
  292. messageBox("부적격 조치 사유를 선택하세요", "E");
  293. return;
  294. }
  295. //병동 피통보자 등로블럭위해 막음 20120228 유민규
  296. //if(model.getValue("/root/main/badspclist/resncd") == ""
  297. // || model.getValue("/root/main/badspclist/spcflagdetl") == ""
  298. // || model.getValue("/root/main/badspclist/measfact") == ""
  299. // || model.getValue("/root/main/getuserAnm/acceptnm") == ""){
  300. // messageBox("모든 입력을 해주십시오 진행", "E001");
  301. // return;
  302. //}
  303. if(model.getValue("/root/main/badspclist/resncd") == ""
  304. || model.getValue("/root/main/badspclist/spcflagdetl") == ""
  305. || model.getValue("/root/main/badspclist/measfact") == ""){
  306. messageBox("모든 입력을 해주십시오 진행", "E001");
  307. return;
  308. }
  309. model.setValue("/root/send/Data1", model.getValue("/root/hidden/bcno"));
  310. model.setValue("/root/send/Data2", model.getValue("/root/main/badspclist/cnclflag")); // 1 채혈취소(삭제함) 2 접수취소 (사용)
  311. model.setValue("/root/send/Data3", "-");
  312. //model.setValue("/root/send/Data3", model.getValue("/root/main/getuserAnm/acceptnm"));병동 피통보자 등로블럭위해 막음 20120228 유민규
  313. model.setValue("/root/send/Data4", model.getValue("/root/main/badspclist/spcflag"));
  314. model.setValue("/root/send/Data5", model.getValue("/root/main/badspclist/resncd"));
  315. model.setValue("/root/send/Data6", model.getValue("/root/main/badspclist/spcflagdetl"));
  316. model.setValue("/root/send/Data7", model.getValue("/root/main/badspclist/measflag"));
  317. model.setValue("/root/send/Data8", model.getValue("/root/main/badspclist/measfact"));
  318. model.setValue("/root/send/Data9", model.getValue("/root/main/badspclist/spcseq"));
  319. model.setValue("/root/send/Data10", model.getValue("/root/main/badspclist/rsltstat"));
  320. model.setValue("/root/send/pid", model.getValue("/root/main/badspclist/pid"));
  321. model.setValue("/root/send/spccd", model.getValue("/root/main/badspclist/spccd"));
  322. model.setValue("/root/send/rtnid", model.getValue("/root/main/badspclist/notipsn"));
  323. model.setValue("/root/send/notipsn", "-");
  324. //model.setValue("/root/send/notipsn", model.getValue("/root/main/getuserAnm/acceptnm")); 병동 피통보자 등로블럭위해 막음 20120228 유민규
  325. if (model.getValue("/root/main/badspclist/notipsn") == ""){
  326. //alert(model.getValue("/root/main/badspclist/notipsn"))
  327. model.setValue("/root/send/rtnid","-")
  328. }
  329. //alert(model.getValue("/root/send/rtnid"));
  330. if(submit("TXLLJ90101")==true){
  331. // 부적합 등록돼있음
  332. /*if(model.getValue("/root/main/badspclist/Msg") != "" ){
  333. var msg = model.getValue("/root/main/badspclist/Msg");
  334. messageBox(msg , "I001");
  335. }*/
  336. window.close();
  337. }
  338. }
  339. function fUserNMRef(){
  340. if(model.getvalue("/root/main/badspclist/notipsn") != ""){
  341. model.makeValue("/root/send/acceptid", model.getvalue("/root/main/badspclist/notipsn"));
  342. submit("TRLBT10404");
  343. }
  344. }
  345. function fSendSMS(mgbn){
  346. var sendbcno = ipt_bcno.value;
  347. var sendpatnm = opt_patnm.value;
  348. var senduserid = ipt_notipsn.value;
  349. var sendusernm = opt_notipsn.value;
  350. var sendpid = opt_pid.value;
  351. if(sendbcno == "" || sendpatnm == ""){
  352. alert(mgbn + " 전송할 검체를 선택해 주십시오"); return;
  353. }
  354. if(senduserid == "" || sendusernm == ""){
  355. alert(mgbn + " 전송 대상을 선택해 주십시오"); return;
  356. }
  357. model.setValue("/root/send/smsbcno", sendbcno);
  358. model.setValue("/root/send/smsuserid", senduserid);
  359. var smsMsg = model.getValue("/root/main/badspclist/pid") + "["
  360. + model.getValue("/root/main/badspclist/patnm") + "], "
  361. + model.getValue("/root/hidden/bcno") + ", "
  362. + cmb_cancelstat.label + ", "
  363. + model.getValue("/root/main/badspclist/measfact"); // 등록번호[환자명], 바코드번호 , 사유, 조치사항
  364. //alert(smsMsg);
  365. model.setValue("/root/send/smsmsg", smsMsg);
  366. model.setValue("/root/send/sender", getUserInfo("userid"));
  367. model.setValue("/root/send/smsgbn", mgbn);
  368. //submit("TXLLJ90102");
  369. }
  370. ]]>
  371. </script>
  372. </xhtml:head>
  373. <xhtml:body pagewidth="350" pageheight="470" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  374. <group id="group1" style="left:0px; top:0px; width:310px; height:395px; ">
  375. <caption id="caption1" class="tit_2" style="left:5px; top:11px; width:108px; height:14px; ">부적합검체내역</caption>
  376. <line id="line1" class="line_1" style="x1:0px; y1:26px; x2:309px; y2:26px; "/>
  377. <caption id="caption10" class="cell_1" style="left:0px; top:307px; width:100px; height:82px; ">조치사항</caption>
  378. <line id="line2" class="line_2" style="x1:0px; y1:126px; x2:309px; y2:126px; "/>
  379. <line id="line3" class="line_2" style="x1:0px; y1:150px; x2:309px; y2:150px; "/>
  380. <line id="line4" class="line_2" style="x1:0px; y1:102px; x2:309px; y2:102px; "/>
  381. <line id="line5" class="line_2" style="x1:0px; y1:174px; x2:309px; y2:174px; "/>
  382. <line id="line6" class="line_2" style="x1:0px; y1:198px; x2:309px; y2:198px; "/>
  383. <line id="line7" class="line_2" style="x1:0px; y1:222px; x2:309px; y2:222px; "/>
  384. <line id="line9" class="line_2" style="x1:0px; y1:221px; x2:310px; y2:221px; "/>
  385. <line id="line10" class="line_2" style="x1:103px; y1:246px; x2:309px; y2:246px; "/>
  386. <line id="line11" class="line_2" style="x1:0px; y1:329px; x2:309px; y2:329px; "/>
  387. <line id="line8" class="line_3" style="x1:0px; y1:389px; x2:309px; y2:389px; "/>
  388. <line id="line12" class="line_2" style="x1:0px; y1:78px; x2:309px; y2:78px; "/>
  389. <line id="line13" class="line_2" style="x1:103px; y1:270px; x2:309px; y2:270px; "/>
  390. <caption id="caption2" class="cell_1" style="left:0px; top:104px; width:100px; height:23px; ">환자명</caption>
  391. <caption id="caption11" class="cell_1" style="left:0px; top:31px; width:100px; height:23px; ">취소구분</caption>
  392. <caption id="caption3" class="cell_1" style="left:0px; top:80px; width:100px; height:23px; ">검체번호</caption>
  393. <caption id="caption4" class="cell_1" style="left:0px; top:128px; width:100px; height:23px; ">등록번호</caption>
  394. <caption id="caption5" class="cell_1" style="left:0px; top:152px; width:100px; height:23px; ">진료과</caption>
  395. <caption id="caption6" class="cell_1" style="left:0px; top:176px; width:100px; height:23px; ">병실</caption>
  396. <caption id="caption8" class="cell_1" style="left:0px; top:200px; width:100px; height:23px; ">통보시간</caption>
  397. <caption id="caption9" class="cell_1" style="left:0px; top:224px; width:100px; height:82px; ">검체상태</caption>
  398. <input id="ipt_bcno" ref="/root/hidden/bcno" class="input_button" inputtype="button" appearance="input" style="left:103px; top:81px; width:206px; height:19px; ">
  399. <script type="javascript" ev:event="onbuttonclick">
  400. <![CDATA[
  401. //fgetbadspc();
  402. //fKeyEvent();
  403. ]]>
  404. </script>
  405. <script type="javascript" ev:event="onkeypress">
  406. <![CDATA[
  407. fKeyEvent();
  408. ]]>
  409. </script>
  410. </input>
  411. <select1 id="cmb_cancel" ref="/root/main/badspclist/cnclflag" class="combo_essential" appearance="minimal" style="left:103px; top:32px; width:206px; height:19px; ">
  412. <choices>
  413. <item>
  414. <label>-</label>
  415. <value>0</value>
  416. </item>
  417. <item>
  418. <label>접수취소</label>
  419. <value>2</value>
  420. </item>
  421. <item>
  422. <label>채혈취소</label>
  423. <value>1</value>
  424. </item>
  425. </choices>
  426. <script type="javascript" ev:event="xforms-value-changed">
  427. <![CDATA[
  428. model.setValue("/root/main/badspclist/spcflag", "");
  429. fSpcStatResn();
  430. ]]>
  431. </script>
  432. </select1>
  433. <output id="opt_patnm" ref="/root/main/badspclist/patnm" class="output_fix" style="left:103px; top:105px; width:206px; height:19px; "/>
  434. <output id="opt_pid" ref="/root/main/badspclist/pid" class="output_fix" style="left:103px; top:129px; width:206px; height:19px; "/>
  435. <output id="opt_orddept" ref="/root/main/badspclist/orddept" class="output_fix" style="left:103px; top:153px; width:206px; height:19px; "/>
  436. <output id="opt_wardroom" ref="/root/main/badspclist/wardroom" class="output_fix" style="left:103px; top:177px; width:206px; height:19px; "/>
  437. <output id="opt_notidt" ref="/root/main/badspclist/notidt" class="output_fix" format="yyyy-mm-dd hh:nn" style="left:103px; top:201px; width:206px; height:19px; "/>
  438. <textarea id="tar_spcstat" ref="/root/main/badspclist/spcflagdetl" class="text_essential" style="left:103px; top:249px; width:206px; height:54px; "/>
  439. <textarea id="tar_measfact" ref="/root/main/badspclist/measfact" class="text_essential" style="left:103px; top:329px; width:206px; height:58px; "/>
  440. <output id="output1" ref="/root/main/badspclist/spcstat" visibility="hidden" style="left:155px; top:5px; width:30px; height:19px; "/>
  441. <output id="output2" ref="/root/main/badspclist/rsltstat" visibility="hidden" style="left:190px; top:5px; width:30px; height:19px; "/>
  442. <output id="output3" ref="/root/main/badspclist/bc" visibility="hidden" style="left:225px; top:5px; width:30px; height:19px; "/>
  443. <select1 id="cmb_spcstat" ref="/root/main/badspclist/resncd" appearance="minimal" style="left:103px; top:225px; width:206px; height:19px; ">
  444. <choices>
  445. <itemset nodeset="/root/init/LB0101[etc01='06']">
  446. <label ref="nm"/>
  447. <value ref="cd"/>
  448. </itemset>
  449. </choices>
  450. <script type="javascript" ev:event="xforms-select">
  451. <![CDATA[
  452. fSetSpcStat();
  453. ]]>
  454. </script>
  455. </select1>
  456. <select1 id="cmb_measfact" ref="/root/main/badspclist/measflag" appearance="minimal" style="left:103px; top:308px; width:206px; height:19px; ">
  457. <choices>
  458. <itemset nodeset="/root/init/LB0101[etc01='11']">
  459. <label ref="nm"/>
  460. <value ref="cd"/>
  461. </itemset>
  462. </choices>
  463. <script type="javascript" ev:event="xforms-select">
  464. <![CDATA[
  465. fSetSpcStatMeas();
  466. ]]>
  467. </script>
  468. </select1>
  469. <caption id="caption14" class="cell_1" style="left:0px; top:55px; width:100px; height:23px; ">취소사유</caption>
  470. <select1 id="cmb_cancelstat" ref="/root/main/badspclist/spcflag" appearance="minimal" style="left:103px; top:56px; width:206px; height:19px; ">
  471. <choices>
  472. <itemset nodeset="/root/hidden/spcresncd">
  473. <label ref="nm"/>
  474. <value ref="cd"/>
  475. </itemset>
  476. </choices>
  477. </select1>
  478. </group>
  479. <group id="group2" style="left:0px; top:395px; width:310px; height:27px; ">
  480. <line id="line14" class="line_6" style="x1:0px; y1:0px; x2:310px; y2:0px; "/>
  481. <button id="btn_cnfm" class="btn4_letter2" style="left:195px; top:5px; width:56px; height:22px; ">
  482. <caption>확인</caption>
  483. <script type="javascript" ev:event="DOMActivate">
  484. <![CDATA[
  485. // 부적합 검체 등록
  486. fInsBadSpc();
  487. ]]>
  488. </script>
  489. </button>
  490. <button id="btn_cancel" class="btn4_letter2" style="left:254px; top:5px; width:56px; height:22px; ">
  491. <caption>취소</caption>
  492. <close ev:event="DOMActivate"/>
  493. </button>
  494. <button id="button1" class="btn1_letter2" disabled="true" visibility="hidden" style="left:0px; top:5px; width:56px; height:22px; ">
  495. <caption>SMS</caption>
  496. <script type="javascript" ev:event="DOMActivate">
  497. <![CDATA[
  498. fSendSMS("SMS");
  499. ]]>
  500. </script>
  501. </button>
  502. <button id="button2" class="btn1_letter2" disabled="true" visibility="hidden" style="left:59px; top:5px; width:56px; height:22px; ">
  503. <caption>MSG</caption>
  504. <script type="javascript" ev:event="DOMActivate">
  505. <![CDATA[
  506. fSendSMS("MSG");
  507. ]]>
  508. </script>
  509. </button>
  510. </group>
  511. <caption id="caption13" style="left:5px; top:425px; width:305px; height:20px; font-weight:bold; color:#0000ff; ">※ 피통보자 이름만 입력하셔도 등록가능합니다.</caption>
  512. </xhtml:body>
  513. </xhtml:html>