From 1a331838d0d46d2f935cedbf780842330c6617e8 Mon Sep 17 00:00:00 2001 From: James Agnew Date: Mon, 5 Mar 2018 08:36:24 -0500 Subject: [PATCH] Add comment for #870 --- .../SchematronValidationR4QuestionnaireTest.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hapi-fhir-validation/src/test/java/org/hl7/fhir/r4/validation/SchematronValidationR4QuestionnaireTest.java b/hapi-fhir-validation/src/test/java/org/hl7/fhir/r4/validation/SchematronValidationR4QuestionnaireTest.java index af477c764f1..dc25b8338cf 100644 --- a/hapi-fhir-validation/src/test/java/org/hl7/fhir/r4/validation/SchematronValidationR4QuestionnaireTest.java +++ b/hapi-fhir-validation/src/test/java/org/hl7/fhir/r4/validation/SchematronValidationR4QuestionnaireTest.java @@ -24,6 +24,9 @@ import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +/** + * Added for #870 - Can be enabled when the FHIR sources are fixed + */ @Ignore("Requires a valid schematron file, e.g. bei merging pull request #869") public class SchematronValidationR4QuestionnaireTest { private static final Logger ourLog = LoggerFactory.getLogger(SchematronValidationR4QuestionnaireTest.class); @@ -65,7 +68,7 @@ public class SchematronValidationR4QuestionnaireTest { QuestionnaireItemEnableWhenComponent enableWhen = new QuestionnaireItemEnableWhenComponent(); enableWhen.setQuestion("q1"); - enableWhen.setHasAnswer(true); +// enableWhen.setHasAnswer(true); child1.addEnableWhen(enableWhen); QuestionnaireItemComponent child21 = createItem(QuestionnaireItemType.STRING); @@ -89,7 +92,7 @@ public class SchematronValidationR4QuestionnaireTest { QuestionnaireItemEnableWhenComponent enableWhen = new QuestionnaireItemEnableWhenComponent(); enableWhen.setQuestion("q1"); enableWhen.setAnswer(new StringType("a value")); - enableWhen.setHasAnswer(true); +// enableWhen.setHasAnswer(true); child1.addEnableWhen(enableWhen); QuestionnaireItemComponent child21 = createItem(QuestionnaireItemType.STRING);