SMMNR04102_기구및삽관기록.xsl 4.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <?xml version="1.0" encoding="euc-kr"?>
  2. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  3. <xsl:template match="/">
  4. <html>
  5. <body>
  6. <!-- <head>
  7. <title>삽관기록</title>
  8. <style type="text/css">
  9. body,
  10. input,
  11. select,
  12. table,
  13. textarea,
  14. .vs_button {
  15. font-family:돋움;
  16. font-size:9pt;
  17. }
  18. </style>
  19. <script language="JavaScript">
  20. function fHiddenCommonInfo(){
  21. patinfo.style.display="none";
  22. }
  23. </script>
  24. </head>
  25. <body > -->
  26. <div id="page" style="position:relative; top:5px; width:682px; ">
  27. <table border="1" frame="box" bordercolor="silver" cellspacing="0" width="100%">
  28. <tr>
  29. <td bgcolor = "#e0e0e0" width="6%" align="center">Item</td>
  30. <td bgcolor = "#e0e0e0" width="4%" align="center">부위</td>
  31. <td bgcolor = "#e0e0e0" width="4%" align="center">구분</td>
  32. <td bgcolor = "#e0e0e0" width="10%" align="center">시행일시</td>
  33. <td bgcolor = "#e0e0e0" width="18%" align="center">종류(처방선택)</td>
  34. <td bgcolor = "#e0e0e0" width="6%" align="center">크기</td>
  35. <td bgcolor = "#e0e0e0" width="18%" align="center">종류(직접입력)</td>
  36. <td bgcolor = "#e0e0e0" width="6%" align="center">크기</td>
  37. <td bgcolor = "#e0e0e0" width="6%" align="center" colspan="2">고정</td>
  38. <td bgcolor = "#e0e0e0" width="6%" align="center" colspan="2">압력</td>
  39. <td bgcolor = "#e0e0e0" width="10%" align="center">비고</td>
  40. <td bgcolor = "#e0e0e0" width="6%" align="center">수행자</td>
  41. </tr>
  42. <xsl:apply-templates select="/SignData/SignInfo/cathinfo/cathlist"/>
  43. </table>
  44. </div>
  45. </body>
  46. </html>
  47. </xsl:template>
  48. <xsl:template match="cathlist">
  49. <tr>
  50. <td align="left" width="6%"><xsl:value-of select="itemnm"/></td>
  51. <td align="left" width="4%"><xsl:value-of select="loc"/></td>
  52. <td align="center" width="4%"><xsl:value-of select="opflag"/></td>
  53. <td align="center" width="10%">
  54. <xsl:value-of select="substring(opdd,1,4)"/>
  55. <xsl:if test="opdd"><xsl:text>-</xsl:text></xsl:if>
  56. <xsl:value-of select="substring(opdd,5,2)"/>
  57. <xsl:if test="opdd"><xsl:text>-</xsl:text></xsl:if>
  58. <xsl:value-of select="substring(opdd,7,2)"/>
  59. <xsl:if test="opdd"><xsl:text> </xsl:text></xsl:if>
  60. <xsl:value-of select="substring(optm,1,2)"/>
  61. <xsl:if test="optm"><xsl:text>:</xsl:text></xsl:if>
  62. <xsl:value-of select="substring(optm,3,2)"/>
  63. </td>
  64. <td align="left" width="18%"><xsl:value-of select="supnm"/></td>
  65. <td align="left" width="6%"><xsl:value-of select="vol"/></td>
  66. <td align="left" width="18%"><xsl:value-of select="typeremark"/></td>
  67. <td align="left" width="6%"><xsl:value-of select="typevol"/></td>
  68. <td align="center" width="3%"><xsl:value-of select="fix"/></td>
  69. <td align="center" width="3%"><xsl:value-of select="fixunit"/></td>
  70. <td align="center" width="3%"><xsl:value-of select="pres"/></td>
  71. <td align="center" width="3%"><xsl:value-of select="presunit"/></td>
  72. <td align="left" width="10%"><xsl:value-of select="cathremark"/></td>
  73. <td align="center" width="6%"><xsl:value-of select="opusernm"/></td>
  74. </tr>
  75. </xsl:template>
  76. </xsl:stylesheet>