source: ccr2ccd-xslt/trunk/templates/hl7oidlookup.xsl@ 1800

Last change on this file since 1800 was 813, checked in by Richard Braman, 14 years ago

added sister function to look up code system name given an oid.

File size: 584 bytes
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
3 <xsl:template name="HL7OIDLookup">
4 <xsl:param name="name"/>
5
6 <xsl:value-of select="document('hl7oid.xml')/entities/entity[name=$name]/oid"/>
7 </xsl:template>
8 <xsl:template name="HL7CodeSystemNameLookup">
9 <xsl:param name="oid"/>
10
11 <xsl:value-of select="document('hl7oid.xml')/entities/entity[oid=$oid]/name"/>
12 </xsl:template>
13</xsl:stylesheet>
14
Note: See TracBrowser for help on using the repository browser.