fix version problem + turn off logging

This commit is contained in:
Grahame Grieve 2019-11-11 06:29:24 +11:00
parent 1d193e7c87
commit 7ed95eb976
3 changed files with 3 additions and 3 deletions

View File

@ -10290,7 +10290,7 @@ The primary difference between a medicationusage and a medicationadministration
} }
public static boolean isR4Plus(String version) { public static boolean isR4Plus(String version) {
return version != null && (version.startsWith("4.") || version.startsWith("5.")); return version != null && (version.startsWith("4.") || version.startsWith("5.") || "current".equals(version));
} }
public static boolean isValidCode(String codeString) { public static boolean isValidCode(String codeString) {

View File

@ -465,7 +465,7 @@ public class SnapShotGenerationTests {
ProfileUtilities pu = new ProfileUtilities(TestingUtilities.context(), messages , new TestPKP()); ProfileUtilities pu = new ProfileUtilities(TestingUtilities.context(), messages , new TestPKP());
pu.setNewSlicingProcessing(true); pu.setNewSlicingProcessing(true);
pu.setThrowException(true); pu.setThrowException(true);
pu.setDebug(true); //pu.setDebug(true);
pu.setIds(test.getSource(), false); pu.setIds(test.getSource(), false);
if (test.isSort()) { if (test.isSort()) {
List<String> errors = new ArrayList<String>(); List<String> errors = new ArrayList<String>();

View File

@ -17,7 +17,7 @@
<properties> <properties>
<hapi_fhir_version>4.1.0-SNAPSHOT</hapi_fhir_version> <hapi_fhir_version>4.1.0-SNAPSHOT</hapi_fhir_version>
<validator_test_case_version>1.0.4-SNAPSHOT</validator_test_case_version> <validator_test_case_version>1.0.5-SNAPSHOT</validator_test_case_version>
</properties> </properties>
<artifactId>org.hl7.fhir.core</artifactId> <artifactId>org.hl7.fhir.core</artifactId>