don't raise needless and wrong exceptions about extension definitions when rendering
This commit is contained in:
parent
ebedced511
commit
2f2c7be2ed
|
@ -1076,11 +1076,6 @@ public class ProfileDrivenRenderer extends ResourceRenderer {
|
|||
PropertyWrapper pe = map.get(p.getName()+"["+url+"]");
|
||||
if (pe == null) {
|
||||
if (ed == null) {
|
||||
if (url != null && url.startsWith("http://hl7.org/fhir") && !url.startsWith("http://hl7.org/fhir/us")) {
|
||||
if (!ProfileUtilities.isSuppressIgnorableExceptions()) {
|
||||
throw new DefinitionException("unknown extension "+url);
|
||||
}
|
||||
}
|
||||
// System.out.println("unknown extension "+url);
|
||||
pe = new PropertyWrapperDirect(this.context, new Property(p.getName()+"["+url+"]", p.getTypeCode(), p.getDefinition(), p.getMinCardinality(), p.getMaxCardinality(), ex), null);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue