Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="UTF-8"?>
<!--
To run this, download HL7 Version 3 and install it in a folder on your system.
In the Edition2015\domains folder, run the following command:
for /D %d in (*) do for %f in (%d\*.html) do MSXSL %f extractTriggerEvents.xsl spec='%f' >>triggerEvents.csv
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:html="http://www.w3.org/1999/xhtml"
@kwboone
kwboone / compareTemplates.xsl
Created July 13, 2015 16:19
Compares HL7 CDA templates developed using Trifolia
<?xml version="1.0" encoding="UTF-8"?>
<!--
This stylesheet compares Implementation Guides in Trifolia format (see trifolia.lantanagroup.com)
It takes one parameter: newVersion, which identifies the filename of the new version of the guide to compare.
Its input is the older version of the guide.
Its output is HTML. It produces a section in the HTML for each template in the old guide that is present in some version in the new guide. The table heading
compares the template metadata and highlights changed rows in the first column. It then compares the Narrative text constraints for the two templates, using