SMMNP01400_환자별 수술 이력 조회.xrw 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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/>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <KeyData>
  11. <patdata>
  12. <pid/>
  13. <pidname/>
  14. </patdata>
  15. <instcd/>
  16. </KeyData>
  17. <OpPatHistData>
  18. <oppathist>
  19. <opcnfmdd/>
  20. <rowcnt/>
  21. <oproomcd/>
  22. <depthngnm/>
  23. <diagcdnm/>
  24. <opcdnm/>
  25. <perfdridnm/>
  26. <instcd/>
  27. <pid/>
  28. <oprsrvno/>
  29. <ophistno/>
  30. <orddeptcd/>
  31. <diagcd/>
  32. <opcd/>
  33. <perfdrid/>
  34. <opstatcd/>
  35. </oppathist>
  36. </OpPatHistData>
  37. <operation/>
  38. </main>
  39. <init>
  40. </init>
  41. <send>
  42. </send>
  43. <hidden/>
  44. <temp/>
  45. </root>
  46. </instance>
  47. <script type="javascript" ev:event="xforms-ready">
  48. <![CDATA[
  49. var node = getGlobalVariable("operation");
  50. setCSVToNode("/root/main/operation", node);
  51. var hPath = "/root/main/operation/list"
  52. var sPid = model.getValue(hPath+"/pid");
  53. if (sPid == "") {
  54. model.setValue("/root/main/KeyData/patdata/pid" , model.getValue(hPath+"/pid" )); // 환자번호
  55. model.setValue("/root/main/KeyData/instcd" , model.getValue(hPath+"/instcd" )); // 기관코드
  56. }
  57. inp_pid.refresh();
  58. ]]>
  59. </script>
  60. <submission id="TRMNP01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/OpPatHistData"/>
  61. <submission id="TRMNP01402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/KeyData"/>
  62. <submission id="TRMNZ00100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/UserData/list"/>
  63. </model>
  64. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  65. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  66. <script type="javascript" src="../../../emr/carecomweb/js/SPMNZ001.js"/>
  67. </xhtml:head>
  68. <xhtml:body guideline="1,1195;1,5;1,1194;1,1177;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  69. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  70. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  71. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
  72. <caption id="caption2" class="search_name" style="left:16px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
  73. <button id="button1" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  74. <caption>조회</caption>
  75. <script type="javascript" ev:event="DOMActivate">
  76. <![CDATA[
  77. model.removenode("/root/send");
  78. model.makeValue( "/root/send/pid" , model.getValue("/root/main/KeyData/patdata/pid" )); // 환자번호
  79. model.makeValue( "/root/send/instcd" , model.getValue("/root/main/KeyData/instcd" )); // 기관코드
  80. submit("TRMNP01401"); // 환자별 수술이력 조회
  81. ]]>
  82. </script>
  83. </button>
  84. <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
  85. <input id="inp_pid" ref="/root/main/KeyData/patdata/pid" class="input_search" style="left:105px; top:8px; width:100px; height:19px; ">
  86. <script type="javascript" ev:event="onkeyup">
  87. <![CDATA[
  88. // opt_pidname.value = "";
  89. if (event.keyCode == 13) {
  90. setInputNodeCurText(); // 현재 인풋값 노드 반영
  91. if (inp_pid.currentText != "") {
  92. model.removenode("/root/send");
  93. model.makeValue( "/root/send/pid" , model.getValue("/root/main/KeyData/patdata/pid" )); // 환자번호
  94. model.makeValue( "/root/send/instcd" , model.getValue("/root/main/KeyData/instcd" )); // 기관코드
  95. submit("TRMNP01402"); // 수술이력 환자
  96. }
  97. opt_pidname.refresh();
  98. }
  99. ]]>
  100. </script>
  101. </input>
  102. <output id="opt_pidname" ref="/root/main/KeyData/patdata/pidname" class="output_search" style="left:229px; top:8px; width:100px; height:19px; "/>
  103. <button id="button61" class="icon_search" style="left:209px; top:9px; width:16px; height:16px; ">
  104. <caption/>
  105. <script type="javascript" ev:event="DOMActivate">
  106. <![CDATA[
  107. var xpos = event.screenX-100;
  108. var ypos = event.screenY-100;
  109. var xPathUser = "/root/main/KeyData/patdata";
  110. var xPathUserPop = " /root/main/KeyData/patdata";
  111. modal("SMMNP01401", 1, xpos, ypos,"SMMNP01401", xPathUser, xPathUserPop);
  112. var iProperties = getParameter("SendData");
  113. //alert(iProperties);
  114. var iSplit_Value = iProperties.split("|");
  115. model.setValue("/root/main/KeyData/patdata/pid" , iSplit_Value[0]); // ID
  116. model.setValue("/root/main/KeyData/patdata/pidname", iSplit_Value[1]); // 명
  117. grp_sea.refresh();
  118. // inp_pid
  119. ]]>
  120. </script>
  121. </button>
  122. </group>
  123. <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:78px; height:14px; ">수술이력</caption>
  124. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  125. <datagrid id="datagrid1" nodeset="/root/main/OpPatHistData/oppathist" caption="수술일자^순번^수술방^진료과^진단명^수술명^집도의" colsep="^" colwidth="121, 49, 66, 133, 348, 338, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:75px; width:1195px; height:665px; ">
  126. <col ref="opcnfmdd" format="yyyy-mm-dd" style="text-align:center; "/>
  127. <col ref="rowcnt" style="text-align:center; "/>
  128. <col ref="oproomcd" style="text-align:center; "/>
  129. <col ref="depthngnm"/>
  130. <col ref="diagcdnm"/>
  131. <col ref="opcdnm"/>
  132. <col ref="perfdridnm" style="text-align:center; "/>
  133. </datagrid>
  134. </group>
  135. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; "/>
  136. <caption id="caption6" class="tit_1" style="left:0px; top:757px; width:800px; height:14px; ">환자별 수술이력 조회</caption>
  137. </xhtml:body>
  138. </xhtml:html>