SPMMO50400_반환요청처방조회.xrw 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>반환요청 처방조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <cond>
  11. <pid/>
  12. <hngnm/>
  13. <indd/>
  14. <orddeptcd/>
  15. <cretno/>
  16. </cond>
  17. <prcpinfo>
  18. <prcplist/>
  19. </prcpinfo>
  20. <patinfo>
  21. <patinfolist/>
  22. </patinfo>
  23. </main>
  24. <send>
  25. <reqdata/>
  26. </send>
  27. <init>
  28. <orddept/>
  29. </init>
  30. </root>
  31. </instance>
  32. <script type="javascript">
  33. <![CDATA[
  34. function fReqGetPrcpList() {
  35. model.resetInstanceNode("/root/main/prcpinfo/prcplist");
  36. model.refresh();
  37. submit("TRMMO50401");
  38. }
  39. ]]>
  40. </script>
  41. <submission id="TRMMO50401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cond" resultref="/root/main/prcpinfo"/>
  42. <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
  43. <submission id="TRMMO04105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/patnm"/>
  44. <script type="javascript" ev:event="xforms-ready">
  45. <![CDATA[
  46. if( !isNull(opener.javascript.getParameter("SPMMO50400_pid")) ){
  47. model.setValue("/root/main/cond/pid", opener.javascript.getParameter("SPMMO50400_pid"));
  48. model.setValue("/root/main/cond/indd", opener.javascript.getParameter("SPMMO50400_indd"));
  49. model.setValue("/root/main/cond/cretno", opener.javascript.getParameter("SPMMO50400_cretno"));
  50. if( isNull(opener.javascript.getParameter("SPMMO50400_orddeptcd")) ) {
  51. model.setValue("/root/main/cond/orddeptcd", "-" );
  52. } else {
  53. model.setValue("/root/main/cond/orddeptcd", opener.javascript.getParameter("SPMMO50400_orddeptcd"));
  54. }
  55. mmbfGetDeptCodeComboList("/root/send/reqdata", "/root/init/orddept" , "A"); //부서코드 콤보
  56. addComboInstance("/root/init/orddept", "deptcd^depthngnm", "-^전체", "dept"); //진료과 전체항목 추가
  57. inputEnterKey("btn_req", "DOMActivate");
  58. btn_req.dispatch("DOMActivate");
  59. model.refresh();
  60. } else {
  61. messageBox("화면 호출 파라미터 정보가 없습니다.", 'E999');
  62. window.close();
  63. }
  64. ]]>
  65. </script>
  66. </model>
  67. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  68. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  69. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  70. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  71. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  72. </xhtml:head>
  73. <xhtml:body pagewidth="1030" pageheight="300" guideline="1,1009;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  74. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:20px; width:1010px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  75. <caption id="caption9" class="tit_1" style="left:0px; top:0px; width:160px; height:14px; vertical-align:middle; ">반환요청 처방조회</caption>
  76. <caption id="caption4" style="left:145px; top:0px; width:715px; height:16px; ">처방 종류가 '퇴원' 또는 '외출/외박' 처방은 약국에서 반환확인 하시고, 그외 처방은 병동에서 투약기록을 확인하시기 바랍니다.</caption>
  77. <caption id="caption2" class="search_name" style="left:8px; top:30px; width:95px; height:17px; vertical-align:middle; ">입원일자 :</caption>
  78. <input id="input4" ref="/root/main/cond/indd" class="input" disabled="true" inputtype="date" style="left:95px; top:30px; width:85px; height:19px; "/>
  79. <caption id="caption10" class="search_name" style="left:465px; top:30px; width:101px; height:17px; vertical-align:middle; ">등록번호:</caption>
  80. <input id="input1" ref="/root/main/cond/pid" disabled="true" style="left:550px; top:30px; width:80px; height:19px; "/>
  81. <input id="input2" ref="/root/main/cond/hngnm" disabled="true" style="left:635px; top:30px; width:95px; height:19px; "/>
  82. <caption id="caption1" class="search_name" style="left:196px; top:30px; width:95px; height:17px; vertical-align:middle; ">진 료 과 :</caption>
  83. <select1 id="cmb_orddept" ref="/root/main/cond/orddeptcd" class="combo_default" disabled="true" appearance="minimal" editmode="search" style="left:285px; top:30px; width:166px; height:19px; ">
  84. <choices>
  85. <itemset nodeset="/root/init/orddept/dept">
  86. <label ref="depthngnm"/>
  87. <value ref="deptcd"/>
  88. </itemset>
  89. </choices>
  90. </select1>
  91. <line id="line3" style="x1:920px; y1:30px; x2:920px; y2:55px; border-color:#ffe4bb; border-left-style:solid; "/>
  92. <button id="btn_req" class="btn1_letter2" style="left:935px; top:30px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  93. <caption>조회</caption>
  94. <script type="javascript" ev:event="DOMActivate">
  95. <![CDATA[
  96. fPidTrim("/root/main/cond/pid")
  97. var pid = model.getValue("/root/main/cond/pid");
  98. if(pid == ""){
  99. messageBox("조회 하실 환자번호를", "C001");
  100. return;
  101. }
  102. if(reqPatInfo("pid", "ptbs", pid)==true){
  103. var hngnm = model.getValue("/root/init/patnm/patnm/hngnm");
  104. model.setValue("/root/main/cond/hngnm", hngnm);
  105. input2.refresh();
  106. fReqGetPrcpList();
  107. }
  108. ]]>
  109. </script>
  110. </button>
  111. <line id="line1" class="line_1" style="x1:0px; y1:65px; x2:1009px; y2:66px; "/>
  112. <datagrid id="datagrid1" nodeset="/root/main/prcpinfo/prcplist" caption="처방종류^처방시병동^처방적용일^처방코드^처방명^1회용량^1회용량^1회수량^1회수량^횟수^일수^진행상태^처방입력자^처방입력시간" colsep="^" colwidth="60, 100, 80, 100, 200, 35, 35, 35, 35, 30, 30, 60, 70, 120" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:0px; top:70px; width:1009px; height:230px; ">
  113. <col ref="prcpkindcd" style="text-align:center; "/>
  114. <col ref="wardcdnm" style="left:715px; top:23px; width:84px; height:23px; "/>
  115. <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
  116. <col ref="prcpcd"/>
  117. <col ref="prcpnm"/>
  118. <col ref="drprcpetc7" style="text-align:center; "/>
  119. <col ref="prcpvolunitnm" style="text-align:center; "/>
  120. <col ref="drprcpetc8" style="text-align:center; "/>
  121. <col ref="prcpqtyunitnm" style="text-align:center; "/>
  122. <col ref="prcptims" style="text-align:center; "/>
  123. <col ref="prcpdayno" style="text-align:center; "/>
  124. <col ref="prcpstatcd" style="text-align:center; "/>
  125. <col ref="rgstrnm" style="text-align:center; "/>
  126. <col ref="rgsttime" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
  127. </datagrid>
  128. </xhtml:body>
  129. </xhtml:html>