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) {
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) {

View File

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

View File

@ -17,7 +17,7 @@
<properties>
<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>
<artifactId>org.hl7.fhir.core</artifactId>