SPMNO04200_미결처방조회.xrw 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPMNO04200_미결처방조회.xrw
  4. * 설 명 : 기준자료 처방선택
  5. * 수정이력 :
  6. * 기 타 :
  7. -->
  8. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  9. <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">
  10. <xhtml:head>
  11. <xhtml:title>기준자료 처방선택</xhtml:title>
  12. <model id="model1">
  13. <instance id="instance1">
  14. <root xmlns="">
  15. <main>
  16. <prcpinfo>
  17. <prcplist>
  18. <check/>
  19. <prcpcd/>
  20. <prcpnm/>
  21. <applstage/>
  22. <deptcd/>
  23. <deptnm/>
  24. </prcplist>
  25. </prcpinfo>
  26. <cond>
  27. <pid>2060839</pid>
  28. <hngnm>강조</hngnm>
  29. <orddeptcd>2050000000</orddeptcd>
  30. <orddd>20131226</orddd>
  31. </cond>
  32. </main>
  33. </root>
  34. </instance>
  35. <script type="javascript">
  36. <![CDATA[
  37. function fInitialize() {
  38. var pid = model.property("pid");
  39. var orddd = model.property("orddd");
  40. var orddeptcd = model.property("orddeptcd");
  41. var hngnm = model.property("hngnm");
  42. model.setValue("/root/main/cond/pid", pid);
  43. model.setValue("/root/main/cond/orddd", orddd);
  44. model.setValue("/root/main/cond/orddeptcd", orddeptcd);
  45. model.setValue("/root/main/cond/hngnm", hngnm);
  46. model.refresh();
  47. fSearch();
  48. }
  49. function fSearch() {
  50. model.makeNode("/root/send/reqdata");
  51. model.copyNode("/root/send/reqdata", "/root/main/cond");
  52. submit("TRMNO04202");
  53. }
  54. ]]>
  55. </script>
  56. <script type="javascript" ev:event="xforms-ready">
  57. <![CDATA[
  58. fInitialize();
  59. ]]>
  60. </script>
  61. <submission id="TXMNO02201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/prcpinfo"/>
  62. <submission id="TRMNO04202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" replace="instance" resultref="/root/main/prcpinfo"/>
  63. </model>
  64. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  65. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  66. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  67. </xhtml:head>
  68. <xhtml:body pagewidth="600" pageheight="400" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  69. <group id="grp_biz" scroll="auto" style="left:0px; top:35px; width:580px; height:326px; ">
  70. <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:194px; height:14px; ">처방 조회</caption>
  71. <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:576px; y2:25px; "/>
  72. <datagrid id="grd_prcpinfo" nodeset="/root/main/prcpinfo/prcplist" class="datagrid2" caption="종류^처방일자^처방코드^처방명^진료과" colsep="^" colwidth="38, 75, 77, 263, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:1px; top:30px; width:576px; height:290px; ">
  73. <col ref="prcpclsnm" style="text-align:center; "/>
  74. <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
  75. <col ref="prcpcd"/>
  76. <col ref="prcpnm" style="text-align:left; "/>
  77. <col ref="deptcd"/>
  78. </datagrid>
  79. </group>
  80. <group id="group2" style="left:0px; top:0px; width:581px; height:35px; vertical-align:top; ">
  81. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:580px; height:35px; "/>
  82. <line id="line13" class="line_4" style="x1:515px; y1:7px; x2:515px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  83. <button id="btn_search" class="btn1_letter2" style="left:520px; top:7px; width:56px; height:22px; ">
  84. <caption>조회</caption>
  85. <script type="javascript" ev:event="DOMActivate">
  86. <![CDATA[
  87. fSearch();
  88. ]]>
  89. </script>
  90. </button>
  91. <input id="ipt_prcpcd" ref="/root/main/cond/pid" class="input_default" navindex="2" imemode="alpha" maxlength="12" style="left:20px; top:8px; width:105px; height:19px; ">
  92. <script type="javascript" ev:event="onkeydown">
  93. <![CDATA[
  94. if(event.keycode == "13"){
  95. fPrcpListSrch();
  96. }
  97. ]]>
  98. </script>
  99. </input>
  100. <input id="ipt_prcpnm" ref="/root/main/cond/hngnm" class="input_default" style="left:130px; top:8px; width:115px; height:19px; ">
  101. <script type="javascript" ev:event="onkeydown">
  102. <![CDATA[
  103. if(event.keycode == "13"){
  104. fPrcpListSrch();
  105. }
  106. ]]>
  107. </script>
  108. </input>
  109. </group>
  110. </xhtml:body>
  111. </xhtml:html>