source: ccr2ccd-xslt/trunk/gpl/ccd-actors.xsl@ 1715

Last change on this file since 1715 was 981, checked in by George Lilly, 14 years ago

latest version

File size: 16.9 KB
Line 
1 <component>
2 <section>
3 <title>Additional Information About People &amp; Organizations</title>
4 <text>
5 <xsl:if test="a:ContinuityOfCareRecord/a:Actors/a:Actor[a:Person]">
6 <table>
7 <tbody>
8 <tr>
9 <th>Name</th>
10 <th>Specialty</th>
11 <th>Relation</th>
12 <th>Identification Numbers</th>
13 <th>Phone</th>
14 <th>Address/ E-mail</th>
15 </tr>
16 <xsl:for-each select="/a:ContinuityOfCareRecord/a:Actors/a:Actor">
17 <xsl:sort select="a:Person/a:Name/a:DisplayName|a:Person/a:Name/a:CurrentName/a:Family" data-type="text" order="ascending"/>
18 <xsl:if test="a:Person">
19 <tr>
20 <td>
21 <xsl:call-template name="actorName">
22 <xsl:with-param name="objID" select="a:ActorObjectID"/>
23 </xsl:call-template>
24 </td>
25 <td>
26 <xsl:value-of select="a:Specialty/a:Text"/>
27 </td>
28 <td>
29 <xsl:value-of select="a:Relation/a:Text"/>
30 </td>
31 <td>
32 <xsl:for-each select="a:IDs">
33 <xsl:value-of select="a:Type/a:Text"/>
34 <xsl:text>: </xsl:text>
35 <xsl:value-of select="a:ID"/>
36 </xsl:for-each>
37 </td>
38 <td>
39 <xsl:for-each select="a:Telephone">
40 <xsl:value-of select="a:Type/a:Text"/>
41 <xsl:text>: </xsl:text>
42 <xsl:value-of select="a:Value"/>
43 </xsl:for-each>
44 </td>
45 <td>
46 <xsl:for-each select="a:Address">
47 <xsl:if test="a:Type">
48 <xsl:value-of select="a:Type/a:Text"/>
49 <xsl:text>:</xsl:text>
50 <br/>
51 </xsl:if>
52 <xsl:if test="a:Line1">
53 <xsl:value-of select="a:Line1"/>
54 <br/>
55 </xsl:if>
56 <xsl:if test="a:Line2">
57 <xsl:value-of select="a:Line2"/>
58 <br/>
59 </xsl:if>
60 <xsl:if test="a:City">
61 <xsl:value-of select="a:City"/>
62 <xsl:text>, </xsl:text>
63 </xsl:if>
64 <xsl:value-of select="a:State"/>
65 <xsl:value-of select="a:PostalCode"/>
66 <br/>
67 </xsl:for-each>
68 <xsl:for-each select="a:EMail">
69 <br/>
70 <xsl:value-of select="a:Value"/>
71 </xsl:for-each>
72 </td>
73 </tr>
74 </xsl:if>
75 </xsl:for-each>
76 </tbody>
77 </table>
78 </xsl:if>
79 <xsl:if test="a:ContinuityOfCareRecord/a:Actors/a:Actor[a:Organization]">
80 <table>
81 <tbody>
82 <tr>
83 <th>Name</th>
84 <th>Specialty</th>
85 <th>Relation</th>
86 <th>Identification Numbers</th>
87 <th>Phone</th>
88 <th>Address/ E-mail</th>
89 </tr>
90 <xsl:for-each select="/a:ContinuityOfCareRecord/a:Actors/a:Actor">
91 <xsl:sort select="a:Organization/a:Name" data-type="text" order="ascending"/>
92 <xsl:if test="a:Organization">
93 <tr>
94 <td>
95 <xsl:value-of select="a:Organization/a:Name"/>
96 </td>
97 <td>
98 <xsl:value-of select="a:Specialty/a:Text"/>
99 </td>
100 <td>
101 <xsl:value-of select="a:Relation/a:Text"/>
102 </td>
103 <td>
104 <xsl:for-each select="a:IDs">
105 <xsl:value-of select="a:Type/a:Text"/>
106 <xsl:text>: </xsl:text>
107 <xsl:value-of select="a:ID"/>
108 </xsl:for-each>
109 </td>
110 <td>
111 <xsl:for-each select="a:Telephone">
112 <xsl:value-of select="a:Type/a:Text"/>
113 <xsl:text>: </xsl:text>
114 <xsl:value-of select="a:Value"/>
115 </xsl:for-each>
116 </td>
117 <td>
118 <xsl:for-each select="a:Address">
119 <xsl:if test="a:Type">
120 <xsl:value-of select="a:Type/a:Text"/>
121 <xsl:text>:</xsl:text>
122 <br/>
123 </xsl:if>
124 <xsl:if test="a:Line1">
125 <xsl:value-of select="a:Line1"/>
126 <br/>
127 </xsl:if>
128 <xsl:if test="a:Line2">
129 <xsl:value-of select="a:Line2"/>
130 <br/>
131 </xsl:if>
132 <xsl:if test="a:City">
133 <xsl:value-of select="a:City"/>
134 <xsl:text>, </xsl:text>
135 </xsl:if>
136 <xsl:value-of select="a:State"/>
137 <xsl:value-of select="a:PostalCode"/>
138 <br/>
139 </xsl:for-each>
140 <xsl:for-each select="a:EMail">
141 <br/>
142 <xsl:value-of select="a:Value"/>
143 </xsl:for-each>
144 </td>
145 </tr>
146 </xsl:if>
147 </xsl:for-each>
148 </tbody>
149 </table>
150 </xsl:if>
151 <xsl:if test="a:ContinuityOfCareRecord/a:Actors/a:Actor[a:InformationSystem]">
152 <table>
153 <tbody>
154 <tr>
155 <th>Name</th>
156 <th>Type</th>
157 <th>Version</th>
158 <th>Identification Numbers</th>
159 <th>Phone</th>
160 <th>Address/ E-mail</th>
161 </tr>
162 <xsl:for-each select="/a:ContinuityOfCareRecord/a:Actors/a:Actor">
163 <xsl:sort select="a:InformationSystem/a:Name" data-type="text" order="ascending"/>
164 <xsl:if test="a:InformationSystem">
165 <tr>
166 <td>
167 <xsl:value-of select="a:InformationSystem/a:Name"/>
168 </td>
169 <td>
170 <xsl:value-of select="a:InformationSystem/a:Type"/>
171 </td>
172 <td>
173 <xsl:value-of select="a:InformationSystem/a:Version"/>
174 </td>
175 <td>
176 <xsl:for-each select="a:IDs">
177 <xsl:value-of select="a:Type/a:Text"/>
178 <xsl:text>: </xsl:text>
179 <xsl:value-of select="a:ID"/>
180 </xsl:for-each>
181 </td>
182 <td>
183 <xsl:for-each select="a:Telephone">
184 <xsl:value-of select="a:Type/a:Text"/>
185 <xsl:text>: </xsl:text>
186 <xsl:value-of select="a:Value"/>
187 </xsl:for-each>
188 </td>
189 <td>
190 <xsl:for-each select="a:Address">
191 <xsl:if test="Type">
192 <xsl:value-of select="a:Type/a:Text"/>
193 <xsl:text>:</xsl:text>
194 <br/>
195 </xsl:if>
196 <xsl:if test="a:Line1">
197 <xsl:value-of select="a:Line1"/>
198 <br/>
199 </xsl:if>
200 <xsl:if test="a:Line2">
201 <xsl:value-of select="a:Line2"/>
202 <br/>
203 </xsl:if>
204 <xsl:if test="a:City">
205 <xsl:value-of select="a:City"/>
206 <xsl:text>, </xsl:text>
207 </xsl:if>
208 <xsl:value-of select="a:State"/>
209 <xsl:value-of select="a:PostalCode"/>
210 <br/>
211 </xsl:for-each>
212 <xsl:for-each select="a:EMail">
213 <br/>
214 <xsl:value-of select="a:Value"/>
215 </xsl:for-each>
216 </td>
217 </tr>
218 </xsl:if>
219 </xsl:for-each>
220 </tbody>
221 </table>
222 </xsl:if>
223 </text>
224 </section>
225 </component>
226 -->
Note: See TracBrowser for help on using the repository browser.