workaround problem laoding R3 package
This commit is contained in:
parent
2472a75212
commit
e6d804dcc1
|
@ -222,8 +222,13 @@ public abstract class BaseWorkerContext implements IWorkerContext {
|
|||
if (r instanceof MetadataResource) {
|
||||
MetadataResource m = (MetadataResource) r;
|
||||
String url = m.getUrl();
|
||||
if (!allowLoadingDuplicates && hasResource(r.getClass(), url))
|
||||
if (!allowLoadingDuplicates && hasResource(r.getClass(), url)) {
|
||||
// spcial workaround for known problems with existing packages
|
||||
if (Utilities.existsInList(url, "http://hl7.org/fhir/SearchParameter/example")) {
|
||||
return;
|
||||
}
|
||||
throw new DefinitionException("Duplicate Resource " + url);
|
||||
}
|
||||
if (r instanceof StructureDefinition)
|
||||
structures.see((StructureDefinition) m);
|
||||
else if (r instanceof ValueSet)
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -17,7 +17,7 @@
|
|||
|
||||
<properties>
|
||||
<hapi_fhir_version>4.1.0</hapi_fhir_version>
|
||||
<validator_test_case_version>1.0.24-SNAPSHOT</validator_test_case_version>
|
||||
<validator_test_case_version>1.0.25-SNAPSHOT</validator_test_case_version>
|
||||
</properties>
|
||||
|
||||
<artifactId>org.hl7.fhir.core</artifactId>
|
||||
|
|
Loading…
Reference in New Issue