SPMNB00200_카덱스지시처방조회.xrw 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <remarkinfo>
  11. <remarklist>
  12. <prcpdd/>
  13. <prcpnm/>
  14. </remarklist>
  15. </remarkinfo>
  16. </main>
  17. <send>
  18. <pid/>
  19. <indd/>
  20. <cretno/>
  21. <ioflag/>
  22. </send>
  23. <target>
  24. <paminfo>
  25. <pid/>
  26. <indd/>
  27. <patnm/>
  28. <cretno/>
  29. <ioflag/>
  30. </paminfo>
  31. </target>
  32. </root>
  33. </instance>
  34. <script type="javascript" ev:event="xforms-ready">
  35. <![CDATA[
  36. fGetRemarkList();
  37. ]]>
  38. </script>
  39. <submission id="TRMNB00209" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/remarkinfo"/>
  40. </model>
  41. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  42. <script type="javascript">
  43. <![CDATA[
  44. function fGetRemarkList(){
  45. model.removeNodeset("/root/main/remarkinfo/remarklist");
  46. grd_remarklist.refresh();
  47. if (model.getvalue("/root/target/paminfo/pid") != "") {
  48. model.removeNodeset("/root/send");
  49. model.makeValue("/root/send/pid" , model.getValue("/root/target/paminfo/pid" ));
  50. model.makeValue("/root/send/indd" , model.getValue("/root/target/paminfo/indd" ));
  51. model.makeValue("/root/send/cretno" , model.getValue("/root/target/paminfo/cretno" ));
  52. model.makeValue("/root/send/ioflag" , model.getValue("/root/target/paminfo/ioflag" ));
  53. submit("TRMNB00209");
  54. } else {
  55. messageBox("선택된 환자가 없습니다.", "E");
  56. }
  57. }]]>
  58. </script>
  59. </xhtml:head>
  60. <xhtml:body pagewidth="786" pageheight="520" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  61. <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:770px; height:510px; ">
  62. <caption id="cpt_zoomtitle" class="tit_2" style="left:10px; top:35px; width:205px; height:14px; ">지시처방</caption>
  63. <line id="line1" class="line_1" style="x1:5px; y1:50px; x2:765px; y2:50px; "/>
  64. <output id="out_pid" ref="/root/target/paminfo/pid" class="output_fix" style="left:67px; top:5px; width:85px; height:19px; text-align:right; "/>
  65. <caption id="caption20" class="cell_1" style="left:5px; top:3px; width:60px; height:23px; text-align:center; vertical-align:middle; ">등록번호</caption>
  66. <caption id="caption21" class="cell_1" style="left:155px; top:3px; width:60px; height:23px; text-align:center; vertical-align:middle; ">환자명</caption>
  67. <output id="out_hnnm" ref="/root/target/paminfo/patnm" class="output_fix" style="left:217px; top:5px; width:85px; height:19px; text-align:center; "/>
  68. <line id="line4" class="line_1" style="x1:5px; y1:0px; x2:300px; y2:0px; "/>
  69. <line id="line5" class="line_3" style="x1:5px; y1:25px; x2:300px; y2:25px; "/>
  70. <datagrid id="grd_remarklist" nodeset="/root/main/remarkinfo/remarklist" scroll="autovscroll" autoresize="true" caption="처방일시^처방명" colsep="^" colwidth="189, 530" dataheight="23" extendlastcol="scroll" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:55px; width:760px; height:450px; ">
  71. <col ref="prcpdd"/>
  72. <col ref="prcpnm" type="input" editable="false"/>
  73. <!--script type="javascript" ev:event="onentercell">
  74. <![CDATA[
  75. if ( grd_remarklist.isCell() && (grd_remarklist.col == '1') ){
  76. grd_remarklist.editCell();
  77. }
  78. ]]>
  79. </script-->
  80. </datagrid>
  81. <button id="button1" class="btn1_letter2" style="left:653px; top:5px; width:56px; height:22px; ">
  82. <caption>조회</caption>
  83. <script type="javascript" ev:event="DOMActivate">
  84. <![CDATA[
  85. fGetRemarkList();
  86. ]]>
  87. </script>
  88. </button>
  89. <button id="button2" class="btn1_letter2" style="left:709px; top:5px; width:56px; height:22px; ">
  90. <caption>닫기</caption>
  91. <script type="javascript" ev:event="DOMActivate">
  92. <![CDATA[
  93. model.close();
  94. ]]>
  95. </script>
  96. </button>
  97. </group>
  98. </xhtml:body>
  99. </xhtml:html>