SPMRT01400_ICD코드선택.xrw 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <diagcdinfo>
  11. <icd10cd/>
  12. </diagcdinfo>
  13. <opcdinfo>
  14. <icd9cd/>
  15. </opcdinfo>
  16. <tophlginfo>
  17. <tophlglist/>
  18. </tophlginfo>
  19. </main>
  20. <hidden>
  21. <condition>
  22. <indxflag>0</indxflag>
  23. <srchflag>C</srchflag>
  24. <srchnm/>
  25. <getdata/>
  26. </condition>
  27. </hidden>
  28. <send>
  29. </send>
  30. <init>
  31. <today/>
  32. </init>
  33. <temp>
  34. <receive/>
  35. </temp>
  36. </root>
  37. </instance>
  38. <script type="javascript" ev:event="xforms-ready">
  39. <![CDATA[
  40. fInit();
  41. ]]>
  42. </script>
  43. <submission id="TRMRT00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/indxlist"/>
  44. <submission id="TRMRT00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/diagcdinfo"/>
  45. <submission id="TRMRT00703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/opcdinfo"/>
  46. </model>
  47. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  48. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  50. <script type="javascript" src="../../../emr/termmngtweb/js/SMMRT00100.js"/>
  51. <script type="javascript" src="../../../emr/termmngtweb/js/SPMRT01400.js"/>
  52. <script type="javascript" src="../../../emr/termmngtweb/js/MRTCommon.js"/>
  53. </xhtml:head>
  54. <xhtml:body pagewidth="700" pageheight="530" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  55. <group id="group2" style="left:0px; top:10px; width:715px; height:520px; vertical-align:top; ">
  56. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:3px; width:700px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  57. <button id="btn_srchindxcd" class="btn1_letter2" navindex="4" style="left:630px; top:10px; width:56px; height:22px; ">
  58. <caption>조회</caption>
  59. <script type="javascript" ev:event="DOMActivate">
  60. <![CDATA[
  61. var indxflag = model.getValue("/root/hidden/condition/indxflag");
  62. if(model.getValue("/root/hidden/condition/srchnm") == "" || model.getValue("/root/hidden/condition/srchnm") == null){
  63. var rtn = messageBox("검색할 데이터를 ", "C001");
  64. return;
  65. } else {
  66. fSrch(indxflag);
  67. }
  68. ]]>
  69. </script>
  70. </button>
  71. <input id="ipt_srchnm" ref="/root/hidden/condition/srchnm" class="input_search" style="left:335px; top:12px; width:215px; height:19px; ">
  72. <script type="javascript" ev:event="onkeyup">
  73. <![CDATA[
  74. inputEnterKey("btn_srchindxcd", "DOMActivate");
  75. ]]>
  76. </script>
  77. </input>
  78. <select1 id="radio1" ref="/root/hidden/condition/srchflag" appearance="full" cellspacing="15" cols="3" overflow="visible" style="left:141px; top:13px; width:190px; height:20px; border-style:none; ">
  79. <choices>
  80. <item>
  81. <label>코드</label>
  82. <value>C</value>
  83. </item>
  84. <item>
  85. <label>영문명</label>
  86. <value>E</value>
  87. </item>
  88. <item>
  89. <label>한글명</label>
  90. <value>H</value>
  91. </item>
  92. </choices>
  93. </select1>
  94. <line id="line13" class="line_4" style="x1:615px; y1:10px; x2:615px; y2:32px; "/>
  95. <datagrid id="grd_list" nodeset="/root/main/icdinfo/list" caption="ICD10코드^코드영문명^코드한글명^UpCd" colsep="^" colwidth="100, 290, 290, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:47px; width:700px; height:440px; ">
  96. <col id="cd"/>
  97. <col id="engnm"/>
  98. <col id="hngnm"/>
  99. <col visibility="hidden"/>
  100. <script type="javascript" ev:event="ondblclick">
  101. <![CDATA[
  102. var indxflag = model.getValue("/root/hidden/condition/indxflag");
  103. if(grd_list.isCell(event.target) && grd_list.mouserow >= grd_list.fixedrows) {
  104. fCnfm(indxflag);
  105. }
  106. ]]>
  107. </script>
  108. </datagrid>
  109. <line id="line12" class="line_1" style="x1:0px; y1:41px; x2:700px; y2:41px; "/>
  110. <line id="line1" class="line_3" style="x1:0px; y1:488px; x2:700px; y2:488px; "/>
  111. <select1 id="combo1" ref="/root/hidden/condition/indxflag" disabled="true" appearance="minimal" style="left:10px; top:11px; width:125px; height:19px; ">
  112. <choices>
  113. <item>
  114. <label>ICD-10</label>
  115. <value>0</value>
  116. </item>
  117. <item>
  118. <label>ICD-9</label>
  119. <value>9</value>
  120. </item>
  121. </choices>
  122. <script type="javascript" ev:event="xforms-value-changed">
  123. <![CDATA[
  124. if(model.getValue("/root/hidden/condition/indxflag") == "0") {
  125. model.toggle("case1");
  126. } else if(model.getValue("/root/hidden/condition/indxflag") == "9") {
  127. model.toggle("case2");
  128. }else if(model.getValue("/root/hidden/condition/indxflag") == "2"){
  129. model.toggle("case4");
  130. } else{
  131. model.toggle("case3");
  132. }
  133. fIndxListSrch();
  134. fDisable("AD");
  135. model.resetInstanceNode("/root/hidden/condition/indexcode");
  136. model.refresh();
  137. ]]>
  138. </script>
  139. </select1>
  140. <button id="btn_cancel" class="btn4_letter2" style="left:640px; top:493px; width:56px; height:22px; ">
  141. <caption>취소</caption>
  142. <script type="javascript" ev:event="DOMActivate">
  143. <![CDATA[
  144. fCancel();
  145. ]]>
  146. </script>
  147. </button>
  148. <button id="btn_ok" class="btn4_letter2" style="left:580px; top:493px; width:56px; height:22px; ">
  149. <caption>확인</caption>
  150. <script type="javascript" ev:event="DOMActivate">
  151. <![CDATA[
  152. grd_list.dispatch("ondblclick");
  153. ]]>
  154. </script>
  155. </button>
  156. </group>
  157. </xhtml:body>
  158. </xhtml:html>