SPADC62600_WHOUMC.xrw 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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. <whoumclist>
  11. <whoumcinfo>
  12. <chk>N</chk>
  13. <gubun>확실함(Certain)</gubun>
  14. <cnts>&#8226; 의약품등의 투여, 사용과의 전후관계가 타당
  15. &#8226; 다른 의약품이나 화학물질 또는 수반질환으로 설명되지 않음
  16. &#8226; 투여중단시 임상적으로 타당한 반응
  17. &#8226; 재투여시, 약물학적 또는 현상학적으로 결정적인 경우
  18. </cnts>
  19. <value>4</value>
  20. </whoumcinfo>
  21. <whoumcinfo>
  22. <chk>N</chk>
  23. <gubun>상당히 확실함
  24. (probable/likely)
  25. </gubun>
  26. <cnts>&#8226; 의약품 등의 투여, 사용과의 시간적 관계가 합당
  27. &#8226; 다른 의약품이나 화학물질 또는 수반질환에 의한 것으로 보이지 않음
  28. &#8226; 투여 중단 시 임상적으로 합당한 반응을 보이는 경우(재투여 정보 없음)
  29. </cnts>
  30. <value>5</value>
  31. </whoumcinfo>
  32. <whoumcinfo>
  33. <chk>N</chk>
  34. <gubun>가능함 (possible)</gubun>
  35. <cnts>&#8226; 의약품등의 투여, 사용과의 인과관계가 합당
  36. &#8226; 다른 의약품이나 화학물질 또는 수반하는 질환에 의한 것으로 설명
  37. &#8226; 투여중단에 관한 정보가 부족하거나 불명확한 경우
  38. </cnts>
  39. <value>6</value>
  40. </whoumcinfo>
  41. <whoumcinfo>
  42. <chk>N</chk>
  43. <gubun>가능성 적음 (unlikely)</gubun>
  44. <cnts>&#8226; 의약품등의 투여, 사용과 인과관계가 있을 것 같지 않은 일시적 사례
  45. &#8226; 다른 의약품이나 화학물질 또는 잠재된 질환에 의한 것으로 타당하고 설명이 가능
  46. </cnts>
  47. <value>7</value>
  48. </whoumcinfo>
  49. <whoumcinfo>
  50. <chk>N</chk>
  51. <gubun>평가곤란
  52. (conditional/unclassified)
  53. </gubun>
  54. <cnts>&#8226; 적정한 평가를 위해 더 많은 자료가 필요하거나 추가 자료를 검토중인 경우
  55. </cnts>
  56. <value>8</value>
  57. </whoumcinfo>
  58. <whoumcinfo>
  59. <chk>N</chk>
  60. <gubun>평가불가
  61. (unassessible/unclassifiable)
  62. </gubun>
  63. <cnts>&#8226; 정보가 불충분하거나 상충되어 판단할 수 없고 이를 보완하거나 확인할 수 없는 경우
  64. </cnts>
  65. <value>9</value>
  66. </whoumcinfo>
  67. </whoumclist>
  68. </main>
  69. <send>
  70. </send>
  71. <init/>
  72. <hidden/>
  73. <popdata>
  74. <casrslt/>
  75. <totscr/>
  76. <naranjocmt/>
  77. </popdata>
  78. </root>
  79. </instance>
  80. <script type="javascript" ev:event="xforms-ready">
  81. <![CDATA[
  82. grd_whoumc.autoResize = true;
  83. var iscr = model.getValue("/root/popdata/naranjocmt");
  84. var comArray = iscr.split("^");
  85. if (comArray[0] != ""){
  86. for(i=0; i<comArray.length; i++) {
  87. if(comArray[i] == "Y") {
  88. model.setValue("/root/main/whoumclist/whoumcinfo["+ i +"]/chk", "Y");
  89. }
  90. }
  91. }
  92. model.refresh();
  93. ]]>
  94. </script>
  95. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  96. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  97. <script type="javascript">
  98. <![CDATA[
  99. ]]>
  100. </script>
  101. </model>
  102. </xhtml:head>
  103. <xhtml:body pagewidth="710" pageheight="350" guideline="1,1194;2,784;2,757;1,692;2,332;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  104. <group id="group1" style="left:0px; top:0px; width:692px; height:305px; ">
  105. <caption id="caption1" class="tit_2" style="left:5px; top:5px; width:310px; height:13px; ">WHO-UMC causality category</caption>
  106. <datagrid id="grd_whoumc" nodeset="/root/main/whoumclist/whoumcinfo" caption="선택^^^value" colsep="^" colwidth="31, 178, 480, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:25px; width:691px; height:279px; ">
  107. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  108. <col ref="gubun"/>
  109. <col ref="cnts"/>
  110. <col ref="value" visibility="hidden"/>
  111. <script type="javascript" ev:event="xforms-value-changed">
  112. <![CDATA[
  113. if(grd_whoumc.col== grd_whoumc.colRef("chk") ) {
  114. if(model.getValue("/root/main/whoumclist/whoumcinfo["+ grd_whoumc.row +"]/chk") == "Y") {
  115. for(var iRowNo = 1 ; iRowNo <= getNodesetCount("/root/main/whoumclist/whoumcinfo") ; iRowNo++) {
  116. if(iRowNo != grd_whoumc.row) {
  117. model.setValue("/root/main/whoumclist/whoumcinfo["+ iRowNo +"]/chk", "N");
  118. }
  119. }
  120. }
  121. }
  122. grd_whoumc.refresh();
  123. ]]>
  124. </script>
  125. </datagrid>
  126. <line id="line1" class="line_1" style="x1:0px; y1:20px; x2:691px; y2:20px; "/>
  127. </group>
  128. <group id="grp_btn" scroll="auto" style="left:0px; top:305px; width:692px; height:27px; ">
  129. <button id="btn_cls" class="btn4_letter2" style="left:636px; top:5px; width:56px; height:22px; ">
  130. <caption>닫기</caption>
  131. <close ev:event="DOMActivate"/>
  132. </button>
  133. <button id="btn_cfm" class="btn4_letter2" navindex="1" style="left:577px; top:5px; width:56px; height:22px; ">
  134. <caption>확인</caption>
  135. <script type="javascript" ev:event="DOMActivate">
  136. <![CDATA[
  137. var snaranjo = "who";
  138. //opener.window.javascript.model.setValue("/root/hidden/totscr", "");
  139. var iChoRow = grd_whoumc.findRow("Y", 1, grd_whoumc.colRef("chk"), true, true);
  140. if(iChoRow > 0) {
  141. opener.window.javascript.model.setValue("/root/hidden/casrslt", model.getValue("/root/main/whoumclist/whoumcinfo["+ iChoRow +"]/value"));
  142. } else {
  143. opener.window.javascript.model.setValue("/root/hidden/casrslt", "");
  144. }
  145. for(var iRowNo = 1 ; iRowNo <= getNodesetCount("/root/main/whoumclist/whoumcinfo") ; iRowNo++) {
  146. snaranjo += "^" + model.getValue("/root/main/whoumclist/whoumcinfo["+ iRowNo +"]/chk");
  147. }
  148. opener.window.javascript.model.setValue("/root/hidden/naranjocmt", snaranjo);
  149. window.close();
  150. ]]>
  151. </script>
  152. </button>
  153. </group>
  154. </xhtml:body>
  155. </xhtml:html>