Skip to content

Commit

Permalink
Support additional character sequence \X000d\ as line feed for incomi…
Browse files Browse the repository at this point in the history
…ng HL7 ORU messages #1865
  • Loading branch information
vrindanayak committed Mar 12, 2019
1 parent 430db67 commit 2062dd7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dcm4chee-arc-conf-data/src/main/resources/hl7-oru2dsr.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,9 @@
<xsl:value-of select='.'/>
</xsl:template>
<xsl:template match="escape" mode="txt">
<xsl:variable name="text" select="translate(translate(text(), '0', ''), 'da', 'DA')"/>
<xsl:choose>
<xsl:when test="text()='.br' or text()='X000d' or text()='X0d' or text()='X0A'">
<xsl:when test="$text='.br' or $text='XD' or $text='XA'">
<xsl:text>&#13;&#10;</xsl:text>
</xsl:when>
<xsl:when test="text()='F'">
Expand Down

0 comments on commit 2062dd7

Please sign in to comment.