fix bundle validation error on intneral link checking

This commit is contained in:
Grahame Grieve 2023-11-24 08:52:36 +11:00
parent 3b3ddd28b2
commit 3252fb12b0
1 changed files with 1 additions and 1 deletions

View File

@ -633,7 +633,7 @@ public class BundleValidator extends BaseValidator {
for (EntrySummary e : entryList) {
List<StringWithSource> references = findReferences(e.getEntry());
for (StringWithSource ref : references) {
Element tgt = resolveInBundle(bundle, entries, ref.getReference(), e.getEntry().getChildValue(FULL_URL), e.getResource().fhirType(), e.getResource().getIdBase(), stack, errors, ref.getSource().getPath(), ref.getSource(), ref.isWarning());
Element tgt = resolveInBundle(bundle, entries, ref.getReference(), e.getEntry().getChildValue(FULL_URL), e.getResource().fhirType(), e.getResource().getIdBase(), stack, errors, ref.getSource().getPath(), ref.getSource(), ref.isWarning() || true);
if (tgt != null) {
EntrySummary t = entryForTarget(entryList, tgt);
if (t != null ) {