Skip to content

Commit 17e2373

Browse files
committed
remove duplicate content asserts and move content asserts.
1 parent aa877fb commit 17e2373

File tree

2 files changed

+7
-28
lines changed

2 files changed

+7
-28
lines changed

src/Geboortezorg-3-2/Dev/XIS-Server/gbz-fhir3-0-2-izk-xis-2-2.xml

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -301,13 +301,6 @@
301301
<nts:with-parameter name="code" value="698350008"/>
302302
<nts:with-parameter name="system" value="http://snomed.info/sct"/>
303303
</nts:include>
304-
<nts:include value="gbz-assert-returnCountWithCode">
305-
<nts:with-parameter name="additionalDescription" value="(alcohol use)"/>
306-
<nts:with-parameter name="resource" value="Observation"/>
307-
<nts:with-parameter name="count" value="1"/>
308-
<nts:with-parameter name="code" value="228273003"/>
309-
<nts:with-parameter name="system" value="http://snomed.info/sct"/>
310-
</nts:include>
311304
<nts:include value="gbz-assert-returnCountWithCode">
312305
<nts:with-parameter name="additionalDescription" value="(Apgar Score 10-minuten)"/>
313306
<nts:with-parameter name="resource" value="Observation"/>
@@ -385,13 +378,6 @@
385378
<nts:with-parameter name="code" value="11977-6"/>
386379
<nts:with-parameter name="system" value="http://loinc.org"/>
387380
</nts:include>
388-
<nts:include value="gbz-assert-returnCountWithCode">
389-
<nts:with-parameter name="additionalDescription" value="(tobacco use)"/>
390-
<nts:with-parameter name="resource" value="Observation"/>
391-
<nts:with-parameter name="count" value="1"/>
392-
<nts:with-parameter name="code" value="365980008"/>
393-
<nts:with-parameter name="system" value="http://snomed.info/sct"/>
394-
</nts:include>
395381
<nts:contentAsserts href="Kraam-Casus2/medmij-gbz-bc-AbilityToTakeCareOfChild129879003-8b35ed8a-8d86-4b2d-ab59-f54d7d73c3d3.xml" nts:in-targets="CheckContent">
396382
<nts:discriminator>code.where(coding.where(code=129879003))</nts:discriminator>
397383
</nts:contentAsserts>
@@ -437,9 +423,6 @@
437423
<nts:contentAsserts href="Kraam-Casus2/medmij-gbz-bc-MaternalObservation169740003-8469601b-1169-4a16-aa6f-aef7a9a46fda.xml" nts:in-targets="CheckContent">
438424
<nts:discriminator>code.where(coding.where(code=169740003))</nts:discriminator>
439425
</nts:contentAsserts>
440-
<nts:contentAsserts href="Kraam-Casus2/medmij-gbz-zib-AlcoholUse228273003-48c8a133-ec39-4907-ba76-b1c5eb98bd95.xml" nts:in-targets="CheckContent">
441-
<nts:discriminator>code.where(coding.where(code=228273003))</nts:discriminator>
442-
</nts:contentAsserts>
443426
<nts:contentAsserts href="Kraam-Casus2/medmij-gbz-zib-ApgarScore9271-8-2b619c6c-ef73-414c-bff7-8dfec68908d3.xml" nts:in-targets="CheckContent">
444427
<nts:discriminator>code.where(coding.where(code='9271-8'))</nts:discriminator>
445428
</nts:contentAsserts>
@@ -468,9 +451,6 @@
468451
<nts:contentAsserts href="Kraam-Casus2/medmij-gbz-bc-DeliveryObservation364332008-b9be3a20-85a8-4c2a-8b10-a0f7c16712b3.xml" nts:in-targets="CheckContent">
469452
<nts:discriminator>code.where(coding.where(code=364332008))</nts:discriminator>
470453
</nts:contentAsserts>
471-
<nts:contentAsserts href="Kraam-Casus2/medmij-gbz-zib-TobaccoUse365980008-003653d0-140a-45ab-8c14-d5e11be28bf3.xml" nts:in-targets="CheckContent">
472-
<nts:discriminator>code.where(coding.where(code=365980008))</nts:discriminator>
473-
</nts:contentAsserts>
474454
</test>
475455

476456
<!-- Observations - Observaties gekoppeld aan prenatale controle -->
@@ -485,14 +465,17 @@
485465
<nts:with-parameter name="resource" value="Observation"/>
486466
<nts:with-parameter name="count" value="2"/>
487467
</nts:include>
488-
<!-- alcoholgebruik -->
468+
<!-- alcoholgebruik -->
489469
<nts:include value="gbz-assert-returnCountWithCode" nts:in-targets="#default">
490470
<nts:with-parameter name="additionalDescription" value="(alcohol use)"></nts:with-parameter>
491471
<nts:with-parameter name="resource" value="Observation"></nts:with-parameter>
492472
<nts:with-parameter name="count" value="1"></nts:with-parameter>
493473
<nts:with-parameter name="code" value="228273003"></nts:with-parameter>
494474
<nts:with-parameter name="system" value="http://snomed.info/sct"></nts:with-parameter>
495475
</nts:include>
476+
<nts:contentAsserts href="Kraam-Casus2/medmij-gbz-zib-AlcoholUse228273003-48c8a133-ec39-4907-ba76-b1c5eb98bd95.xml" nts:in-targets="CheckContent">
477+
<nts:discriminator>code.where(coding.where(code=228273003))</nts:discriminator>
478+
</nts:contentAsserts>
496479
<!-- tabakgebruik -->
497480
<nts:include value="gbz-assert-returnCountWithCode" nts:in-targets="#default">
498481
<nts:with-parameter name="additionalDescription" value="(tobacco use)"></nts:with-parameter>
@@ -501,6 +484,9 @@
501484
<nts:with-parameter name="code" value="365980008"></nts:with-parameter>
502485
<nts:with-parameter name="system" value="http://snomed.info/sct"></nts:with-parameter>
503486
</nts:include>
487+
<nts:contentAsserts href="Kraam-Casus2/medmij-gbz-zib-TobaccoUse365980008-003653d0-140a-45ab-8c14-d5e11be28bf3.xml" nts:in-targets="CheckContent">
488+
<nts:discriminator>code.where(coding.where(code=365980008))</nts:discriminator>
489+
</nts:contentAsserts>
504490
</test>
505491

506492
<!-- Alle verrichtingen -->

src/Geboortezorg-3-2/Dev/XIS-Server/gbz-fhir3-0-2-izk-xis-4-1.xml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -522,13 +522,6 @@
522522
<nts:with-parameter name="system" value="http://loinc.org"/>
523523
</nts:include>
524524
<!-- bloeddruk -->
525-
<nts:include value="gbz-assert-returnCountWithCode">
526-
<nts:with-parameter name="additionalDescription" value="(lichaamslengte)"/>
527-
<nts:with-parameter name="resource" value="Observation"/>
528-
<nts:with-parameter name="count" value="1"/>
529-
<nts:with-parameter name="code" value="8302-2"/>
530-
<nts:with-parameter name="system" value="http://loinc.org"/>
531-
</nts:include>
532525
<nts:include value="gbz-assert-returnCountWithCode">
533526
<nts:with-parameter name="additionalDescription" value="(bloeddruk)"/>
534527
<nts:with-parameter name="resource" value="Observation"/>

0 commit comments

Comments
 (0)