Workaround issue where R5 build wrongly adds ele-1 to base
This commit is contained in:
parent
f860af857d
commit
f598ade02c
|
@ -107,6 +107,13 @@ public class R5ToR5Loader extends BaseLoaderR5 {
|
|||
if (patchUrls) {
|
||||
doPatchUrls(r5);
|
||||
}
|
||||
if (r5 instanceof StructureDefinition) {
|
||||
StructureDefinition sd = (StructureDefinition) r5;
|
||||
if ("http://hl7.org/fhir/StructureDefinition/Base".equals(sd.getUrl())) {
|
||||
sd.getSnapshot().getElementFirstRep().getConstraint().clear();
|
||||
|
||||
}
|
||||
}
|
||||
return r5;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue