Changeset 813 for ccr2ccd-xslt/trunk


Ignore:
Timestamp:
Jun 28, 2010, 10:35:03 AM (14 years ago)
Author:
Richard Braman
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ccr2ccd-xslt/trunk/templates/hl7oidlookup.xsl

    r758 r813  
    1 <?xml version="1.0" encoding="UTF-8"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
    33    <xsl:template name="HL7OIDLookup">
     
    66        <xsl:value-of select="document('hl7oid.xml')/entities/entity[name=$name]/oid"/>       
    77    </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>
    813</xsl:stylesheet>
    914
Note: See TracChangeset for help on using the changeset viewer.