SPMMO07400_중증외상의료기관명조회.xrw 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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. <medinfolist>
  11. <medinfo>
  12. <fhcd/>
  13. <fhkind/>
  14. <fhname/>
  15. <fhloccd/>
  16. <fhaddr/>
  17. <fhtelno/>
  18. </medinfo>
  19. </medinfolist>
  20. </main>
  21. <send>
  22. <reqdata>
  23. <fhaddr/>
  24. <fhname/>
  25. <text1/>
  26. </reqdata>
  27. <savedata/>
  28. <reqdata1>
  29. <fromdd/>
  30. <todd/>
  31. </reqdata1>
  32. </send>
  33. <hidden>
  34. <dept>
  35. <deptnm/>
  36. <deptcd/>
  37. </dept>
  38. <setnm/>
  39. <setcd/>
  40. <getflag>fhname</getflag>
  41. <text1/>
  42. </hidden>
  43. <init>
  44. <dept>
  45. <depthnm/>
  46. <deptcd/>
  47. </dept>
  48. <user>
  49. <nm/>
  50. <id/>
  51. </user>
  52. <flag/>
  53. <M0535list>
  54. <M0535/>
  55. </M0535list>
  56. </init>
  57. </root>
  58. </instance>
  59. <script type="javascript" ev:event="xforms-ready">
  60. <![CDATA[
  61. zbcfGetCodeList( new Array("M0535"), new Array("/root/init/M0535list") );
  62. ]]>
  63. </script>
  64. <submission id="TRMRC0130" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/chrtuser/chgrlist"/>
  65. <submission id="TRMMO07401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/medinfolist"/>
  66. </model>
  67. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  68. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  69. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  70. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  71. <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
  72. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  73. </xhtml:head>
  74. <xhtml:body pagewidth="556" pageheight="450" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  75. <group id="group1" style="left:0px; top:0px; width:190px; height:13px; ">
  76. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:158px; height:14px; ">의료기관명조회</caption>
  77. </group>
  78. <datagrid id="datagrid1" nodeset="/root/main/medinfolist/medinfo" caption="구분^요양기관명^주소^요양기관번호" colsep="^" colwidth="150, 140, 230, 0" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:70px; width:540px; height:355px; ">
  79. <col ref="fhkind" type="combo">
  80. <choices>
  81. <itemset nodeset="/root/init/M0535list/M0535">
  82. <label ref="cdnm"/>
  83. <value ref="cdid"/>
  84. </itemset>
  85. </choices>
  86. </col>
  87. <col ref="fhname"/>
  88. <col ref="fhaddr"/>
  89. <col ref="fhhscd"/>
  90. <script type="javascript" ev:event="ondblclick">
  91. <![CDATA[
  92. opener.javascript.setParameter("SPMMO07400_rtnfhcdnm", model.getValue("/root/main/medinfolist/medinfo["+datagrid1.row+"]/fhname"));
  93. opener.javascript.setParameter("SPMMO07400_rtnfhcd", model.getValue("/root/main/medinfolist/medinfo["+datagrid1.row+"]/fhcd"));
  94. opener.javascript.setParameter("SPMMO07400_rtnfhkind", model.getValue("/root/main/medinfolist/medinfo["+datagrid1.row+"]/fhkind"));
  95. opener.javascript.setParameter("SPMMO07400_rtnfhhscd", model.getValue("/root/main/medinfolist/medinfo["+datagrid1.row+"]/fhhscd"));
  96. window.close();
  97. ]]>
  98. </script>
  99. </datagrid>
  100. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:20px; width:540px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  101. <button id="button1" class="btn1_letter2" style="left:470px; top:30px; width:56px; height:22px; ">
  102. <caption>조회</caption>
  103. <script type="javascript" ev:event="DOMActivate">
  104. <![CDATA[
  105. model.removeNodeset("/root/main/medinfolist/medinfo");
  106. if (model.getValue("/root/hidden/getflag") =="" ||model.getValue("/root/send/reqdata/text1") =="") {
  107. messageBox ( "검색 조건을 입력해 주십시오", "I" );
  108. } else {
  109. if (model.getValue("/root/hidden/getflag") == "fhname"){
  110. model.setValue("/root/send/reqdata/fhname",model.getValue("/root/send/reqdata/text1"));
  111. }else {
  112. model.setValue("/root/send/reqdata/fhaddr",model.getValue("/root/send/reqdata/text1"));
  113. }
  114. submit("TRMMO07401");
  115. model.refresh();
  116. // fGetExternList(2);
  117. }
  118. ]]>
  119. </script>
  120. </button>
  121. <line id="line4" style="x1:460px; y1:25px; x2:460px; y2:55px; border-color:#ffcc99; "/>
  122. <caption id="caption4" class="search_name" style="left:10px; top:30px; width:95px; height:17px; ">검색조건 :</caption>
  123. <select1 id="combo1" ref="/root/hidden/getflag" appearance="minimal" style="left:105px; top:30px; width:100px; height:19px; ">
  124. <choices>
  125. <item>
  126. <label>요양기관명</label>
  127. <value>fhname</value>
  128. </item>
  129. <item>
  130. <label>주소</label>
  131. <value>fhaddr</value>
  132. </item>
  133. </choices>
  134. </select1>
  135. <input id="input1" ref="/root/send/reqdata/text1" style="left:220px; top:30px; width:170px; height:19px; ">
  136. <script type="javascript" ev:event="onkeyup">
  137. <![CDATA[
  138. inputEnterKey("button1", "DOMActivate");
  139. ]]>
  140. </script>
  141. </input>
  142. </xhtml:body>
  143. </xhtml:html>