SPMMD00100_DUR특정질환체크.xrw 4.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <?xml version="1.0" encoding="UTF-8"?>
  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>DUR 특정질병점검</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <send>
  10. <reqdata/>
  11. </send>
  12. <recv>
  13. <patinfo>
  14. <pid/>
  15. <pat_nm/>
  16. <ret_cd/>
  17. <ret_smsg/>
  18. </patinfo>
  19. <rtninfo>
  20. <exm_rst_txt/>
  21. <seft_infm/>
  22. </rtninfo>
  23. </recv>
  24. </root>
  25. </instance>
  26. <submission id="TRMMD00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/recv"/>
  27. </model>
  28. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  29. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  30. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  31. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  32. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  33. <script type="javascript" ev:event="xforms-ready">
  34. <![CDATA[
  35. var sIfYn = opener.javascript.getParameter("SPMMD00100_ifyn");; // 인터페이스 호출여부
  36. var sPid = opener.javascript.getParameter("SPMMD00100_pid");
  37. if(!isNull(sPid) ) {
  38. model.makeValue("/root/send/reqdata/pid", sPid); //등록번호
  39. if(submit("TRMMD00101", false)){
  40. model.refresh();
  41. if(sIfYn == "Y") {
  42. var destNodeList = model.instances(0).selectNodes( "/root/recv/rtninfo" );
  43. if(destNodeList.length == 0) {
  44. window.close();
  45. }
  46. }
  47. grd_durchklist.resizeCells();
  48. } else {
  49. messageBox("DUR 특정질병점검에 실패 하였습니다.", "E999");
  50. }
  51. } else {
  52. messageBox("체크할 환자 번호가 없습니다.", "E999");
  53. //window.close();
  54. }
  55. ]]>
  56. </script>
  57. </xhtml:head>
  58. <xhtml:body pagewidth="550" pageheight="300" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  59. <caption id="caption1" class="cell_1" style="left:0px; top:23px; width:60px; height:23px; vertical-align:middle; ">환자번호</caption>
  60. <input id="input1" ref="/root/recv/patinfo/pid" class="input_default" disabled="true" style="left:65px; top:25px; width:190px; height:19px; font-weight:bold; "/>
  61. <caption id="caption2" class="cell_1" style="left:265px; top:23px; width:60px; height:23px; vertical-align:middle; ">환자명</caption>
  62. <input id="input2" ref="/root/recv/patinfo/pat_nm" class="input_default" disabled="true" style="left:330px; top:25px; width:200px; height:19px; font-weight:bold; "/>
  63. <caption id="caption3" class="cell_1" style="left:0px; top:48px; width:60px; height:23px; vertical-align:middle; ">DUR 결과</caption>
  64. <input id="input3" ref="/root/recv/patinfo/ret_smsg" class="input_default" disabled="true" style="left:65px; top:50px; width:465px; height:19px; font-weight:bold; "/>
  65. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:240px; height:15px; ">DUR 특정질병점검</caption>
  66. <line id="line2" class="line_1" style="x1:1px; y1:17px; x2:530px; y2:17px; "/>
  67. <line id="line1" class="line_1" style="x1:1px; y1:253px; x2:530px; y2:253px; "/>
  68. <datagrid id="grd_durchklist" nodeset="/root/recv/rtninfo" allowuserresize="true" autoresize="true" caption="점검결과^확인내용" colsep="^" colwidth="150, 358" dataheight="23" ellipsis="true" extendlastcol="scroll" rowheight="23" rowsep="|" selectionmode="free" tooltip="true" style="left:0px; top:75px; width:530px; height:174px; ">
  69. <col ref="exm_rst_txt"/>
  70. <col ref="seft_infm"/>
  71. </datagrid>
  72. <button id="btn_conf" class="btn4_letter2" style="left:473px; top:259px; width:56px; height:22px; ">
  73. <caption>확인</caption>
  74. <script type="javascript" ev:event="onclick">
  75. <![CDATA[
  76. window.close();
  77. ]]>
  78. </script>
  79. <script type="javascript" ev:event="onkeydown">
  80. <![CDATA[
  81. if(event.keyCode == "13") {
  82. btn_conf.dispatch("onclick");
  83. }
  84. ]]>
  85. </script>
  86. </button>
  87. </xhtml:body>
  88. </xhtml:html>