Skip to content

Commit

Permalink
Add custom Git location for uk IGs
Browse files Browse the repository at this point in the history
  • Loading branch information
lmckenzi committed Jan 7, 2025
1 parent a67abf1 commit a9e34ba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/buildSpecJSON.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@
<!-- Check cross-specification validation rules -->
<xsl:for-each select="$ballotSpecs/specification[not(@deprecated='true') and starts-with(@key, 'FHIR-')]">
<xsl:choose>
<xsl:when test="@defaultWorkgroup='uk' and not(starts-with(@gitUrl, 'https://github.com/NHSDigital/'))">
<xsl:message terminate="yes" select="concat('ERROR: FHIR HL7 UK specifications that are not deprecated must have a gitUrl attribute that starts with ''https://github.com/NHSDigital/'' ', @key)"/>
</xsl:when>
<xsl:when test="@defaultWorkgroup='eu' and not(starts-with(@gitUrl, 'https://github.com/HL7-eu/'))">
<xsl:message terminate="yes" select="concat('ERROR: FHIR HL7 EU specifications that are not deprecated must have a gitUrl attribute that starts with ''https://github.com/HL7-eu/'' ', @key)"/>
</xsl:when>
Expand Down

0 comments on commit a9e34ba

Please sign in to comment.