Documentation cleanups, minor optimization of setting $allow, and disable debugging...
[openemr.git] / ccr / ccd / templates / hl7oidlookup.xsl
blobd3b7769597eff703d77778cb4f71ec74d2273645
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Conversion of CCR to Level 3 CCD
5 Orginal Author: Ken Miller
6 Solventus LLC
7 ken.miller@solventus.coms
9 Contributors:
10 Richard Braman, EHR Doctors, Inc rbraman@ehrdoctors.com
11 George Lilly (WorldVistA glilly@glilly.net)
12 xxxx - Oroville Hospital
14 Date: 2010-05-5
15 Version: 0.1
17 License :
19 This program is free software: you can redistribute it and/or modify
20 it under the terms of the GNU General Public License as published by
21 the Free Software Foundation, either version 3 of the License, or
22 (at your option) any later version.
24 This program is distributed in the hope that it will be useful,
25 but WITHOUT ANY WARRANTY; without even the implied warranty of
26 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27 GNU General Public License for more details.
29 You should have received a copy of the GNU General Public License
30 along with this program. If not, see http://www.gnu.org/licenses.
32 -->
33 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
34 <xsl:template name="HL7OIDLookup">
35 <xsl:param name="name"/>
37 <xsl:value-of select="document('hl7oid.xml')/entities/entity[name=$name]/oid"/>
38 </xsl:template>
39 <xsl:template name="HL7CodeSystemNameLookup">
40 <xsl:param name="oid"/>
42 <xsl:value-of select="document('hl7oid.xml')/entities/entity[oid=$oid]/name"/>
43 </xsl:template>
44 </xsl:stylesheet>