Release new version

This commit is contained in:
Grahame Grieve 2019-09-20 04:42:19 +10:00
parent 995a1aeec8
commit e9f3a143ed
12 changed files with 20 additions and 15 deletions

View File

@ -5,7 +5,7 @@
<parent>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>org.hl7.fhir.core</artifactId>
<version>4.0.19-SNAPSHOT</version>
<version>4.0.20-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -5,7 +5,7 @@
<parent>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>org.hl7.fhir.core</artifactId>
<version>4.0.19-SNAPSHOT</version>
<version>4.0.20-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -5,7 +5,7 @@
<parent>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>org.hl7.fhir.core</artifactId>
<version>4.0.19-SNAPSHOT</version>
<version>4.0.20-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -5,7 +5,7 @@
<parent>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>org.hl7.fhir.core</artifactId>
<version>4.0.19-SNAPSHOT</version>
<version>4.0.20-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -5,7 +5,7 @@
<parent>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>org.hl7.fhir.core</artifactId>
<version>4.0.19-SNAPSHOT</version>
<version>4.0.20-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -5,7 +5,7 @@
<parent>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>org.hl7.fhir.core</artifactId>
<version>4.0.19-SNAPSHOT</version>
<version>4.0.20-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -477,7 +477,7 @@ public class ProfileUtilities extends TranslatingUtilities {
((Base) e.getUserData("diff-source")).setUserData(DERIVATION_POINTER, e.getUserData(DERIVATION_POINTER));
}
if (!e.hasUserData(GENERATED_IN_SNAPSHOT)) {
System.out.println("Error in snapshot generation: Differential for "+derived.getUrl()+" with " + (e.hasId() ? "id: "+e.getId() : "path: "+e.getPath())+" has an element that is not marked with a snapshot match");
System.out.println("Error in snapshot generation: Differential for "+derived.getUrl()+" has an element " + (e.hasId() ? "id: "+e.getId() : "path: "+e.getPath())+" that is not marked with a snapshot match - check validity of differential (including order)");
if (exception)
throw new DefinitionException("Snapshot for "+derived.getUrl()+" does not contain an element that matches an existing differential element that has "+(e.hasId() ? "id: "+e.getId() : "path: "+e.getPath()));
else
@ -658,7 +658,7 @@ public class ProfileUtilities extends TranslatingUtilities {
if (!sd.hasSnapshot()) {
StructureDefinition sdb = context.fetchResource(StructureDefinition.class, sd.getBaseDefinition());
if (sdb == null)
throw new DefinitionException("no base for "+sd.getBaseDefinition());
throw new DefinitionException("Unable to find base "+sd.getBaseDefinition()+" for "+sd.getUrl());
generateSnapshot(sdb, sd, sd.getUrl(), (sdb.hasUserData("path")) ? Utilities.extractBaseUrl(sdb.getUserString("path")) : webUrl, sd.getName());
}
ElementDefinition src;
@ -4101,7 +4101,7 @@ public class ProfileUtilities extends TranslatingUtilities {
b.append(".");
String s = paths.get(i);
String p = slices[i];
b.append(s);
b.append(fixChars(s));
if (p != null) {
b.append(":");
b.append(p);
@ -4129,6 +4129,11 @@ public class ProfileUtilities extends TranslatingUtilities {
}
private Object fixChars(String s) {
return s.replace("_", "-");
}
// private String describeExtension(ElementDefinition ed) {
// if (!ed.hasType() || !ed.getTypeFirstRep().hasProfile())
// return "";

View File

@ -5,7 +5,7 @@
<parent>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>org.hl7.fhir.core</artifactId>
<version>4.0.19-SNAPSHOT</version>
<version>4.0.20-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -5,7 +5,7 @@
<parent>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>org.hl7.fhir.core</artifactId>
<version>4.0.19-SNAPSHOT</version>
<version>4.0.20-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -5,7 +5,7 @@
<parent>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>org.hl7.fhir.core</artifactId>
<version>4.0.19-SNAPSHOT</version>
<version>4.0.20-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -13,7 +13,7 @@
each other. It is fine to bump the point version of this POM without affecting
HAPI FHIR.
-->
<version>4.0.19-SNAPSHOT</version>
<version>4.0.20-SNAPSHOT</version>
<properties>
<hapi_fhir_version>4.0.0</hapi_fhir_version>

View File

@ -1,7 +1,7 @@
@echo off
set oldver=4.0.18
set newver=4.0.19
set oldver=4.0.19
set newver=4.0.20
echo ..
echo =====================================================================