Skip to content

Commit 58b8c1f

Browse files
Remove unneeded discriminator in content asserts
1 parent ef4c60d commit 58b8c1f

File tree

3 files changed

+6
-21
lines changed

3 files changed

+6
-21
lines changed

src/ELZ-0-2-0-beta/Test/Serving-XIS/elz-serving-xis-scenario-1-maximal.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@
4444
useToken="true"
4545
responseId="taskfromserver"/>
4646

47-
<nts:contentAsserts href="resources/task-hg-VerwijzingHuisartsParamedicusMaximaalbericht.xml"
48-
description="contains .code.coding.code = '3457005'" discriminator="code.where(coding.where(code = '3457005'))" nts:in-targets="CheckContent"/>
47+
<nts:contentAsserts href="resources/task-hg-VerwijzingHuisartsParamedicusMaximaalbericht.xml" nts:in-targets="CheckContent"/>
4948
</test>
5049

5150
<test id="02-serve-ServiceRequest">
@@ -57,8 +56,7 @@
5756
useToken="true"
5857
responseId="servicerequestfromserver"/>
5958

60-
<nts:contentAsserts href="resources/servicerequest-hg-VerwijzingHuisartsParamedicusMaximaalbericht.xml"
61-
description="contains .category.coding.code = '1'" discriminator="category.where(coding.where(code = '1'))" nts:in-targets="CheckContent"/>
59+
<nts:contentAsserts href="resources/servicerequest-hg-VerwijzingHuisartsParamedicusMaximaalbericht.xml" nts:in-targets="CheckContent"/>
6260
</test>
6361

6462
<test id="03-serve-Composition">

src/ELZ-0-2-0-beta/Test/Serving-XIS/elz-serving-xis-scenario-2-minimal.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@
4444
useToken="true"
4545
responseId="taskfromserver"/>
4646

47-
<nts:contentAsserts href="resources/task-hg-VerwijzingHuisartsParamedicusMinimaalbericht.xml"
48-
description="contains .code.coding.code = '3457005'" discriminator="code.where(coding.where(code = '3457005'))" nts:in-targets="CheckContent"/>
47+
<nts:contentAsserts href="resources/task-hg-VerwijzingHuisartsParamedicusMinimaalbericht.xml" nts:in-targets="CheckContent"/>
4948

5049
</test>
5150

@@ -58,8 +57,7 @@
5857
useToken="true"
5958
responseId="servicerequestfromserver"/>
6059

61-
<nts:contentAsserts href="resources/servicerequest-hg-VerwijzingHuisartsParamedicusMinimaalbericht.xml"
62-
description="contains .category.coding.code = '1'" discriminator="category.where(coding.where(code = '1'))" nts:in-targets="CheckContent"/>
60+
<nts:contentAsserts href="resources/servicerequest-hg-VerwijzingHuisartsParamedicusMinimaalbericht.xml" nts:in-targets="CheckContent"/>
6361

6462
</test>
6563

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,2 @@
1-
#@setlocal enableextensions
2-
#@echo off
3-
JAVA_HOME=`/usr/libexec/java_home -v 1.8`
4-
#PWD=`dirname $0`
5-
6-
#echo "Removing ..."
7-
#rm -f "$PWD/_reference/resources/*.xml"
8-
#SOURCEDIR=`readlink -f "$PWD/../../../../HL7-mappings/ada_2_fhir/bgz_msz/1.2/beschikbaarstellen/fhir_instance/"`
9-
#echo "Copying from $SOURCEDIR"
10-
#echo " to $PWD/_reference/resources/"
11-
#cp "$SOURCEDIR/*.xml" "$PWD/_reference/resources/"
12-
13-
ant -f $PWD/../../build-single.xml -propertyfile $PWD/build.properties $*
1+
#!/bin/bash
2+
ant -f ../../build-single.xml -propertyfile build.properties $*

0 commit comments

Comments
 (0)