Skip to content

Commit 1d96c7a

Browse files
committed
Be more lenient in ada id naming for building blocks, to allow for strings like 'CONS-MTD'
1 parent 7a798a4 commit 1d96c7a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/MP9-3-0-0-beta/_internalTools/ant-build/build-ada2nts-mp-930.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878
</delete>
7979

8080
<!-- Retrieve -->
81+
<echo>[convert_ada2nts_pull_meddata_930] Retrieve input.dir = ${xsl.input.mg.abs}, output.dir = ${xsl.output.mg.abs}"</echo>
8182
<antcall target="convert_ada_2_nts_medicationdata-pull_sub">
8283
<param name="xsl.out" value="${xsl.output.dummy}"/>
8384
<param name="transaction.type" value="Retrieve"/>

src/MP9-3-0-0-beta/_internalTools/xslt/ada_2_nts-medicationdata-pull.xsl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -645,10 +645,10 @@
645645
<xsl:when test="contains($buildingBlockShort, 'MA')">MedicationAgreement</xsl:when>
646646
<xsl:when test="contains($buildingBlockShort, 'MGB')">MedicationUse</xsl:when>
647647
<xsl:when test="contains($buildingBlockShort, 'TA')">AdministrationAgreement</xsl:when>
648-
<xsl:when test="$buildingBlockShort = 'VV'">DispenseRequest</xsl:when>
649-
<xsl:when test="$buildingBlockShort = 'MTD'">MedicationAdministration</xsl:when>
650-
<xsl:when test="$buildingBlockShort = 'MVE'">MedicationDispense</xsl:when>
648+
<xsl:when test="contains($buildingBlockShort, 'MTD')">MedicationAdministration</xsl:when>
651649
<xsl:when test="contains($buildingBlockShort, 'WDS')">VariableDosingRegimen</xsl:when>
650+
<xsl:when test="contains($buildingBlockShort, 'VV')">DispenseRequest</xsl:when>
651+
<xsl:when test="contains($buildingBlockShort, 'MVE')">MedicationDispense</xsl:when>
652652
<xsl:otherwise>
653653
<xsl:call-template name="util:logMessage">
654654
<xsl:with-param name="level" select="$logFATAL"/>

0 commit comments

Comments
 (0)