Last change
on this file since 1280 was 875, checked in by George Lilly, 14 years ago |
broke the stylesheet into pieces with a script to reassemble
|
File size:
3.7 KB
|
Line | |
---|
1 | <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:FamilyHistory">
|
---|
2 | <component>
|
---|
3 | <section>
|
---|
4 | <templateId root="2.16.840.1.113883.10.20.1.4"/>
|
---|
5 | <code code="10157-6" codeSystem="2.16.840.1.113883.6.1"/>
|
---|
6 | <title>Family History</title>
|
---|
7 | <text>
|
---|
8 | <table>
|
---|
9 | <tbody>
|
---|
10 | <tr>
|
---|
11 | <th>Type</th>
|
---|
12 | <th>Date</th>
|
---|
13 | <th>Code</th>
|
---|
14 | <th>Description</th>
|
---|
15 | <th>Relationship(s)</th>
|
---|
16 | <th>Status</th>
|
---|
17 | <th>Source</th>
|
---|
18 | </tr>
|
---|
19 | <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:FamilyHistory/a:FamilyProblemHistory">
|
---|
20 | <tr>
|
---|
21 | <td>
|
---|
22 | <xsl:value-of select="a:Type/a:Text"/>
|
---|
23 | </td>
|
---|
24 | <td>
|
---|
25 | <xsl:call-template name="date:format-date">
|
---|
26 | <xsl:with-param name="date-time" select="a:DateTime/a:ExactDateTime"/>
|
---|
27 | </xsl:call-template>
|
---|
28 | </td>
|
---|
29 | <td>
|
---|
30 | <xsl:apply-templates select="a:Problem/a:Description/a:Code"/>
|
---|
31 | </td>
|
---|
32 | <td>
|
---|
33 | <xsl:for-each select="a:Problem">
|
---|
34 | <xsl:value-of select="a:Description/a:Text"/>
|
---|
35 | <br/>
|
---|
36 | </xsl:for-each>
|
---|
37 | </td>
|
---|
38 | <td>
|
---|
39 | <xsl:value-of select="a:FamilyMember/a:ActorRole/a:Text"/>
|
---|
40 | </td>
|
---|
41 | <td>
|
---|
42 | <xsl:value-of select="a:Status/a:Text"/>
|
---|
43 | </td>
|
---|
44 | <td>
|
---|
45 | <xsl:call-template name="actorName">
|
---|
46 | <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
|
---|
47 | </xsl:call-template>
|
---|
48 | </td>
|
---|
49 | </tr>
|
---|
50 | </xsl:for-each>
|
---|
51 | </tbody>
|
---|
52 | </table>
|
---|
53 | </text>
|
---|
54 | </section>
|
---|
55 | </component>
|
---|
56 | </xsl:if>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.